Hello All,

I have a Struts app that I am working on and am using DisplayTag to display
my search results. So far everything works fine. Now, I want to add a
checkbox for each row in this Displaytag which I was able to do but unable
to capture the checked values in my Action Class. Please verify the below
code and let me know if you find anything missing.
I am using <html:checkbox> and trying to pass memberId value when it is
checked. But it takes it as literal String value.


<display:table name="sessionScope.searchResults" pagesize="5"
defaultsort="2" defaultorder="descending" export="true"
        
id="memberList">
        <display:column>
                <html:checkbox property="deleteList" value="memberId">
                </html:checkbox>
        </display:column>
        <display:column property="lastName" title="Last Name"
sortable="true" headerClass="sortable"
href="/registration/viewRegistration.do" 
        
paramId="memberName" paramProperty="memberName" />
        <display:column property="firstName" title="First Name"
sortable="true" headerClass="sortable" />
        <display:column property="phone" />
        <display:column property="email"
href="/registration/displayEmail.do" paramId="email" paramProperty="email"/>
        <display:column property="occupation" />
        <display:column property="region" />
        <display:setProperty name="paging.banner.include_first_last"
value="true" />
        <display:setProperty name="paging.banner.placement" value="top" />
                                        
                                                        
</display:table>

Please help

Thanks
Gnan

======================================================================== 
This email message is for the sole use of the intended recipient (s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly, send
an email to [EMAIL PROTECTED] 
Toys "R" Us, Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to