You can enable or disable JSF input fields and command buttons with EGL code. A disabled component can not be edited or changed on the Web page.
import com.ibm.egl.jsf.*
text1 HtmlInputText; text1 = myViewRoot.findComponent("form1:text1");
text1.setDisabled(no);
text1.setDisabled(yes);
Related concepts
JSF component tree
viewRootVar property
Related tasks
Adding JSF component interface support to an EGL Web project
Accessing a JSF component from a pageHandler
Changing the style class of a JSF component
Changing the style of a JSF component
Changing the target of a JSF link
Setting the size of a JSF image
Setting event handlers for a JSF component
Setting JSF data table properties
Related reference
Component tree access parts