How to build a URL in the JSF page?
I'm trying to create a <a> tag in my Facelets XHTML page, but can't understand how to do it.. This is what I'm doing:
Am I using the right tag?
This should work. Open page in webbrowser, rightclick and View Source to see the JSF-generated HTML output. You should see a <a> element being generated.
Render an HTML "a" anchor element. The value of the component is rendered as the value of the "href" attribute.
Simply use <a href="static/faq.xhtml">FAQ</a>.