struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdesc...@cmhc-schl.gc.ca
Subject Re: Highly dynamic forms
Date Wed, 08 Jun 2005 16:38:44 GMT
The section I was refering you to is the Hand Cranking the lazy List in 
the Action Form.
This is a small section squeezed in between lazy list information.
This does not require any other class but the ActionForm.
All that is needed is to add code to grow the list and to get the proper 
objects back.

- Glenn




Stéphane Zuckerman <stephane.zuckerman@gmail.com> 
08/06/2005 12:09 PM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
Struts Users Mailing List <user@struts.apache.org>
cc

Subject
Re: Highly dynamic forms






gdeschen@cmhc-schl.gc.ca a écrit :
> http://wiki.apache.org/struts/StrutsCatalogLazyList
> Look at the section: Hand Cranking lazy List in the ActionForm.
> This is possible with the version you are currently using.

Actually, the LazyValidatorForm class only exists since struts 1.2.6, 
that is why I was asking for a solution under Struts 1.2.4.

Moreover, the use I have of LazyList is so small that I don't think that 
upgrading my version of commons-collection just for this one piece of 
code is relevant... I have my own LazyList implementation, which is 
doing what I am expecting of it. When we need a more complete/complex 
use of lazy objects, I'll upgrade. :-)

That doesn't solve my problem, though. I do have radio buttons working 
from a lazy list, something like
[ [value, [radio1,radio2,radio3]], [value, [radio1,radio2]] ]
In the end then, I manage to get the attribute value from a radio input, 
but when I try with checkboxes, I fail to retrieve the String[] 
object... Well, I'll manage, eventually.

-- 
Stéphane Zuckerman

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message