문제

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...?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top