Unless you're using some sort of substitution technology like
facelets, it probably won't be trivial. You'll need to subclass
UIColumn to create MyColumn, and then either read the
<my:columnheader> tag in as a "header" facet, or have the
<my:columnheader> component create a header facet on its parent
UIColumn on creation. At least, that's my understanding of the
situation.
On 12/7/05, Juergen Melzer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to simplify the expression
> <x:column >
> <f:facet name="header">
> <h:outputText value="#{text.firstname}" />
> </f:facet>
> <h:outputText value="#{auser.firstName}" />
> </x:column>
>
> with this one:
>
> <my:column>
> <my:columnheader value="#{text.firstname}" />
> <h:outputText value="#{auser.firstName}" />
> </my:column>
>
> Does anyone know how to make it?
>
> Thanks,
> Juergen
>
> _________________________________________________________________
> Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig
> im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/
> Jetzt gratis downloaden!
>
>