Hi

If your form is submitted through an Ajax request, you can create a
PartialMarkupRendererFilter that you can add in the PageRenderQueue, and
then access to the RenderSupport in the filter to fill your JS code.


2010/6/8 Greg Pagendam-Turner <g...@liftyourgame.com>

> I have a modal jQuery dialog with a LinkSubmit. When the LinkSubmit is
> clicked I would like the dialog to save the changes to the database and then
> close. What do I return from onSuccess to cause the dialog to close? The
> documentation for jQuery Dialog states that the code for closing a dialog is
>
> .dialog("close")
>
> How do I return javascript as a block? Or is there a better way?
>
> Regards,
>
> Greg.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com

Reply via email to