I am using Struts 2.1.6
if I have model like this:
public class model {
private Boolean testBool;
private boolean testbool;
...
public getters and setters for both follow
...
}
I find that in my corresponding jsp page (assumming that both testbool and
testBool are initialised to true and that private member 'model' is
available through its getter and a setter from within the action class)
<s:if test="%{model.testbool}"/> evaluates to true, while
<s:if test="%{model.testBool}"/> does not
I am highly suspicious that I may be doing something fundamentally wrong as
there is a complete absence of posts out there complaining about not being
able to evaluate Boolean.
Is there something I am missing here?
Any help is appreciated,
Regards,
C
--
View this message in context:
http://www.nabble.com/Newbie-%28possibly-RTFM%29-issue-tp24032216p24032216.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]