the homepage is always mounted on / -igor
On 11/12/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
Johan, i checked all - everything is now behaving as expected. Great Work! One question however is still to me - why cant i mount a page to "/" ? so i could mount a PageDistribution class there which then handles the PageParams logic... or would this get in conflict with the rest of wicket ? if so, would it be possible to have a page responsible for every path behind / but for /wicket/ where the internal could be handled ?? i know this aproach is a bit away from what wicket was made for... Rgards > -----Ursprüngliche Nachricht----- > Von: Korbinian Bachl [mailto:[EMAIL PROTECTED] > Gesendet: Sonntag, 12. November 2006 10:32 > An: [email protected] > Betreff: AW: Severe Bug in Wicket 2 / WICKET-42 > > Really fast :) > > i check it out soon and report, > > Regards > > > -----Ursprüngliche Nachricht----- > > Von: Johan Compagner [mailto:[EMAIL PROTECTED] > > Gesendet: Samstag, 11. November 2006 23:17 > > An: [email protected] > > Betreff: Re: Severe Bug in Wicket 2 / WICKET-42 > > > > should be fixed now. > > > > > > On 11/11/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > > > > > well, it works if it is: > > > a, the first access of the WebApp with no provious > ReDeploy b, the > > > root is accessed then > > > > > > if i redeploy just once, i cant access the root anymore - > > however the > > > direct path always works... > > > if i redeploy it and access the path before, it chains > > > > > > another danger thing is that following works: > > > assume you have IndexedPageParams and index.class mounted > to /Index: > > > > > > if you then access it via /Index/foo/bar/Index/foo2 > > > > > > and print out pageparams.toString you only get 0=foo2 , > meaning he > > > access it at last point, and not at first! > > > This violates JEE security !!! > > > > > > i also noticed that if you use a servlet and > > BookMarkablePageLinks the > > > URLs look like these 127.0.0.1/<servlet>?param=value - and > > mounting > > > using a servlet was not possible at all > > > > > > Best Regards > > > > > > Korbinian > > > > > > > > > > -----Ursprüngliche Nachricht----- > > > > Von: Johan Compagner [mailto:[EMAIL PROTECTED] > > > > Gesendet: Samstag, 11. November 2006 17:30 > > > > An: [email protected] > > > > Betreff: Re: Severe Bug in Wicket 2 / WICKET-42 > > > > > > > > does it always just work if always your first access is > > the root of > > > > your webapp? > > > > So if you redeploy or restart then your first request > > should be the > > > > root of your webapp. > > > > Then afterwards should everything just work. > > > > > > > > This is a bug yes i have to rollback code for this because > > > > getServletPath() can't be depended on in a filter > configuration. > > > > Which we do now. > > > > > > > > johan > > > > > > > > > > > > On 11/11/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi, > > > > > > > > > > I issued a severe BUG > > > > > > > > > > http://issues.apache.org/jira/browse/WICKET-42 > > > > > > > > > > Best Regards, > > > > > > > > > > Korbinian > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
