开发者

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

开发者 https://www.devze.com 2022-12-27 13:08 出处:网络
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 t

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 t开发者_运维知识库he url...?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消