webtier@glassfish.java.net

Re: <h:link> loses the anchor information

From: <webtier_at_javadesktop.org>
Date: Fri, 23 Jul 2010 23:10:42 PDT

hi,
searched for named anchors on the net for JSF 2.0

there is a separate fragment attribute for h:button and h:link. Using this attribute you specify the named anchors like :
<h:link outcome="/index.xhtml" fragment="a123" >link</h:link>

Don't include the pound sign in the fragment attribute

found this info from: http://www.informit.com/articles/article.aspx?p=1606899&seqNum=6

David Geary and Cay Horstmann to the rescue, once again :)
[Message sent by forum member 'nash_era']

http://forums.java.net/jive/thread.jspa?messageID=478467