Results 1 to 1 of 1
Thread: question on <html:multibox>?
- 02-13-2010, 07:30 AM #1
Member
- Join Date
- Feb 2010
- Posts
- 10
- Rep Power
- 0
question on <html:multibox>?
I have a JSP where data is shown by use of a for:each loop. In this loop I have a multibox tag which will display checkboxes next to each corresponding row. A user will have the ability to select all or a few or none of the checkboxes and click print.How can I do this?
JSP PAGE LOOK :--
MULTIBOX PERSONNAME INVITATIONLIST
------------- ------------------ ---------------------
PROPERTY:-- [STRINGARRAY] [STRING] [STRINGARRAY]
<table><tr>
<logic:iterate id="message" name="MessageForm" property="nameList">
<td>
<html:multibox name="FORM" property="GETINVITATIONS"> <bean:write name="FORM" property="name" />
<bean:write name="FORM" property="selectedInv" /> <------ how to add String array to 'GETINVITATIONS'?
</html:multibox>
</td>
<td><bean:write name="FORM" property="name" /></td> [NAME]
<td>
<bean:define id="List" name="FORM" property="invLst" type="java.util.ArrayList" />
<html:select style="width:200px;" name="FORM" property="selectedInv" styleId="selectedInv1" multiple="true"> [MULTIPLE INVITATION NAMES]
<html:options name="List"/>
</html:select>
</td>
</logic:iterate>
</tr> </table>
only name is adding to the GETINVITATIONS , selectedInv is not adding to it. only name printing in the console.
how to do it?
plase help me ......
Similar Threads
-
Question mark colon operator question
By orchid in forum Advanced JavaReplies: 9Last Post: 12-19-2010, 08:49 AM -
html
By Srikala in forum Forum LobbyReplies: 1Last Post: 10-07-2008, 09:28 AM -
How can I include a html file in html textarea?
By surya_dks in forum New To JavaReplies: 2Last Post: 10-04-2008, 07:20 AM -
How to check multibox value is null
By tsaswathy in forum Web FrameworksReplies: 1Last Post: 09-30-2008, 06:26 PM -
Html
By tim in forum Forum LobbyReplies: 4Last Post: 07-02-2008, 09:12 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks