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..^_^

[307 byte] By [Arch_Bytesa] at [2007-11-15]
# 1
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.
BalusCa at 2007-7-12 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 2

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?

Arch_Bytesa at 2007-7-12 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 3
Rather override HtmlSelectOneMenu and write your own component.You may probably find the 'layout' attribute useful. Valid options are pageDirection (vertical) and lineDirection (horizontal). Also see http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/
BalusCa at 2007-7-12 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 4
Ok so I was able to go around that..Now I was wondering whether it was possible to insert a tree view withn JSF commands..?Like tree nodes and folders but the thing is they aren't folders jsut links..
Arch_Bytesa at 2007-7-12 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 5

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

BalusCa at 2007-7-12 > top of java,Enterprise & Remote Computing,Web Tier APIs...