Téléphone Ben : 06 14 07 53 63 Le mer 2/07/08 16:56, Erik van Oosten [EMAIL PROTECTED] a écrit: > > Yes, I am pretty sure I did this about a month ago. > > The funny thing is that we did it this way because this way flash > (component error messages) are preserved. We wanted to show a succes > message on the page we forwarded to. > > ... looking up the code now... > > Yep, correct. Though we did not call setRedirect(true) as the code runs > from a Form#onSubmit callback which always redirects anyway. > > Regards, > Erik. > > > Igor Vaynberg wrote: > > have you tried this eric? setting a page instance > does not produce a > bookmarkable url, you would have to > > setresponsepage(itemlistpage.class) > > > > -igor > > > > On Wed, Jul 2, 2008 at 6:41 AM, Erik van Oosten > <e.vanoos > [EMAIL PROTECTED]> wrote: > > >> No, not true. > >> > >> You /can/ do setResponsePage(new > ItemListPage(...)), /and/ make it >> bookmarkable. The trick is to call > setRedirect(true) together with the call >> to setResponsePage. Furthermore you need to > mount ItemListPage in your >> application#init method (see method > Application#mount()). >> > >> Regards, > >> Erik. > >> > >> > >> David Leangen wrote: > >> > >>> On Tue, 2008-07-01 at 02:50 -0700, Mathias > P.W Nilsson wrote: >>> > >>> > >>>> In my itemList class I set the response > page like this. >>>> setResponsePage( new ItemPage( > parameters, ItemListPage.this ) ); >>>> > >>>> Now the ItemListPage.this is for back > travelling and to get the >>>> background > >>>> from the list class. Is it possible to > make the itemPage bookmarkable? >>>> > >>>> > >>> Sure, but you can no longer construct the > object yourself. You'll need >>> to do this instead: > >>> > >>> setResponsePage( ItemListPage.class, > parameters ); >>> > >>> > >>> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: > [EMAIL PROTECTED] > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]