users@javaserverfaces.java.net

Re: problem with jsf ri 1.2_04-p2 view ids

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Mon, 20 Aug 2007 10:05:50 -0700

roger.keays wrote:
> Hi,
>
> When doing a forward from a filter (for example, to map urls to facelet
> templates), jsf 1.2_04-p02 prepends the url to the view id. e.g if GET /page
> is forwarded to /template.xhtml, the view id becomes /page/template.xhtml.
> In jsf 1.2_02 it was just /template.xhtml as you would expect.
>
> The new scheme actually works okay, except for GET /, which creates a view
> id of //template.xhtml. This is then expanded to http://template.xhtml by
> the browser when the form is submitted.
>
> URLs ending in the faces mapping seem to work normally (ie as per 1.2_02).
> e.g. if /page.xhtml -> /templates/page.xhtml the view id is just
> /templates/page.xhtml
>
> Roger
>
Sorry for the delayed response. Would you mind opening an issue for this?
We'll get it addressed for 1.2_05.