jsf - How to set radio button as true bydefault -
i want make radio button bydefault true. sample code given below:
<p:selectoneradio value="#{empcategorybean.dto.is_esi}" disabled="#{empcategorybean.sta}" > <f:selectitem itemlabel="yes" itemvalue="1"/> <f:selectitem itemlabel="no" itemvalue="0"/> </p:selectoneradio>
go following link:-
jsf set default value radio button h:selectoneradio
set value in backing bean desired default value. example if want "1" default:
Comments
Post a Comment