There is a point of view, which I tend to agree with, that URL should
reflect document structure and be logical and consistent. That should
appeal to you guys, since you like the hyperlinked document model :)
The idea is that instead of
  library?component=7.border/books/2/moveDown&version=0&interface=ILinkListener
one would have
  library/books/2
where "2" is index of say, Harry Potter book. Alternative address to
the same information may be
  library/books/harrypotter1
which means, that same component/information can be addressed
differently. If you remove one URL element, then the following shows
all books:
  library/books
and this would show some kind of library welcome page:
  library

This would be much nicer than having breadcrumbs only because the
component hierarchy could not be properly reflected in the URL.

Could someone explain me, why you have stuff like
"interface=ILinkListener" in render request? What ILinkListener does?
Does it do actual rendering? If not, why is it there?

Michael.

On 7/13/05, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Actually, I'd leave this to the url encrypter, because using '/'
> properly would mean changing the url structure.
> 
> having
> ...library?component=7.border/books/2/moveDown&version=0&interface=ILinkListener
> instead of
> ...library?component=7.border.books.2.moveDown&version=0&interface=ILinkListener
> resp.
> ...library?component=7.border:books:2:moveDown&version=0&interface=ILinkListener
> 
> does not seem like a big win to me. using the url encryter it should be
> possible to get something like
> ...library/7/border/books/2/moveDown&version=0&interface=ILinkListener
> 
> although there would certainly be issues to resolve.
> 
> -Matej


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to