Not really all necessary... You would need to a) replace the datatable-renderer (he is responsible for the column-header-rendering) b) create the column-header-component...
regards Alexander -----Original Message----- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 4:30 PM To: MyFaces Discussion; [EMAIL PROTECTED] Subject: Re: Simplifying column expression 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! > >

