This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes On selectonemenu change uncheck checkbox? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: On selectonemenu change uncheck checkbox?
 
Similar Threads
ValueChangeListener for double values
problem on saving inputText values
Mutiple ComboBoxes using c:forEach
Clearing h:inputText value
Do I need a backing bean to get the character length of the contents in a text-area?