Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can one suppress the conversation propagation with an `<h:link>`?

Tags:

jsf

jsf-2

cdi

I'm using the new JSF2 <h:link> tag, with a nested <f:param> to link to a page using a get request. However, the conversation id (cid) is propagated via the query parambeters of the link to the new page.

Can one suppress the conversation propagation with an <h:link>? ie. no cid=# in the url...?

like image 757
Brian Leathem Avatar asked Nov 05 '22 14:11

Brian Leathem


1 Answers

Apparently this is a bug with Weld, the reference implementation of JSR-299:

https://jira.jboss.org/browse/WELD-549

The spec requires an explicit f:param for h:link

Meaning one is supposed to explicitly include the ?cid=# with an f:param, and it should not be there by default.

like image 63
Brian Leathem Avatar answered Nov 13 '22 00:11

Brian Leathem