Eriksson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 11:55 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] OGNL list question again
Ok, thanks for the help.
I didn't know about the "always use String[] in parameter map" thing.
The number of input fields are dyn
11:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] OGNL list question again
>
>
> Ok, thanks for the help.
> I didn't know about the "always use String[] in parameter map" thing.
>
> The number of input fields are dynamic in my view, and
> there
od which would use
XWorks type conversion to use the first String in the array.
John.
- Original Message -
From: "Jonas Eriksson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 9:13 PM
Subject: [OS-webwork] OGNL list question again
in the array.
John.
- Original Message -
From: "Jonas Eriksson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 9:13 PM
Subject: [OS-webwork] OGNL list question again
> Hi!
>
> I can not understand why I get arrays
Hi!
I can not understand why I get arrays (instead of Strings) when OGNL
populates my list in my action!
In action:
// Use OgnlList so we don't get out of bounds
private List theList = new OgnlList(String.class)
public List getList() {
return theList;
}
In view:
and so on...
Then in