If your form was in session scope then it should remain checked. It
sounds like it's in request scope.

 

Randy

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Nicolas
Sent: Thursday, February 15, 2007 2:52 AM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] Lost checked checbox once i change page

 

Good morning,

I use <html:multibox ... />

Here is my problem :

I m on the first page, I check one checkbox, I go to the next page, I
come back to the first one, my checkbox is not checked.

I think I can solve it, if I get my checkbox values on my emptyAction
and if I re-load it on the session before displaytag display the next
page.

I guess I m not the first person who have this problem , so how did you
handle it :-) 

Here is my code but I think it will not help you:

------------------------------------------------------------------

<display:table requestURI = "emptyAction.do"
name="sessionScope.keywords1" id="line1" width = "100%" pagesize = "20"
sort = "list" decorator = "displayTagDecorator.KeywordDecorator">

      <display:column>

            <html:multibox property="keyword1ToDelete" value = "<%=
line1_rowNum.toString() %>" />

      </display:column>             

<display:column  property="type" title="Type"   sortable="true" class =
'type'/>    

</display:table>

------------------------------------------------- 

Thanks in advance

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to