DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38493>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38493

           Summary: Rendered attribute does not affect children
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Shale
        AssignedTo: dev@struts.apache.org
        ReportedBy: [EMAIL PROTECTED]


Hi

I have run into a peculiar problem with fullt html Clay.

Scenario:

<span jsfid="form" rendered="somecriteria>
<table border="0">
   <tr>
      <td rowspan="3">
           <span jsfid="contactTable">
              <table class="contacts">
                  <tr class="contactsHeader">
                     <td>
                         Contacts
                     </td>
                  </tr>
                  <tr class="contactsRow1">
                     <td>
                        <a href="#">ABC Company</a>
                     </td>
                  </tr>   
                  <tr class="contactsRow2">
                     <td>
                        <a href="#">XYZ Company</a>
                     </td>
                  </tr>   
              </table>
           </span>
      </td>
   </tr>
</table>
</span>

If somecriteria is true, a form is rendered with a table inside. However if
somecriteria is false the form is not rendered, but the table is!

I am wondering if this is as intended, or if the rendered attribute somehow gets
"lost" after the form.

Hermod

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to