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 2005/06/03 20:47:26 UTC

DO NOT REPLY [Bug 35212] - [Shale] Clay doesn't process transient components correctly.

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=35212>.
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=35212





------- Additional Comments From manklu@web.de  2005-06-03 20:47 -------
Created an attachment (id=15293)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15293&action=view)
Proposed patch.

The patch contains the following changes:

  - shale-clay-config.xml: addComponent divided in addComponent and
    createComponent. addComponent continues processing even if createComponent
    returns true.
  - ClayContext.java: New attribute 'childIndex' to tell CreateComponentCommand

    where new components should be added to the list.
  - AssignChildrenCommand.java: Manages an index at which
    CreateComponentCommand should add new components.
  - CreateComponentCommand.java
    -- Always set the child property of the context.
    -- Add new components at the specified index.
  - Clay.java:
    -- Removed the lastUniqueId attribute since it's no longer needed.
    -- Always process the component tree.


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