You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2006/02/03 14:47:01 UTC
DO NOT REPLY [Bug 38493] New: - Rendered attribute does not affect children
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: hermod.opstvedt@dnb.no
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38493] - Rendered attribute does not affect children
Posted by bu...@apache.org.
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
gvanmatre@comcast.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From gvanmatre@comcast.net 2006-02-04 16:23 -------
The Clay component was not checking if the child components were capable of
rendering. This only seemed to affect components that had children that
didn't render their children.
The fix will be in the 20060205 nightly build. Thanks for the help 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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org