Re: Pretty DataView urls

2008-03-19 Thread Matej Knopp
Because that's the purpose of hybridurlcodingstrategy. To maintain
bookmarkability during entire page lifecycle.

-Matej

On Wed, Mar 19, 2008 at 6:52 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> I'm already mounting the page that the DataView is on.  Everything but the
>  first page still gets that interface listener url.  Why would
>  HybridUrlCodingStrategy make it any different?
>
>
>  -Original Message-
>  From: Matej Knopp [mailto:[EMAIL PROTECTED]
>  Sent: Monday, March 17, 2008 11:12 AM
>  To: users@wicket.apache.org
>  Subject: Re: Pretty DataView urls
>
>
>
> You can mount your page using HybridUrlCodingStrateg. The resulting
>  url won't carry the currently selected page information, but it will
>  be much nicer than a interface listener url you are having now.
>
>  -Matej
>
>  On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
>  > Hello,
>  >
>  >
>  >
>  >  Is it possible to have pretty dataview urls when someone clicks on
>  different
>  >  pages of the navigator?  Right now it says stuff like ::interface.7.1 or
>  >  something.  I'd prefer it to say something like /home?page=7
>  >
>  >
>
>
>
>  --
>  Resizable and reorderable grid components.
>  http://www.inmethod.com
>
>
>
> -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Resizable and reorderable grid components.
http://www.inmethod.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Pretty DataView urls

2008-03-19 Thread Dan Kaplan
I'm already mounting the page that the DataView is on.  Everything but the
first page still gets that interface listener url.  Why would
HybridUrlCodingStrategy make it any different?

-Original Message-
From: Matej Knopp [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 17, 2008 11:12 AM
To: users@wicket.apache.org
Subject: Re: Pretty DataView urls

You can mount your page using HybridUrlCodingStrateg. The resulting
url won't carry the currently selected page information, but it will
be much nicer than a interface listener url you are having now.

-Matej

On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
>  Is it possible to have pretty dataview urls when someone clicks on
different
>  pages of the navigator?  Right now it says stuff like ::interface.7.1 or
>  something.  I'd prefer it to say something like /home?page=7
>
>



-- 
Resizable and reorderable grid components.
http://www.inmethod.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Pretty DataView urls

2008-03-19 Thread Dan Kaplan
I'd prefer not to because I like the advantage being able to bookmark page 5
gives you.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of James Carman
Sent: Monday, March 17, 2008 11:13 AM
To: users@wicket.apache.org
Subject: Re: Pretty DataView urls

Can you use the Ajax version?

On 3/17/08, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
>  Is it possible to have pretty dataview urls when someone clicks on
different
>  pages of the navigator?  Right now it says stuff like ::interface.7.1 or
>  something.  I'd prefer it to say something like /home?page=7
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Pretty DataView urls

2008-03-17 Thread Gerolf Seitz
yes, unfortunately, one would have to live with that.
should've mentioned that ;)

On Mon, Mar 17, 2008 at 7:30 PM, Matej Knopp <[EMAIL PROTECTED]> wrote:

> Creating new page version every time...
>
> -Matej
>
> On Mon, Mar 17, 2008 at 7:17 PM, Gerolf Seitz <[EMAIL PROTECTED]>
> wrote:
> > the following works for me:
> >
> >  // in your callback method
> >  PageParameters params = new PageParameters();
> >  params.put("page", getPageNumber());
> >  setResponsePage(MyPage.class, params);
> >  setRedirect(true);
> >
> >  where MyPage.class would typically be the same page the component is
> on.
> >  to make it more "generic", you could use getPage().getClass().
> >
> >   Gerolf
> >
> >
> >
> >  On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan <[EMAIL PROTECTED]>
> wrote:
> >
> >  > Hello,
> >  >
> >  >
> >  >
> >  > Is it possible to have pretty dataview urls when someone clicks on
> >  > different
> >  > pages of the navigator?  Right now it says stuff like ::interface.7.1or
> >  > something.  I'd prefer it to say something like /home?page=7
> >  >
> >  >
> >
>
>
>
> --
> Resizable and reorderable grid components.
> http://www.inmethod.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Pretty DataView urls

2008-03-17 Thread Matej Knopp
Creating new page version every time...

-Matej

On Mon, Mar 17, 2008 at 7:17 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> the following works for me:
>
>  // in your callback method
>  PageParameters params = new PageParameters();
>  params.put("page", getPageNumber());
>  setResponsePage(MyPage.class, params);
>  setRedirect(true);
>
>  where MyPage.class would typically be the same page the component is on.
>  to make it more "generic", you could use getPage().getClass().
>
>   Gerolf
>
>
>
>  On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
>
>  > Hello,
>  >
>  >
>  >
>  > Is it possible to have pretty dataview urls when someone clicks on
>  > different
>  > pages of the navigator?  Right now it says stuff like ::interface.7.1 or
>  > something.  I'd prefer it to say something like /home?page=7
>  >
>  >
>



-- 
Resizable and reorderable grid components.
http://www.inmethod.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Pretty DataView urls

2008-03-17 Thread Gerolf Seitz
the following works for me:

// in your callback method
PageParameters params = new PageParameters();
params.put("page", getPageNumber());
setResponsePage(MyPage.class, params);
setRedirect(true);

where MyPage.class would typically be the same page the component is on.
to make it more "generic", you could use getPage().getClass().

  Gerolf

On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:

> Hello,
>
>
>
> Is it possible to have pretty dataview urls when someone clicks on
> different
> pages of the navigator?  Right now it says stuff like ::interface.7.1 or
> something.  I'd prefer it to say something like /home?page=7
>
>


Re: Pretty DataView urls

2008-03-17 Thread James Carman
Can you use the Ajax version?

On 3/17/08, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
>  Is it possible to have pretty dataview urls when someone clicks on different
>  pages of the navigator?  Right now it says stuff like ::interface.7.1 or
>  something.  I'd prefer it to say something like /home?page=7
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Pretty DataView urls

2008-03-17 Thread Matej Knopp
You can mount your page using HybridUrlCodingStrateg. The resulting
url won't carry the currently selected page information, but it will
be much nicer than a interface listener url you are having now.

-Matej

On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
>  Is it possible to have pretty dataview urls when someone clicks on different
>  pages of the navigator?  Right now it says stuff like ::interface.7.1 or
>  something.  I'd prefer it to say something like /home?page=7
>
>



-- 
Resizable and reorderable grid components.
http://www.inmethod.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]