You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <de...@beehive.apache.org> on 2006/03/27 23:08:54 UTC
[jira] Resolved: (BEEHIVE-1085) netui:attribute not overriding
disabled property on textArea and textBox
[ http://issues.apache.org/jira/browse/BEEHIVE-1085?page=all ]
Chad Schoettger resolved BEEHIVE-1085:
--------------------------------------
Fix Version: v.next
Resolution: Fixed
Assign To: Krista Baker (was: Chad Schoettger)
updated tags which extend HtmlFocusBaseTag to set disabled attribute using the setDisabled() call instead of setting in state for netui attribute settings. svn rev 389270
Includes following tags:
CheckBox, CheckBoxOption, ImageButton, RadioButtonOptional, TextArea, TextBox
> netui:attribute not overriding disabled property on textArea and textBox
> ------------------------------------------------------------------------
>
> Key: BEEHIVE-1085
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1085
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: 1.0.1
> Reporter: Chad Schoettger
> Assignee: Krista Baker
> Priority: Minor
> Fix For: v.next
>
> 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="{actionForm.myData}" readonly></textarea>
> Expected the following:
> <textarea name="{actionForm.myData}" readonly disabled>true</textarea>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira