I have the following in my xhtml page

  | <h:form>
  |    <h:selectOneRadio value="#{operationAction.selectedControl}">
  |        <s:selectItems value="#{controlActions}" var="control" 
label="#{control.name}">
  |           <p></p><rich:spacer width="24px"/>
  |           <h:outputText value="#{control.description}"></h:outputText>
  |           <p></p>                     
  |        </s:selectItems>
  |     </h:selectOneRadio>
  |     <s:button action="#{operationAction.invokeOperation}" value="Execute"/>
  | </h:form>
  | 
  | 

As you can see in between the opening and closing of the <s:selectItems> tags I 
want some extra text to display for each radio button, beyond the label. But 
this doesn't work. 

Also, when I select one of the radio buttons and cllick the <s:button> it is 
not setting my operationAction.selectedControl to the value of the selected 
radio button.

What can I do to get this functionality to work? Am I in the complete wrong 
direction. I was going to use a richfaces component, but they don't have a 
radio button component.

Thanks

Mark

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049578#4049578

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049578
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to