OGNL time sink - combining two variables with ()

2013-02-26 Thread Eric Lentz
I'm approving of Struts 2 and encourage its use, but I have 1 main complaint: OGNL. Here's an example. Context: s:iterator var=reviewer // value is a List of a domain object #reviewer.reviewerStatus // equals R s:set var=isAdmin value=true / When I do this: s:if

Re: OGNL time sink - combining two variables with ()

2013-02-26 Thread Eric Lentz
Got it! s:if test='#reviewer.reviewerStatus == R #isAdmin' Just needed the # on isAdmin. Sigh. On Tue, Feb 26, 2013 at 10:36 AM, Eric Lentz ericle...@outfastsource.comwrote: I'm approving of Struts 2 and encourage its use, but I have 1 main complaint: OGNL. Here's an example. Context:

Re: OGNL time sink - combining two variables with ()

2013-02-26 Thread Lukasz Lenart
2013/2/26 Eric Lentz ericle...@outfastsource.com: So I go to the OGNL website to make sure I'm doing this right and I get a 404 when I try to get the language guide: The requested URL /proper/commons-lang/uage-guide.html was not found on this server. I don't see anything like this