Hi,

I didn't read all of these, but maybe there are some usefull tips in this
article:
http://www.opensymphony.com/xwork/wikidocs/ExpressionValidator%20Tips.html

Okan Özeren.

On Fri, Apr 29, 2011 at 9:40 PM, Greg Akins <angryg...@gmail.com> wrote:

> Can anyone help me understand how to use OGNL to capture session data in
> this annotation?
>
> I'm trying to use FieldExpressionValidator   The Annotation has this
> [expression = "!birthYearDisplayed || !birthYear.equals('')"]
>
> birthYearDisplayed is on the session and set to true
>
> When I execute the code, the annotation logs "WARN - Got result of null
> when
> trying to get Boolean."
>
> I also tried #session.birthYearDisplayed & #session['birthYearDisplayed']
>
> Struts 2.2.1
> --
> Greg Akins
> http://twitter.com/akinsgre
>

Reply via email to