Hi to all.
I'm using
Struts 1.3,
Tomcat 6.0 and Eclipse.
I have a problem with Indexed Properties.
I have a
jsp that should save hidden values and pass it to the linked Action.
I show you my code.
********
JSP PAGE
********
where
- 'listaSport' is a list containing a list of sports. This list is correctly populated by the previous Action through 'select' and 'optionsCollection' tags.
- 'hSportBean' is a LabelValueBean list where I have to save the select options.
***********
ACTION FORM
***********
******
ACTION
******
The problem is that I can't load in Action the hidden values saved in the jsp page.
I tried to print the values received
but I always obtain null values (for all indexes).
So, I don't know how to solve my problem.
I also followed guidelines in:
http://faq.javaranch.com/java/IndexedProperties http://struts.apache.org/1.x/struts-taglib/indexedprops.html http://mail-archives.apache.org/mod_mbox/struts-user/200604.mbox/%3C5B7D2ACE8204B748980CEB2DBFAB90B3972E53@mail.delta-informatique.net%3E but with no success.
Can you help me?
Thanks a lot in advance.