-
1. Re: Link to fragment identifier
gavin.king Jun 7, 2006 9:45 AM (in response to martinso)Please add a feature request to JIRA
-
2. Re: Link to fragment identifier
gavin.king Jun 7, 2006 9:45 AM (in response to martinso)BTW, this will work:
<h:outputLink value="account_view.seam#testFragment">
<s:conversationId/>
<h:graphicImage value="dummy.gif"/>
</h:outputLink> -
3. Re: Link to fragment identifier
martinso Jun 7, 2006 9:51 AM (in response to martinso)Unbelievably fast response! Thanks Gavin, I'll add the feature request to JIRA.
And thanks for the suggested solution. -
4. Re: Link to fragment identifier
martinso Jun 7, 2006 10:28 AM (in response to martinso)Actually, the suggested workaround does not work for me. The problem is that the fragment identifier is not placed at the end of the link that is written out to the html page. Instead I get something like this:
account_view.seam#testFragment?conversationId=5
I don't understand the underlying structure here, could this be a Facelets thing, or is it MyFaces?
Anyway, I add the feature request for an update of the <s:link> tag to correctly handle this. -
5. Re: Link to fragment identifier
gavin.king Jun 7, 2006 10:50 AM (in response to martinso)Ah. bugger. Try this then:
<h:outputLink value="account_view.seam?conversationId=#{conversation.id}#testFragment">
<h:graphicImage value="dummy.gif"/>
</h:outputLink>
Seems to me that there is a bug in MyFaces here. -
6. Re: Link to fragment identifier
martinso Jun 7, 2006 12:20 PM (in response to martinso)That works.
Thanks