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