Meaningless Drivel is fun!*
The moose likes JSF and the fly likes On selectonemenu change uncheck checkbox? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "On selectonemenu change uncheck checkbox?" Watch "On selectonemenu change uncheck checkbox?" New topic
Author

On selectonemenu change uncheck checkbox?

Dan Acuff
Ranch Hand

Joined: Jul 13, 2009
Posts: 62
I have to uncheck a selectBooleanCheckbox lower down in the form IF it is checked.

So I added the showOnWebAjx id to the reRender shown below.



I don't know how to uncheck the box but with the below code I can tell when it is C1 or H1 (2 of the values where we want to uncheck the box, the rest of the time we do nothing)



The a:outputPanel and c:if test are my additions.

What is the proper / correct way to uncheck that box?

Thank you very much for any help.
Dan Acuff
Ranch Hand

Joined: Jul 13, 2009
Posts: 62
I was wondering is this not possible without doing something on the backend?

Help appreciated.

Thanks,
Dan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: On selectonemenu change uncheck checkbox?
 
Similar Threads
problem on saving inputText values
Do I need a backing bean to get the character length of the contents in a text-area?
ValueChangeListener for double values
Clearing h:inputText value
Mutiple ComboBoxes using c:forEach