You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org> on 2007/06/24 15:42:40 UTC

[jira] Updated: (TAPESTRY-1427) Dialog broken when it shares same name as parent component.

     [ https://issues.apache.org/jira/browse/TAPESTRY-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert updated TAPESTRY-1427:
------------------------------------

    Fix Version/s:     (was: 4.1.2)
                   4.1.3

> Dialog broken when it shares same name as parent component.
> -----------------------------------------------------------
>
>                 Key: TAPESTRY-1427
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1427
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 4.1.1
>            Reporter: Joseph Chen
>             Fix For: 4.1.3
>
>
> The Dialog component breaks when it shares the same name as its parent component.  For example:
> TestPage.html
> <html jwcid="@Shell" 
> 	  title="Test"
> 	  browserLogLevel="DEBUG"
> 	  consoleEnabled="true"
> 	  debugEnabled="true" >
> <body jwcid="@Body">
> <div jwcid="myDialog@common/TestDialog"/>
> </body>
> </html>
> TestDialog.html:
> <html>
> <body jwcid="$content$">
> <div id="myDialog" jwcid="myDialog@Dialog" hidden="prop:hidden">
> </body>
> </html>
> When rendering the page, I get a javascript error.  Firebug shows this as:
> FATAL exception raised: createWidget() Node not found with specified id of 'myDialog_0'.
> Changing the name of the dialog or the component fixes the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org