This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi, How are you Mr. Merrill, hope all is well. Yes, I was talking about html:multibox, I want to maintian a hidden fields for all checked values for the multibox. Because when I come back from the other jsp pages, checked vauels of html:multibox are getting disappear.
Joined: Feb 15, 2005
I'm doing well, thanks.
Regarding your question: You shouldn't need to have a hidden value associated with an <html:multibox> because this tag will redisplay the value if you've coded it properly. The value it displays is associated with the Form bean property you specify in the property attribute of the tag. As long as the property is set, the appropriate boxes will show as checked.
If this isn't working for you, there's probably some type of error in the code. If you'd like help in debugging it, please post the relevant portions of the code.