multiple objects in a list -problem with html:hidden
Joined: Mar 12, 2003
How does one handle multiple objects of the same kind? for eg, I have a list of employees in a page. clicking on one of them takes me to a detail page. I want to set some hidden parameters so that I can populate the next page with the selected employee object's details.
but i can say <html:hidden property="ssn"> inside the logic:iterate tag only. I am getting the html:hidden properties as null in the action class. Is it bcoz there is not a way to distinguish b/w the different objects?
Has anyone come across this problem? Please let me know your comments/suggs.
Aparna Sharma<br />SCJP 1.4 (yippeeee!)
Joined: Dec 19, 2002
Option A is to look at the name attribute of the html:hidden tag.
"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.