On 1/20/06, Rosenstrauch, David <[EMAIL PROTECTED]> wrote:
Been surfing (and googling) the docs for about an hour now, but haven't found the answer to this:

In a typical web app you submit a form and (assuming it validates OK) you save the data and then navigate/forward to a different page.

How does similar functionality work in Wicket?
1) I didn't see any capability to navigate or forward (or how to use <form action="">

in the form's onsubmit or the button's onsubmit you call one of the variants of Page.setResponsePage() method
 

2) I wasn't clear how to get 2 different WebPage objects to access the same piece of state (other than statics/singletons).  IIRC, it's frowned upon for your code to access the Session directly.  How else should one do it then?

not really sure what you mean here. please explain.

-Igor

Reply via email to