Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Subject: doublemultiple doesn 't work in doubleselect ?

Subject: doublemultiple doesn 't work in doubleselect ?

2007-10-02       - By Annie Wang

 Back
It seems like the doublemultiple attribute set to true without the multiple
attribute set to true in doubleselect doesn't work.  

If I set both multiple and doublemultiple attributes to true, then I'm able to
select multiple choices on the second select and as well as the first select
but that's not what I want. I want to only allow selecting one from the first
select box and be able to select multiple on the second select box.   If I set
multiple to false and doublemultiple to true, then I am not able to select more
than one on the second select.  Is this a known bug ?  I have tried searching
the Internet for more info but with no luck.

Has any one been successful using doubleselect tag to do this ?   Is there any
other alternative way to do this ?  I'm using the latest struts-2 (See http://uts-2.ora-code.com).0.9 and here
's my jsp:

<s:doubleselect
   label="doubleselect"
   name="menu"
   list="{'fruit','vegetable'}"
   size="2"
   doubleName="dishes"
   doubleList="top == 'fruit' ? {'apple', 'orange', 'banana'} : {'lettuce',
'tomato', 'broccoli'}"  
   doubleMultiple="true"
   doubleSize="3"/>

Thanks in advance for any advice and help!
Annie  
     
-- ---- ---- ---- ---- ---- -----
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

©2008 junlu.com - Jax Systems, LLC, U.S.A.