Re: 5.2 AJAX Forms

2011-07-08 Thread Taha Hafeez
Hi Norman, On Fri, Jul 8, 2011 at 9:37 PM, Norman Franke wrote: > I did, but I apparently used a much more recent version of ModalBox. The > version you are using is very, very old. They changed the "onContentLoaded" > callback to "afterLoad" so the form scripts weren't being called. > > Changed

Re: 5.2 AJAX Forms

2011-07-08 Thread Norman Franke
I did, but I apparently used a much more recent version of ModalBox. The version you are using is very, very old. They changed the "onContentLoaded" callback to "afterLoad" so the form scripts weren't being called. However, there are several other issues with the code you mentioned. 1. For

Re: 5.2 AJAX Forms

2011-07-07 Thread Taha Hafeez
Hi Have you tried the modaldialog at https://github.com/tawus/tawus/tree/master/tawus-addons Here is an example public class ModalDialogWithForm { @Property @Persist(PersistenceConstants.FLASH) private String name; @Property @Persist(PersistenceConstants.FLASH) private String

5.2 AJAX Forms

2011-07-07 Thread Norman Franke
I'm attempting to display a ModalBox dialog with a form in it and submit that form via AJAX. I've tried a few components people have posted to the list. The display of the form works great, but Tapestry refuses to make it submit via AJAX. I want to do this so I can display validation errors