Description
The netui:attribute setting should override the setting in the netui:textArea tag.
<netui:textArea dataSource="actionForm.myData" readonly="false" disabled="false">
<% pageContext.setAttribute("disabled", new String("true"));
pageContext.setAttribute("readonly", new String("true")); %>
<netui:attribute name="disabled" value="${pageScope.disabled}"/>
<netui:attribute name="readonly" value="${pageScope.readonly}"/>
</netui:textArea>
When the above is run, note that the output is the following:
<textarea name="
Expected the following:
<textarea name="{actionForm.myData}
" readonly disabled>true</textarea>