JSF tags.
By anychance, do JSF tags work inside the <tr><td> of html?
I am converting an HTML page into a jsf page, but I'm having trouble..
the
<h:outputText value="Page Stats"/> doesn't seem to be working inside those tags..
Help appreciated,
ArchBytes..^_^
JSF 1.1 or 1.2? Are you nesting JSF tags inside a f:verbatim?By the way, you can also decide to use h:panelGrid instead of table/tr/td.The only disadvantage of a default h:panelGrid implementation is that it does not support colspans nor rowspans.
I figured out the problem.. I forgot to place it inside <f:view> tags..
sorry.. ^_^
but I've got another question regardind the RadioGroup Buttons..
is there anyway to to group them even it they are not under the same tag?
example..
<h:selectOneRadio value="types">
<f:selectItem itemValue="Year" itemLabel="Year"/>
<f:selectItem itemValue="2006" itemLabel="2006"/>
<f:selectItem itemValue="2005" itemLabel="2005"/>
<f:selectItem itemValue="2004" itemLabel="2004"/>
</h:selectOneRadio>
these are together because they are under the same <f:selectOneRadio>
what if I want to place the options in different <td>s or <tr>s?
The Sun's default JSF implementation doesn't provide a Tree functionality.
There are several 3rd party implementations. You may find the Tomahawk's t:tree useful. Or the JSF RI Sandbox risb:tree.
http://myfaces.apache.org/tomahawk/tree.html
https://javaserverfaces.dev.java.net/sandbox/components/tree.html