You can enable or disable JSF input controls and command buttons with EGL code. A disabled control cannot 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);