Meaningless Drivel is fun!
The moose likes JSF and the fly likes Separating <h:selectOneRadio> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Separating <h:selectOneRadio>" Watch "Separating <h:selectOneRadio>" New topic

Separating <h:selectOneRadio>

sorna sundari

Joined: Jun 23, 2010
Posts: 1
Hi All,

My specification comes as follow:

0 Radio1 Label
Text to be displayed under radio1.
0 Radio2 Label
Text to be displayed under Radio2.

Like above my UI should look like. How can i achieve this. [Note: 0 represents radio button]

My current code snippet is:

<h:panelGrid columns="2">
<h:panelGrid columns="1">
value="#{backing_dashboard.Option}" layout="pageDirection">
<a4j:support action="#{backing_dashboard.optionChangeAcion}"
event="onchange" limitToList="true" />
<f:selectItem itemLabel="My Projects" itemValue="1" />
<f:selectItem itemLabel="All Projects" itemValue="2" />
<h:panelGrid columns="1">
<hutputLabel value="This will allow you to view your own projects."/>
<hutputLabel value="This will allow you to view All Projects available in your login."/>

Note: Select Radio component must be single component. could anyone help me?

Thanks in Advance,
Sorna .K

[Thumbnail for Screenshot-1.png]

I agree. Here's the link:
subject: Separating <h:selectOneRadio>
It's not a secret anymore!