On Jan 18, 2008 1:40 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> --- Chris Pratt <[EMAIL PROTECTED]> wrote:
> > Is there an OGNL Equivalent to the JSP EL Function?
> >
> > I'd like to be able to do something like:
> >
> > <s:textfield name="year" value="%{v:year(user.birthDate)}"/>
> >
> > but it doesn't seem to work.  Thanks.
>
> Do you mean calling static functions? If so, that's easy.
>
> http://struts.apache.org/2.x/docs/ognl-basics.html
>
> If not, I'm not sure what you mean.
>

Wow, that's some ugly syntax, but it should work.  Thanks.
  (*Chris*)

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

Reply via email to