Hello, I have got the code below in which Disabling of a Text Field is done in jsp:
Code:
<logic:equal name="Test" property="Info.listBoxPopulated" scope="request" value="true">
<html:text name="Test" maxlength="3" size="3" property="Info.textBox" styleId="TxBox" disabled="true" />
</logic:equal>
<logic:notEqual name="Test" property="Info.listBoxPopulated" scope="request" value="true">
<html:text name="Test" maxlength="3" size="3" property="Info.textBox" styleId="TxBox" disabled="false" />
</logic:notEqual>
Bookmarks