Thank you, it works...
From: Volker Weber <[EMAIL PROTECTED]>
Reply-To: "MyFaces Discussion" <[email protected]>
To: MyFaces Discussion <[email protected]>
Subject: Re: Simplifying column expression
Date: Wed, 07 Dec 2005 18:01:25 +0100
Hi,
i think there is non need of a my:column. It should suffice just to have
a columnHeader tag, extending f:facet tag, and just create a UIOutput
component and add this as facet 'header' to the parent component.
Regards
Volker
Mike Kienenberger wrote:
> 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!
>>
>>
>
>
--
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.
_________________________________________________________________
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu!
http://desktop.msn.de/ Jetzt gratis downloaden!