Re: Processing a form before page components are created

2008-05-14 Thread Eelco Hillenius
On Wed, May 14, 2008 at 8:24 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > unless, i suppose, if you override getPageParameters, something like this: > >private void getLinkToUserProfile(final RatingModel r) { >return new BookmarkablePageLink("username", > ViewDetails.class)

Re: Processing a form before page components are created

2008-05-14 Thread Eelco Hillenius
On Wed, May 14, 2008 at 8:21 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > What about the situation where one of the components on the Page is a > BookmarkeablePageLink and you need to pass it in some PageParameters? In > this case how do you load the page parameters from the model in a lazy > fash

Re: Processing a form before page components are created

2008-05-14 Thread Joel Halbert
return pp; } }; } -- From: "Joel Halbert" <[EMAIL PROTECTED]> Sent: Wednesday, May 14, 2008 4:21 PM To: Subject: Re: Processing a form before page components are created What about the situation where one of the components on the Page is a Boo

Re: Processing a form before page components are created

2008-05-14 Thread Joel Halbert
e page components are created I take your point, thanks for the pointer. -- From: "Eelco Hillenius" <[EMAIL PROTECTED]> Sent: Wednesday, May 14, 2008 1:31 AM To: Subject: Re: Processing a form before page components are created The reas

Re: Processing a form before page components are created

2008-05-14 Thread Joel Halbert
I take your point, thanks for the pointer. -- From: "Eelco Hillenius" <[EMAIL PROTECTED]> Sent: Wednesday, May 14, 2008 1:31 AM To: Subject: Re: Processing a form before page components are created The reason I want to do this

Re: Processing a form before page components are created

2008-05-13 Thread Eelco Hillenius
> The reason I want to do this is that my pages are stateless, and I want to > process the submitted form before all the components on the page are > initialised, incase I need to load different data models, or redirect the > request to another page, thus saving unnecessary database calls and > co

Processing a form before page components are created

2008-05-13 Thread Joel Halbert
Hi, I was wondering if anyone had any good suggestions or patterns on how to process a form without using Form.onSubmit and model objects? The reason I want to do this is that my pages are stateless, and I want to process the submitted form before all the components on the page are initialis