; > > were submitted in the form
> > > > The issue with this is, if I have a pair or triplet of things that
> go
> > > hand
> > > > in hand, then it gets complex.
> > > > e.g.
> > > > name and address where address is optional
> > &
I was able to get around this by supplying another data
> > > structure that tells the code which address belongs to which name
but it
> > > involves JavaScript, and it gets messy quite quickly.
> >
> >
> >
> > struts/OGNL can store mulitple values in a map. You
" phase (submitting the
> > form), will just get the parameters using HttpServletRequest
> > e.g. during show form
> > "/>
> > instead of
> >
>
>
> This is always possible, of course. It means you have to generate
> parameter name
ases
I need to do that.
If you do so, you have to think of how you do validation. You can still
use struts validation when you generate the same parameter names again (in
validate() method) and use tags with the same generated
names.
Regards,
Christoph
>
> OGNL Indexed
OGNL Indexed and Object Indexed Properties
Hi,
I'm wondering why this code is not working. I'm using struts 2.3.16.1 and
ognl 3.0.6.
In my action class I have this
public String[] getFieldArray() {
System.out.println(">> getFieldArray()");
return null;
}
public
5 matches
Mail list logo