tags:

views:

71

answers:

1

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

A: 

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.

Brian Leathem
Did you find any workarounds for this problem? This problem is annoying, cause you get exceptions when the conversation times out, although you're on a non-conversation-page.
ifischer
Nope, no workaround per se. I just changed a bunch of stuff to viewParams, so I could begin the conversation at a later stage. An overall improvement.
Brian Leathem