Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-1085

netui:attribute not overriding disabled property on textArea and textBox

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2
    • NetUI
    • None

    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="

      {actionForm.myData}" readonly></textarea>

      Expected the following:
      <textarea name="{actionForm.myData}

      " readonly disabled>true</textarea>

      Attachments

        Activity

          People

            kbaker Krista Baker
            chad_s Chad Schoettger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: