Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JSF - checkBox - boolean negation within JSP

843844Oct 22 2009 — edited Oct 22 2009
As the subject say:

within the JSF-View I got one booleanCheckbox like this:
<h:selectBooleanCheckbox  value="#{backBean.valid}" />
I got some other checkboxes that are disabled on weather the first checkbox is active or not.
Because "#backBean.valid" looks like a expression, I tried out with a standard statement *( ! )* to negate the expression:
#!{backBean.valid}
And it doesnt work. I don't like to put some Java-Code <% .... %> within the JSP, because this says to me, that JSF is not very
helpful.

Any better ideas ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2009
Added on Oct 22 2009
5 comments
698 views