users@javaserverfaces.java.net

problem with jsf ri 1.2_04-p2 view ids

From: roger.keays <roger.keays_at_ninthavenue.com.au>
Date: Thu, 16 Aug 2007 20:20:47 -0700 (PDT)

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
-- 
View this message in context: http://www.nabble.com/problem-with-jsf-ri-1.2_04-p2-view-ids-tf4283506.html#a12193442
Sent from the javaserverfaces users mailing list archive at Nabble.com.