Than you can do it in doEndTag() of your tag class Amit Jain wrote: > Thanks for the reply. > > I cant assign header in constructor as I am adding my default header only if > user have not given header facet in jsp. > > Amit > ----- Original Message ----- > From: "Volker Weber" <[EMAIL PROTECTED]> > To: "MyFaces Discussion" <users@myfaces.apache.org> > Sent: Friday, March 03, 2006 3:29 PM > Subject: Re: Facets Renderer! > > > >>Hi Amit, >> >>Amit Jain wrote: >> >>>Hi, >>> >>>I have a class which extends UIcolumn. I am adding header facet to it in > > encodebegin method but the facets are not getting rendered. I am getting > simple UIcolumn. > >>>Can someone suggest some other way to do it. >> >>you can't do this in encode methods of UIColumn, because these are never >>called. The encoding of the columns children is invoked by the renderer >>of UIData. >> >>If you have a custom tag class you can add the facet there, otherwise >>you can do this in the constructor of your custom UIColumn. >> >>Regards, >> Volker >> >> >>>Regards >>>Amit >> >>-- >>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. >> >> >>-- >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.1.375 / Virus Database: 268.1.1/273 - Release Date: 3/2/2006 >> >> > >
-- 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.