beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <...@beehive.apache.org>
Subject [jira] Created: (BEEHIVE-1085) netui:attribute not overriding disabled property on textArea and textBox
Date Mon, 27 Mar 2006 19:17:22 GMT
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
 Assigned to: Chad Schoettger 
    Priority: Minor


 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


Mime
View raw message