Hi, i have this code:
<h:selectOneRadio id="mode" value="#{scheduleSettings2.mode}">
<f:selectItem itemValue="0" itemLabel="day"/>
<f:selectItem itemValue="1"
itemLabel="workweek"/>
<f:selectItem itemValue="2" itemLabel="week" />
<f:selectItem itemValue="3" itemLabel="month" />
</h:selectOneRadio>
<h:commandButton action="#{scheduleSettings2.save}" value="save" />
when i do save just pass the value that is selected in selectItem (0,1,2, or
3)
So what i want its something like having 4 commandButton or 4 commandLink
that each one have the value 0,1,2 and 3, for when a click in each one make
the save and send the respective value.
Its thar possible? how?
Tks
--
View this message in context:
http://www.nabble.com/commandButton-tf4242215.html#a12071201
Sent from the MyFaces - Users mailing list archive at Nabble.com.