Re: [Wicket-user] on_NOT_submit() method?

2006-04-21 Thread Igor Vaynberg
if you want trully custom form processing then override form.process() and add any steps you want. by default we try to accomodate the 90% use case and leave the door open for the other 10%, i think this falls under that other 10%.
-IgorOn 4/21/06, Frank Silbermann <[EMAIL PROTECTED]> wrote:
Suppose I have a page with two forms.  One form contains components thatall auto-postback immediately.  The other form has components which donot update unless a submit button is pressed.I have some tasks that I want to do only when the submit button is
clicked, but I have some other tasks I want to perform before that,whether or not the submit button is clicked.For the latter operations, into which method should I put them?Alternatively, is there some onSubmitNOT() method I could perform that
would execute at the same point in the sequence that a button'sonSubmit() method would execute -- except it should be executed wheneverthe cause of the post-back was anything OTHER than this button?Or would I have to manually add this behavior to every single
auto-postback component on my page?---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 Geronimohttp://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] on_NOT_submit() method?

2006-04-21 Thread Frank Silbermann
Suppose I have a page with two forms.  One form contains components that
all auto-postback immediately.  The other form has components which do
not update unless a submit button is pressed.

I have some tasks that I want to do only when the submit button is
clicked, but I have some other tasks I want to perform before that,
whether or not the submit button is clicked.

For the latter operations, into which method should I put them?

Alternatively, is there some onSubmitNOT() method I could perform that
would execute at the same point in the sequence that a button's
onSubmit() method would execute -- except it should be executed whenever
the cause of the post-back was anything OTHER than this button?

Or would I have to manually add this behavior to every single
auto-postback component on my page?


---
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=lnk&kid0709&bid&3057&dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user