You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andrea Chiumenti (JIRA)" <de...@tapestry.apache.org> on 2007/03/21 14:44:32 UTC

[jira] Updated: (TAPESTRY-1379) Exception when creating widgets on AJAX requests

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

Andrea Chiumenti updated TAPESTRY-1379:
---------------------------------------

    Attachment: WidgetDemo-1.0.0-SNAPSHOT-src.zip

This example has two pages one that work and one that doesn't.

Select the broken widget link:
when the page is displayed click on 'click me' link, but do not fill the textbox (needed to test required client validation) click then on save changes. The described exception will be thrown.

Do the same with the Working widget page. It will work because the page has already rendered a widget.

> 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
>         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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org