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.