You can make use of JSF components listed in the Palette (Window > Palette). Components in the Palette represent code snippets which you can drag-and-drop into the opened file in the Source Editor. JSF components include:
<f:metadata>
<f:viewParam id='myId' value='myValue'/>
</f:metadata>
The <f:metadata> tag requires that you
add the JSF core tag library to your page's root element (typically the
<html> tag):
xmlns:f="http://java.sun.com/jsf/core"
<f:view>
<h:form>
</h:form>
</f:view>
The JSF Form component requires that you add the JSF core
and html tag libraries to your page's root element (typically the
<html> tag):
xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
<f:view>
<h:form>
<h:dataTable value="#{}" var="item">
</h:dataTable>
</h:form>
</f:view>
The JSF Form component requires that you add the JSF core
and html tag libraries to your page's root element (typically the
<html> tag):
xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
The five JSF components included in the Palette can equally be
accessed by typing 'jsf' in the editor, then pressing Ctrl-Space.