Re: Two WebPages one Site
try with rc5/6/snapshot. i think sometihng like this might have been fixed since then. -igor On Thu, Jul 2, 2009 at 9:36 AM, Enes Fazli wrote: > Hi Igor, > > I use Wicket 1.4-rc4. > > Regards, > Enes > > On Thu, Jul 2, 2009 at 5:33 PM, Igor Vaynberg wrote: > >> what version of wicket are you using? >> >> -igor >> >> On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli >> wrote: >> > Hello everybody, >> > >> > I have a requirement where I need to have two or more styles for a >> website. >> > Since layout and content can be different between the two variations I >> went >> > for a two Webpage classes solution. I created base and base2 which are >> both >> > abstract and extend webpage. >> > >> > Each page inherits either from base or base2. The homepage of base is >> > mounted on / while the homepage of base2 is mounted on /base2. This works >> > fine. But oddly all the form submits (stateless forms) on base2 pages do >> not >> > work. It seems that the action url is wrong because I get an 404 not >> found >> > error. >> > >> > Could someone give me a hint to where I have to look to debug this issue. >> > >> > Regards, >> > Enes >> > >> >> - >> 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
Re: Two WebPages one Site
Hi Igor, I use Wicket 1.4-rc4. Regards, Enes On Thu, Jul 2, 2009 at 5:33 PM, Igor Vaynberg wrote: > what version of wicket are you using? > > -igor > > On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli > wrote: > > Hello everybody, > > > > I have a requirement where I need to have two or more styles for a > website. > > Since layout and content can be different between the two variations I > went > > for a two Webpage classes solution. I created base and base2 which are > both > > abstract and extend webpage. > > > > Each page inherits either from base or base2. The homepage of base is > > mounted on / while the homepage of base2 is mounted on /base2. This works > > fine. But oddly all the form submits (stateless forms) on base2 pages do > not > > work. It seems that the action url is wrong because I get an 404 not > found > > error. > > > > Could someone give me a hint to where I have to look to debug this issue. > > > > Regards, > > Enes > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Two WebPages one Site
what version of wicket are you using? -igor On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli wrote: > Hello everybody, > > I have a requirement where I need to have two or more styles for a website. > Since layout and content can be different between the two variations I went > for a two Webpage classes solution. I created base and base2 which are both > abstract and extend webpage. > > Each page inherits either from base or base2. The homepage of base is > mounted on / while the homepage of base2 is mounted on /base2. This works > fine. But oddly all the form submits (stateless forms) on base2 pages do not > work. It seems that the action url is wrong because I get an 404 not found > error. > > Could someone give me a hint to where I have to look to debug this issue. > > Regards, > Enes > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Two WebPages one Site
Hello everybody, I have a requirement where I need to have two or more styles for a website. Since layout and content can be different between the two variations I went for a two Webpage classes solution. I created base and base2 which are both abstract and extend webpage. Each page inherits either from base or base2. The homepage of base is mounted on / while the homepage of base2 is mounted on /base2. This works fine. But oddly all the form submits (stateless forms) on base2 pages do not work. It seems that the action url is wrong because I get an 404 not found error. Could someone give me a hint to where I have to look to debug this issue. Regards, Enes