for 1.6 - yes, I think. unless we find it useful for something On Fri, Aug 26, 2011 at 6:54 PM, Igor Vaynberg <igor.vaynb...@gmail.com> wrote: > can we remove it then? > > -igor > > On Fri, Aug 26, 2011 at 8:19 AM, Martin Grigorov <mgrigo...@apache.org> wrote: >> actually #isErrorPage() is not used in current 1.5, so WIA is correct >> >> On Fri, Aug 26, 2011 at 6:15 PM, Scott Reed <sr...@avacoda.com> wrote: >>> Thanks, Bruno. I added isErrorPage() just in case. The docs just say "This >>> can help the framework prevent infinite failure loops." That's also not >>> mentioned in Wicket in Action which says "creating an error page is no >>> different than creating a normal page." >>> Scott >>> >>> On 8/26/2011 9:15 AM, Bruno Borges wrote: >>>> >>>> I think you must set your page as error page. >>>> >>>> Make that change and try again. >>>> >>>> *Bruno Borges* >>>> (21) 7672-7099 >>>> *www.brunoborges.com* >>>> >>>> >>>> >>>> On Fri, Aug 26, 2011 at 1:27 AM, Scott Reed<sr...@avacoda.com> wrote: >>>> >>>>> A created my own PageExpiredErrorPage. There is a button that is supposed >>>>> to take the user to the login page so they can log in (similar to the >>>>> button >>>>> on the default page-expired error page). / >>>>> / >>>>> When the user first opens the web site, they see a log in page with URL >>>>> /http://mydomain.com/rems/**wicket/wicket/bookmarkable/** >>>>> >>>>> com.mni.SignInPage?1/<http://mydomain.com/rems/wicket/wicket/bookmarkable/com.mni.SignInPage?1/>. >>>>> <http://192.168.33.20:9002/**rems/wicket/wicket/**bookmarkable/com.mni.** >>>>> >>>>> SignInPage?1<http://192.168.33.20:9002/rems/wicket/wicket/bookmarkable/com.mni.SignInPage?1> >>>>> *Default PageExpiredErrorPage behavior* >>>>> After there is a page timeout and the /default /page-expired error page >>>>> opens, the "Return to home page" button on the default page expired error >>>>> page reports URL / >>>>> http://mydomain.com/rems/**wicket//<http://mydomain.com/rems/wicket//> >>>>> . >>>>> >>>>> When the user selects that button they go to the login page with address >>>>> / >>>>> http://mydomain.com/rems/**wicket/wicket/bookmarkable/** >>>>> >>>>> com.mni.SignInPage?0<http://mydomain.com/rems/wicket/wicket/bookmarkable/com.mni.SignInPage?0> >>>>> /*and it goes to the home page as expected/desired when the user logs >>>>> in.*/ >>>>> >>>>> /*My custom page-expired error page behavior*/ >>>>> /After there is a page timeout and the /custom /page-expired error page >>>>> opens, the "Return to home page" button on the default page expired error >>>>> page reports URL / >>>>> //http://mydomain.com/rems/**wicket//<http://mydomain.com/rems/wicket//> >>>>> >>>>> When the user selects that button they go to the login page with address >>>>> / http://mydomain.com/rems/**wicket/wicket/bookmarkable/** >>>>> >>>>> com.mni.REMSPageExpiredPage#..**/<http://mydomain.com/rems/wicket/wicket/bookmarkable/com.mni.REMSPageExpiredPage#../>.. >>>>> >>>>> /*and it hangs when the user logs in*/./ >>>>> >>>>> *custom page-expired error page HTML >>>>> * >>>>> >>>>> <body> >>>>> <p>The page you requested has expired.</p> >>>>> <p><a wicket:id="homeLink">Return to home page</a></p> >>>>> </body> >>>>> >>>>> * >>>>> Java: >>>>> * >>>>> >>>>> public class MyPageExpiredPage extends WebPage >>>>> { >>>>> public MyPageExpiredPage() >>>>> { >>>>> super(); >>>>> >>>>> // link for home page btn >>>>> // WebPage#homePageLink returns a BookmarkablePageLink >>>>> add( homePageLink("homeLink")); >>>>> } >>>>> } >>>>> >>>>> I would very much appreciate any assistance with this. >>>>> Scott >>>>> >>>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org