Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top