You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ted Vinke <tv...@first8.nl> on 2009/12/11 08:47:42 UTC
Getting rid of wicket:pageMapName
Hi!
Haven't got a great deal of experience with Wicket, so following
question may seem dumb. When my site at somedomain.com loads my
HomePage.class (somedomain.com/home) as the default homepage it
immediately redirects to somedomain.com/home/wicket:pageMapName/wicket-1
- where wicket-1 increases to wicket-2, wicket-3 etc. each time when I
manually reload my main site url. Basically it messes up my Google
Analytics conversion strategy because urls aren't exactly as specified.
When I remove the "wicket:pageMapName/wicket-xxx" part it just gets
re-appended; basically after each url on the homepage.
I grasp the concept op tracking pages through a pageMap for the greater
part, but how to avoid this being appended to each url? I'd rather avoid
this for selected pages e.g. the homepage and the links on it. Any hint
to a FAQ or blog entry or guidline as to remove this (default) behaviour
would be appreciated!
Regards, Ted
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Getting rid of wicket:pageMapName
Posted by Igor Vaynberg <ig...@gmail.com>.
turn off auto-mutli-window-support in settings and dont open any links
in non-default pagemap - once you do the pagemap name has to be
carried in the url.
-igor
On Thu, Dec 10, 2009 at 11:47 PM, Ted Vinke <tv...@first8.nl> wrote:
> Hi!
>
> Haven't got a great deal of experience with Wicket, so following question
> may seem dumb. When my site at somedomain.com loads my HomePage.class
> (somedomain.com/home) as the default homepage it immediately redirects to
> somedomain.com/home/wicket:pageMapName/wicket-1 - where wicket-1 increases
> to wicket-2, wicket-3 etc. each time when I manually reload my main site
> url. Basically it messes up my Google Analytics conversion strategy because
> urls aren't exactly as specified. When I remove the
> "wicket:pageMapName/wicket-xxx" part it just gets re-appended; basically
> after each url on the homepage.
>
> I grasp the concept op tracking pages through a pageMap for the greater
> part, but how to avoid this being appended to each url? I'd rather avoid
> this for selected pages e.g. the homepage and the links on it. Any hint to a
> FAQ or blog entry or guidline as to remove this (default) behaviour would be
> appreciated!
>
> Regards, Ted
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org