[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-user
Subject: RE: Stupid OGNL question
From: "Patrick Casey" <patcasey () adelphia ! net>
Date: 2005-04-29 23:38:07
Message-ID: 20050429233814.JQME4191.mta13.adelphia.net () PCASEY
[Download RAW message or body]
Thanks Danny, worked like a charm.
--- Pat
-----Original Message-----
From: Danny Mandel [mailto:dmandel@tolweb.org]
Sent: Friday, April 29, 2005 4:31 PM
To: Tapestry users
Subject: Re: Stupid OGNL question
My guess is that just declaring an anonymous array types it as Object[].
This seems like it should work:
model="ognl:getSortedLookupModel('core.User', 'id', 'fullName', new
java.lang.String[] {'1', '2', '3'})
Hope that helps,
Danny
Patrick Casey wrote:
> I have a function I wrote that takes a String[] as a parameter.
>
> What's the ognl syntax for a String[] literal?
>
> What I've got now is:
>
> <span jwcid="@PropertySelection"
>model="ognl:getSortedLookupModel('core.User', 'id', 'fullName',
>{'lastName','firstName'})" value="ognl:object.assignedTo"/>
>
> The above doesn't work though unfortunately. Any suggestions?
>
> --- Pat
<snip>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic