users@javaserverfaces.java.net

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

From: roger.keays <roger.keays_at_ninthavenue.com.au>
Date: Mon, 20 Aug 2007 20:02:31 -0700 (PDT)

Hi Ryan,

Thanks for checking this out for me. It turns out the problem was not
actually the JSF version, but was caused by creating the view using a filter
(as per http://www.thoughtsabout.net/blog/archives/000033.html).

Thanks for your time on this one.

Roger


rlubke wrote:
>
> 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.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: users-help_at_javaserverfaces.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/problem-with-jsf-ri-1.2_04-p2-view-ids-tf4283506.html#a12247501
Sent from the javaserverfaces users mailing list archive at Nabble.com.