myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <>
Subject Re: ComponentType for f:facet
Date Sat, 08 Apr 2006 19:05:30 GMT
A facet isn't a component.

A facet is a special kind of component attribute that takes a
component (represented by component tags) as an argument instead of a

Ie, instead of saying <component title="myTitle"...., with the right
kind of component, you could say

     <facet name="title">

This is also why a facet can only have a single child while components
can have multiple children -- the value of the component is a to-one
"set" operation rather than a to-many "addChild()" operation.

On 4/8/06, Hermod Opstvedt <> wrote:
> Hi
> What is the componentType for f:facet?
> I.e h:param is of type javax.faces.Parameter, but facet is not
> javax.faces.Facet.
> Hermod

View raw message