Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-26 Thread Johan Compagner

if you click on a statefull link and on the server you don't do a redirect
the browser will show you that url
Or you do again a redirect to a mount, or you use ajax for those statefull
links.

johan


On 2/26/07, Peter Thomas <[EMAIL PROTECTED]> wrote:


Johan - the bookmarkable link in this case is within an email sent to the
user.  It is not a big deal though and everything works fine.  One way to
get things the way I want is to have all other links with that page
stateless and mounted.  Since I do have non-stateless links, I was wondering
if there is any other way.

- peter

On 2/26/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
>
> What do you mean? You click on a link and you don't want to update the
> url thats in the browser?
> Use ajax. Or use pages with versioning disabled
>
> johan
>
>
> On 2/25/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
> >
> > Done: https://issues.apache.org/jira/browse/WICKET-326
> >
> > About my other question about the URL remaining in place when
> > navigating to other pages, do you have any suggestions?  Everything works
> > fine and it is just a minor irritance, but can't help wondering if I am
> > missing some subtle best practice about usage of relative paths...
> >
> > On 2/25/07, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> > >
> > > Would you care opening a JIRA issue for that Peter? Thanks.
> > >
> > > Eelco
> > >
> > >
> > > On 2/25/07, Johan Compagner < [EMAIL PROTECTED]> wrote:
> > > > yeah maybe we should because that those 2 really should be the
> > > same thing
> > > > if not then it doesn't work, so it invites bugs..
> > > >
> > > > johan
> > > >
> > > >
> > > >
> > > > On 2/25/07, Eelco Hillenius < [EMAIL PROTECTED] > wrote:
> > > > >
> > > > > > mount("/item", new
> > > > IndexedParamUrlCodingStrategy("/item",
> > > > > > ItemViewPage.class));
> > > > > >
> > > > > > 1) From looking at the above, the mount path appears to be
> > > redundant.
> > > > Is
> > > > > > there any particular reason
> > > > >
> > > > > Nope, just the way it grew. We fixed that for for Wicket 2.0,
> > > but
> > > > > didn't backport it. Maybe if there is enough interest, we could.
> > >
> > > > >
> > > > > Eelco
> > > > >
> > > > >
> > > >
> > > -
> > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > Join SourceForge.net's Techsay panel and you'll get the chance
> > > to share
> > > > your
> > > > > opinions on IT & business topics through brief surveys-and earn
> > > cash
> > > > >
> > > >
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > ___
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > >
> > > >
> > > >
> > > -
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > > share your
> > > > opinions on IT & business topics through brief surveys-and earn
> > > cash
> > > > 
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > >
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > > >
> > >
> > >
> > > -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > > share your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > >
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> >
> > -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=source

Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Peter Thomas

Johan - the bookmarkable link in this case is within an email sent to the
user.  It is not a big deal though and everything works fine.  One way to
get things the way I want is to have all other links with that page
stateless and mounted.  Since I do have non-stateless links, I was wondering
if there is any other way.

- peter

On 2/26/07, Johan Compagner <[EMAIL PROTECTED]> wrote:


What do you mean? You click on a link and you don't want to update the url
thats in the browser?
Use ajax. Or use pages with versioning disabled

johan


On 2/25/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
>
> Done: https://issues.apache.org/jira/browse/WICKET-326
>
> About my other question about the URL remaining in place when navigating
> to other pages, do you have any suggestions?  Everything works fine and it
> is just a minor irritance, but can't help wondering if I am missing some
> subtle best practice about usage of relative paths...
>
> On 2/25/07, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> >
> > Would you care opening a JIRA issue for that Peter? Thanks.
> >
> > Eelco
> >
> >
> > On 2/25/07, Johan Compagner < [EMAIL PROTECTED]> wrote:
> > > yeah maybe we should because that those 2 really should be the same
> > thing
> > > if not then it doesn't work, so it invites bugs..
> > >
> > > johan
> > >
> > >
> > >
> > > On 2/25/07, Eelco Hillenius < [EMAIL PROTECTED] > wrote:
> > > >
> > > > > mount("/item", new
> > > IndexedParamUrlCodingStrategy("/item",
> > > > > ItemViewPage.class));
> > > > >
> > > > > 1) From looking at the above, the mount path appears to be
> > redundant.
> > > Is
> > > > > there any particular reason
> > > >
> > > > Nope, just the way it grew. We fixed that for for Wicket 2.0, but
> > > > didn't backport it. Maybe if there is enough interest, we could.
> > > >
> > > > Eelco
> > > >
> > > >
> > >
> > -
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share
> > > your
> > > > opinions on IT & business topics through brief surveys-and earn
> > cash
> > > >
> > >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> > >
> > -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > > opinions on IT & business topics through brief surveys-and earn cash
> >
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> >
> > -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=

Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Johan Compagner

