[ 
https://issues.apache.org/jira/browse/TAPESTRY-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485755
 ] 

Andrea Chiumenti commented on TAPESTRY-1379:
--------------------------------------------

I didn't already have the time to test what I'm saying, but I think that 
tapestry.widget.Widget could be added  by the Form .script file when 
clientValidation is enabled in unique way (I think that it's cleaner).

Another thing that I haven't already tested: do we really need to load core.js 
in the standard way ? Isn't it better to call it via dojo.require ?

> Exception when creating widgets on AJAX requests
> ------------------------------------------------
>
>                 Key: TAPESTRY-1379
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1379
>             Project: Tapestry
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 4.1.1, 4.1.2
>         Environment: any
>            Reporter: Andrea Chiumenti
>         Assigned To: Jesse Kuhnert
>             Fix For: 4.1.2
>
>         Attachments: WidgetDemo-1.0.0-SNAPSHOT-src.zip
>
>
> Teh problem is this:
> when you have a page with a form that initially doesn't display any widget 
> and, on form ajax submission you want to display a widget, if you use client 
> side validation you'll get this exception on next submit if a client 
> validation exception is fired:
> ERROR: 14:35:46: Error validating Error : Could not locate widget 
> implementation for "alertdialog" in "tapestry.widget" registered to namespace 
> "tapestry" : http://localhost:8080/app?service=asset&path=%2Fdojo%2Fdojo.js : 
> line 756

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