[ 
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.5)
                   4.1.6

> 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.6
>
>
> 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="[EMAIL PROTECTED]/TestDialog"/>
> </body>
> </html>
> TestDialog.html:
> <html>
> <body jwcid="$content$">
> <div id="myDialog" jwcid="[EMAIL PROTECTED]" 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to