You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/08/16 14:40:54 UTC
[jira] Assigned: (TAPESTRY-437) Select component exception when used twice on a page
[ http://issues.apache.org/jira/browse/TAPESTRY-437?page=all ]
Howard M. Lewis Ship reassigned TAPESTRY-437:
---------------------------------------------
Assign To: Howard M. Lewis Ship
> Select component exception when used twice on a page
> ----------------------------------------------------
>
> Key: TAPESTRY-437
> URL: http://issues.apache.org/jira/browse/TAPESTRY-437
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Nick Westgate
> Assignee: Howard M. Lewis Ship
> Priority: Minor
>
> From tapestry users thread "Is there a bug for dual Select components?"
> Exception is "Select components may not be nested."
> Caused by changes to Select in T4.0 omitting "cycle.removeAttribute(ATTRIBUTE_NAME);"
> Suggested fix in Select.java - add the following line (+++)
> protected void cleanupAfterRender(IRequestCycle cycle)
> {
> _rendering = false;
> _selections = null;
> ++++ cycle.removeAttribute(ATTRIBUTE_NAME);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org