Hello,

   I have a property that is an array of strings. The property will not
be changed by the user. However I need to access it in the JSP in order
to not lose the data upon returning from the JSP.

   Normally I do the following:

  <html:hidden property="day" value="<%=agendaForm.getDay()%>"/>

  I could do the following to keep my array of Strings:

 <html:hidden property="ids[1]" value="<%=agendaForm.getIds(1)%>"/> 

  ..where in the Form I have a get and set that takes an index and
value.

  But this requires me to write a hidden property for the entire size of
the array (in my case it's 24).

   Is there another more elegant way to do this?

   Thanks

   Justin


-- 
Justin F. Knotzke
[EMAIL PROTECTED]
http://www.shampoo.ca

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

Reply via email to