What do you mean? You click on a link and you don't want to update the url
thats in the browser?
Use ajax. Or use pages with versioning disabled

johan


On 2/25/07, Peter Thomas <[EMAIL PROTECTED]> wrote:


Done: https://issues.apache.org/jira/browse/WICKET-326

About my other question about the URL remaining in place when navigating
to other pages, do you have any suggestions?  Everything works fine and it
is just a minor irritance, but can't help wondering if I am missing some
subtle best practice about usage of relative paths...

On 2/25/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> Would you care opening a JIRA issue for that Peter? Thanks.
>
> Eelco
>
>
> On 2/25/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > yeah maybe we should because that those 2 really should be the same
> thing
> > if not then it doesn't work, so it invites bugs..
> >
> > johan
> >
> >
> >
> > On 2/25/07, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
> > >
> > > > mount("/item", new
> > IndexedParamUrlCodingStrategy("/item",
> > > > ItemViewPage.class));
> > > >
> > > > 1) From looking at the above, the mount path appears to be
> redundant.
> > Is
> > > > there any particular reason
> > >
> > > Nope, just the way it grew. We fixed that for for Wicket 2.0, but
> > > didn't backport it. Maybe if there is enough interest, we could.
> > >
> > > Eelco
> > >
> > >
> >
> -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > >
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Peter Thomas

Done: https://issues.apache.org/jira/browse/WICKET-326

About my other question about the URL remaining in place when navigating to
other pages, do you have any suggestions?  Everything works fine and it is
just a minor irritance, but can't help wondering if I am missing some subtle
best practice about usage of relative paths...

On 2/25/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


Would you care opening a JIRA issue for that Peter? Thanks.

Eelco


On 2/25/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> yeah maybe we should because that those 2 really should be the same
thing
> if not then it doesn't work, so it invites bugs..
>
> johan
>
>
>
> On 2/25/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> >
> > > mount("/item", new
> IndexedParamUrlCodingStrategy("/item",
> > > ItemViewPage.class));
> > >
> > > 1) From looking at the above, the mount path appears to be
redundant.
> Is
> > > there any particular reason
> >
> > Nope, just the way it grew. We fixed that for for Wicket 2.0, but
> > didn't backport it. Maybe if there is enough interest, we could.
> >
> > Eelco
> >
> >
>
-
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Eelco Hillenius
Would you care opening a JIRA issue for that Peter? Thanks.

Eelco


On 2/25/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> yeah maybe we should because that those 2 really should be the same thing
> if not then it doesn't work, so it invites bugs..
>
> johan
>
>
>
> On 2/25/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> >
> > > mount("/item", new
> IndexedParamUrlCodingStrategy("/item",
> > > ItemViewPage.class));
> > >
> > > 1) From looking at the above, the mount path appears to be redundant.
> Is
> > > there any particular reason
> >
> > Nope, just the way it grew. We fixed that for for Wicket 2.0, but
> > didn't backport it. Maybe if there is enough interest, we could.
> >
> > Eelco
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-25 Thread Johan Compagner

yeah maybe we should because that those 2 really should be the same thing
if not then it doesn't work, so it invites bugs..

johan


On 2/25/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:


> mount("/item", new IndexedParamUrlCodingStrategy("/item",
> ItemViewPage.class));
>
> 1) From looking at the above, the mount path appears to be
redundant.  Is
> there any particular reason

Nope, just the way it grew. We fixed that for for Wicket 2.0, but
didn't backport it. Maybe if there is enough interest, we could.

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-24 Thread Eelco Hillenius
> mount("/item", new IndexedParamUrlCodingStrategy("/item",
> ItemViewPage.class));
>
> 1) From looking at the above, the mount path appears to be redundant.  Is
> there any particular reason

Nope, just the way it grew. We fixed that for for Wicket 2.0, but
didn't backport it. Maybe if there is enough interest, we could.

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-24 Thread Peter Thomas

Hi,

I think the IndexedParamUrlCodingStrategy in Wicket and the way you use it
is really nicely done.

I have set up one as follows:

mount("/item", new IndexedParamUrlCodingStrategy("/item", ItemViewPage.class
));

1) From looking at the above, the mount path appears to be redundant.  Is
there any particular reason, and I would really like to understand the
Wicket API and design better.

2) The bookmarkable link is working fine e.g. /mycontext/app/item/FOO123
But now, when a user navigates away to some "normal" Wicket pages, the URL
persists in the browser address bar and looks like this for e.g.:

/mycontext/app/item/FOO123?wicket:interface=:11:::

Is there any way to switch back to the normal
/mycontext/app/?wicket:interface=:11:::

Thanks,

Peter
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user