[Wicket-user] Prompt dialog with form submit in ajax

2007-02-07 Thread Marc-Andre Houle

I wanted to make a prompt dialog that use Ajax.  When you click on the
button, it prompt you for a string and than submit the form so we can use
it.

I search a lot in the source code and I found a way to make that with
AjaxEventBehavior.

I submit my behavior to the list just to have opinion of core developer on :
Is this the correct way of making that kind of stuff
I have absolutely no experience with javascript, so maybe there is a better
way of making this kind of thing.  Thanks to tell me if I just work for
nothing since method XYZ can make the trick easier! :)

Marc


PromptDialogAjaxFormSubmitBehaviour.java
Description: Binary data
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Prompt dialog with form submit in ajax

2007-02-07 Thread Marc-Andre Houle

In fact, I don't care if it is core developper or anybody else, every
opinion is welcome! :)

On 2/7/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:


I wanted to make a prompt dialog that use Ajax.  When you click on the
button, it prompt you for a string and than submit the form so we can use
it.

I search a lot in the source code and I found a way to make that with
AjaxEventBehavior.

I submit my behavior to the list just to have opinion of core developer on
: Is this the correct way of making that kind of stuff
I have absolutely no experience with javascript, so maybe there is a
better way of making this kind of thing.  Thanks to tell me if I just work
for nothing since method XYZ can make the trick easier! :)

Marc


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user