On 8/12/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> I don't like bookmarkable urls as they are now. First, they look ugly.
> Second, the page is shown directly without redirection. On the
> contrary, I want to send a command to a page, so it would process it,
> and then render itself after redirect.
> 
> If my page is not versioned ("version") nor has several instances
> ("path") then I do not want to see anything in the url besides base
> page address, I do not want to see "version" or "path".
> 
> Also, I do not want to see any parameters in the url. Parameters are
> commands, they should be processed in the input phase, then Wicket
> should redirect to page and render it in its current state, parameters
> are not needed for that.
> 
> Michael.

Ok, I guess I cannot get rid of "path" parameter completely, because
Wicket takes a simple route to build urls and combines them from
webapp context root and some params like class name or class name and
instance, etc.

I would prefer that for pages which are not versioned and have only
one instance, the url would be built using context root + Page name.
Of course, page name should be uniqie, and I do not want to use full
package+class name.

So, for signIn example, non-versioned home page would look like 
  /signin/home
and non-versioned signin page would look like
  /signin/login

Instead of current /signin?path=xxx for both home page and login page.

You may say that this url makes page bookmarkable. I say, so what?
Right now Wicket has a generic message "This page has expired", so if
a user bookmarks home page, he would see this message second time. Or,
even better, he would be redirected to login page, like it happens
now.

If no one objects, I will give some attention to the urls, since ugly
urls drive me crazy ;-)

Michael.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to