dev@javaserverfaces.java.net

Re: JAVASERVERFACES-3939

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Mon, 18 Jan 2016 15:05:40 +0100

On Mon, Jan 18, 2016 at 12:24 PM, Xavier Dury <kalgon_at_hotmail.com> wrote:

> Using /document/#{someBean.id} works for incoming requests (someBean.id
> will be populated with the parameter) but not for rewriting urls
> (someBean.id won't be picked up automatically to be used in the url pattern
> if I don't use any f:param).
>
> But if I write the pattern like this /document/#{id : requestScope.id},
> everything seems to work:


Okay, cool. That's a custom syntax they're using there, but that's how the
distinction between "parameter name" and "value expression to set/get
value" is made. Nice ;)

I'll at least bring the issue up with the JSF EG and if they agree see if I
can do a patch for JSF 2.3 at least (if still needed, a backport can always
be requested separately).

Thanks for bringing this up.