Nested selectOneRadioButtons

UI Components for JSF
Post Reply
wim81
Posts: 8
Joined: 17 Mar 2016, 11:19

01 Apr 2016, 10:15

Hi,

I want to use nested selectOneRadioButton.
So I have a selectOneRadioButton and under the first item I have another selectOneRadioButton nested.

How can I make sure that when the second radioButton is selected, the nested radioButtons are disabled?

Wim
Regards Wim,
ApplicationServer: Websphere Liberty
JSF version 2.2.3
Primefaces 5.2
Maven 3

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

01 Apr 2016, 11:50

Just use javascript/One radio clientside API/Ajax requests to work with parent-child enable/disabled relationship.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

wim81
Posts: 8
Joined: 17 Mar 2016, 11:19

28 Apr 2016, 10:19

sudheer wrote:Just use javascript/One radio clientside API/Ajax requests to work with parent-child enable/disabled relationship.
Hi, thanks for the answer.

Is there a link to more info about this?
I more or less a beginner in JSF and primefaces :)

Wim
Regards Wim,
ApplicationServer: Websphere Liberty
JSF version 2.2.3
Primefaces 5.2
Maven 3

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

28 Apr 2016, 10:56

Just to be sure... do you actually want them nested or just as parent-child relation (http://www.primefaces.org/showcase/ui/a ... down.xhtml)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 40 guests