Thank you for that link!
 
Best Regards


Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Frank Bille
Gesendet: Mittwoch, 11. Oktober 2006 13:36
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] NiceURL and PagingNavigator

Try taking a look at Woogle and how the url looks when changing page in the result.I have done this with Bookmarkable pages and did the pagination myself.

http://woogle.billen.dk/

(At that website there is also a link to the svn repository)

Frank

On 10/11/06, Korbinian Bachl < [EMAIL PROTECTED]> wrote:
Hi Martijn,

the problem is that urls like these
http://127.0.0.1:8080/anyApp/app?wicket:interface=:2:pagination:navigation:1
:pageLink::ILinkListener
will kill any spider coming the way - and so the products would never been
followed to, as the list itself wouldnt be browsed.

The products example itself is clear - the problem is that if i want to have
a part where this mustnt happen i cant use any of wickets components as i
havent found one yet that supports nice URLs.

Regards



> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto: [EMAIL PROTECTED]] Im Auftrag
> von Martijn Dashorst
> Gesendet: Mittwoch, 11. Oktober 2006 12:46
> An: wicket-user@lists.sourceforge.net
> Betreff: Re: [Wicket-user] NiceURL and PagingNavigator
>
> I wouldn't worry about the paging navigator and the links  it
> generates... It navigates through your product catalog, but
> doesn't affect the products itself: each page will contain
> different products next time you add a new product to the list.
>
> You're after how can to make the product items in my
> datatable/listview generate bookrmarkable urls.
>
> So you would do:
>
> populateItem(Item item) {
>     .. creat parameters
>     Link link = new BookmarkablePageLink("link",
> ProductPage.class, parameters);
>     link.add(new Label("name", ... );
>     item.add(link);
> }
>
> That is what you're after IMO.
>
> Martijn
>
>
> On 10/10/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
> > Furthermore, any page you want to have indexable and bookmarkable
> > should be bookmarkable pages anyway.
> >
> > Using bookmarkable pages like that makes that you have a much less
> > nice programming paradigm. It's almost like model 2 then.
> But without
> > the XML files :)
> >
> > Eelco
> >
> >
> >
> > On 10/10/06, Matej Knopp < [EMAIL PROTECTED]> wrote:
> > > Paging navigator is useful in situations, when you don't
> care that
> > > much about url (e.g. intranet applications with complex
> user interface).
> > >
> > > For internet applications, where you do care (at least for certain
> > > parts) about URLs, you have to make an effort to achieve
> the urls you need.
> > >
> > > The problem with bookmarkable urls is that every time you
> click on
> > > one, new page instance is created. So if you have e.g. a member
> > > variable in old page, the variable value won't be
> available in new page instance.
> > >
> > > Therefore paging navigator doesn't use bookmarkable urls.
> > >
> > > It should not be difficult to modify PagingNavigator to use
> > > bookmarkable urls.
> > >
> > > -Matej
> > >
> > > Korbinian Bachl wrote:
> > > > Hi Matej,
> > > >
> > > >
> > > >> Well, for browsing products i wouldn't use
> PagingNavigator in a
> > > >> first place.
> > > >
> > > > ok, what else would you use? - i mean a PagingNavigator and a
> > > > DataView seems to me as its made for beeing a product-category
> > > > browser (as you have e.g. 30 toycars and want only 16 max items
> > > > per page)
> > > >
> > > >> Of course it is prossible to have such product browser
> in wicket,
> > > >> even with nice urls.
> > > >>
> > > >> class ProductsPage extends WebPage {
> > > >>      public ProductsPage(PageParameters parameters)
> > > >>      {
> > > >>              // this is just an example, you'd probably
> > > >>              // need something bit more sophisticated :)
> > > >>              int currentPage = parameters.getInt("page");
> > > >>              add(new BookmarkablePageLink("prev", new
> > > >> PageParameters("page=" + (currentPage-1)));
> > > >>              add(new BookmarkablePageLink("next", new
> > > >> PageParameters("page=" + (currentPage+1)));
> > > >>
> > > >>      }
> > > >>
> > > >> }
> > > >>
> > > >> so if you mount products page to "/products", you can get urls
> > > >> like /products/page/1, products/page/2 ...
> > > >
> > > > ok, so if I understand this right, it would be enough to modify
> > > > the PagingNavigator to use BookmarkablePageLink with the
> > > > parameters ? If this is so, why doesnt the
> PagingNavigator provide
> > > > this functionality by itself? or might this run into
> other problems?
> > > >
> > > > Any help is really appreciated,
> > > >
> > > > Regards
> > > >
> > > > Korbinian
> > > >
> > > >> -Matej
> > > >>
> > > >> Korbinian Bachl wrote:
> > > >>> Hi Matej,
> > > >>>
> > > >>> this is a big problem. I can live with not beeing able to
> > > >> have Tabbed
> > > >>> Panels but imagine a onlinestore where you can browse the
> > > >> products but
> > > >>> the url is not bookmarkable. That just wouldnt work for the
> > > >> users as
> > > >>> well as all search engines !
> > > >>>
> > > >>> Ajax is also not a solution as google & co dont care
> about that!
> > > >>>
> > > >>> Dont you know any (even theorethical) possibility to
> have URLs
> > > >>> like
> > > >>> /products/page/2 for pagination ? i mean that
> component must use
> > > >>> a parameter to call it and this one just has to be
> passed... is
> > > >>> this behaviour going to change in Wicket 2 ??? or are
> nice URLs
> > > >> there a half-done-feature, too ?
> > > >>> Regards
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>>> -----Ursprüngliche Nachricht-----
> > > >>>> Von: [EMAIL PROTECTED]
> > > >>>> [mailto:[EMAIL PROTECTED] ]
> Im Auftrag
> > > >>>> von Matej Knopp
> > > >>>> Gesendet: Dienstag, 10. Oktober 2006 13:49
> > > >>>> An: wicket-user@lists.sourceforge.net
> > > >>>> Betreff: Re: [Wicket-user] NiceURL and PagingNavigator
> > > >>>>
> > > >>>> There is a simple answer for your question: You can't.
> > > >>>>
> > > >>>> It's due to how wicket works. Since Wicket manages your
> > > >> application
> > > >>>> state and takes care of the urls for you, you can't
> alter them
> > > >>>> significantly.
> > > >>>>
> > > >>>> If you need tabbed panel like functionality while having
> > > >> nice urls,
> > > >>>> you have to have different pages and simply use bookmarkable
> > > >>>> links for every page.
> > > >>>>
> > > >>>> Paging navigator's url could be little nicer if we didn't
> > > >>>> disable redirect, e.g. ?wicket:interface=:2:: .
> > > >>>>
> > > >>>> Alternatively you can use ajax paging navigator (and ajax
> > > >>>> tabbed panel), which would case the url to stay unchanged.
> > > >>>>
> > > >>>> -Matej
> > > >>>>
> > > >>>>
> > > >>>> Korbinian Bachl wrote:
> > > >>>>> I extend the question further: How can i have a nice URL
> > > >> and use a
> > > >>>>> TabbedPanel component???
> > > >>>>>
> > > >>>>> Regards
> > > >>>>>
> > > >>>>>
> > > >>>>
> --------------------------------------------------------------
> > > >>>> ----------
> > > >>>>>     *Von:* [EMAIL PROTECTED]
> > > >>>>>     [mailto:[EMAIL PROTECTED] ] *Im
> > > >>>> Auftrag von
> > > >>>>>     *Korbinian Bachl
> > > >>>>>     *Gesendet:* Dienstag, 10. Oktober 2006 12:01
> > > >>>>>     *An:* wicket-user@lists.sourceforge.net
> > > >>>>>     *Betreff:* [Wicket-user] NiceURL and PagingNavigator
> > > >>>>>
> > > >>>>>     Hi,
> > > >>>>>
> > > >>>>>     i have a page, call it products, and i implement a
> > > >>>> Paging Navigator
> > > >>>>>     there, as its not good to have mor than e.g. 10
> > > >>>> products on page at
> > > >>>>>     same time.
> > > >>>>>
> > > >>>>>     I then mount the products via
> > > >>>> mountBookmarkablePage("/products",
> > > >>>>>     Product.class);
> > > >>>>>
> > > >>>>>     by executing it all works at first, but when using a
> > > >>>> link from the
> > > >>>>>     paging navigation the URL changes to
> > > >>>>>
> > > >>
> ?wicket:interface=:2:pagination:navigation:1:pageLink:1:ILinkList
> > > >> ener
> > > >>>>>     instead of showing a nice /products/page/2 or
> sth like that.
> > > >>>>>
> > > >>>>>     How can i achive this behavior?
> > > >>>>>
> > > >>>>>     Regards,
> > > >>>>>
> > > >>>>>     Korbinian
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>
> -----------------------------------------------------------------
> > > >> ----
> > > >>>> -
> > > >>>>> --
> > > >>>>>
> > > >>>>>
> > > >>
> -----------------------------------------------------------------
> > > >> ----
> > > >>>> -
> > > >>>>> --- 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&CI
> > > >> D=DE
> > > >>>> V
> > > >>>>> DEV
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>
> -----------------------------------------------------------------
> > > >> ----
> > > >>>> -
> > > >>>>> --
> > > >>>>>
> > > >>>>> _______________________________________________
> > > >>>>> 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&CI
> > > >> D=DEV
> > > >>> DEV _______________________________________________
> > > >>> 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=D
> > > EVDEV _______________________________________________
> > > 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=DEV
> > DEV _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> --
> <a
> href=""http://www.thebeststuffintheworld.com/vote_for/wicket"> http://www.thebeststuffintheworld.com/vote_for/wicket">Vote</a>
> for <a
> href=""http://www.thebeststuffintheworld.com/stuff/wicket">http://www.thebeststuffintheworld.com/stuff/wicket ">Wicket</a>
> at the <a href=""http://www.thebeststuffintheworld.com/">http://www.thebeststuffintheworld.com/">Best
> Stuff in the World!</a>
>
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier Download IBM WebSphere Application Server
> v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to