This content has been marked as final.
Show 2 replies
-
1. Re: Dynamically enable or disable a component
ilya_shaikovsky Apr 1, 2010 8:07 AM (in response to debashis_jboss_forum)define disabled="#{viewBean.isTheComponentDisabled}" at component. And manage via ajax.
-
2. Re: Dynamically enable or disable a component
debashis_jboss_forum Apr 1, 2010 8:58 AM (in response to ilya_shaikovsky)Thanks for your prompt reply. Partial code has been given below. What I need to do is by selecting any of the radio button I need to disable/enable a particular set of dropdowns. Could you please suggest how I can do with ajax?
<h:selectOneRadio id="startServerRadio"
value="#{fileSourceConfigBean.startServerMode}" >
<f:selectItem itemValue="immediate" itemLabel="Start the transfer process immediately"/>
<f:selectItem itemValue="schedule" itemLabel="Schedule transfer"/>
</h:selectOneRadio>~Debashis