|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Two WebPages one SiteHello 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 |
|
|
Re: Two WebPages one Sitewhat version of wicket are you using?
-igor On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli<fazli.enes@...> 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-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Two WebPages one SiteHi Igor,
I use Wicket 1.4-rc4. Regards, Enes On Thu, Jul 2, 2009 at 5:33 PM, Igor Vaynberg <igor.vaynberg@...>wrote: > what version of wicket are you using? > > -igor > > On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli<fazli.enes@...> > 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-unsubscribe@... > For additional commands, e-mail: users-help@... > > |
|
|
Re: Two WebPages one Sitetry 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<fazli.enes@...> wrote: > Hi Igor, > > I use Wicket 1.4-rc4. > > Regards, > Enes > > On Thu, Jul 2, 2009 at 5:33 PM, Igor Vaynberg <igor.vaynberg@...>wrote: > >> what version of wicket are you using? >> >> -igor >> >> On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli<fazli.enes@...> >> 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-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |