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/11 12:49:18 UTC
DO NOT REPLY [Bug 38615] New: - [Shale] Clay clayForEach tag renders content twice
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=38615>.
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=38615
Summary: [Shale] Clay clayForEach tag renders content twice
Product: Struts
Version: Nightly Build
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Shale
AssignedTo: dev@struts.apache.org
ReportedBy: hermod@opstvedt.com
In the nightlys the Clay clayForEach tag renders the content twice.
--
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 38615] - [Shale] Clay clayForEach tag renders content twice
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=38615>.
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=38615
------- Additional Comments From gvanmatre@comcast.net 2006-02-11 16:31 -------
(In reply to comment #0)
> In the nightlys the Clay clayForEach tag renders the content twice.
Please elaborate. Do you mean that you are seeing two of every item in your
backing list. What type of list are you using (List, Map, or Object[])?
The clayForEach component is a runtime usage of the Clay component. The
shapeValidator event, which implements the for each logic, will only be
invoked when the component tree is created.
A post of the page will not invoke the rebuild logic but a refresh on the page
will. Are you sure that your list structure you are binding to the
clayForEach is not holding duplicate items?
--
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 38615] - [Shale] Clay clayForEach tag renders content twice
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=38615>.
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=38615
hermod@opstvedt.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From hermod@opstvedt.com 2006-02-11 17:04 -------
I did a small change in the html and now it is working as expected:
<div class="story">
<h3><span jsfid="newsHeader"/>Story Title</h3>
<p><span jsfid="newsBody"/>Story body</p>
</div>
was changed to
<div class="story">
<h3><span jsfid="newsHeader">Story Title</span></h3>
<p><span jsfid="newsBody">Story body</span></p>
</div>
Beats me. I am using a List, and it did not contain duplicates. The clayForEach
method was called twice before altering this.
--
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