Hi Vinaya,

you can use the binding attribute and populate and setup the datatable
in the bindings setter.
This is how we create dynamic panel content, put this works for every
UIComponent.

http://wiki.apache.org/myfaces/Programmatic

I suggest to return null in the getter and setup the Component (if
needed, you should  check this by comparing the children) in the
setter.


Regards,
    Volker


2009/3/3 Vinaya Tirikkovalluru <[email protected]>:
> Hi,
>
> I am looking to generate <t:datatable>s dynamically.
> Each table will have a different datasource and different columns
>
> Thanks
> Vinaya
>
> -----Original Message-----
> From: Simon Kitching [mailto:[email protected]]
> Sent: Saturday, February 28, 2009 2:55 AM
> To: MyFaces Discussion
> Subject: Re: Dynamic DataTables
>
> On Fri, 2009-02-27 at 16:17 -0500, Vinaya Tirikkovalluru wrote:
>> Hi,
>>
>>
>>
>> I hope some of you might have already got the code to generate the
>> Dynamic DataTables.
>
> If you want help on emailing lists, you really need to write more
> descriptive emails than this. "Dynamic DataTables" could mean many
> different things...
>
> Perhaps the tomahawk t:columns component is what you are looking for?
> http://myfaces.apache.org/tomahawk-project/tomahawk12/tagdoc/t_columns.h
> tml
>
> Regards, Simon
>
>
>
> This electronic message is intended only for the use of the individual(s) or 
> entity(ies) named above and may contain information which is privileged 
> and/or confidential.  If you are not the intended recipient, be aware that 
> any disclosure, copying, distribution, dissemination or use of the contents 
> of this message is prohibited.  If you received this message in error, please 
> notify the sender immediately.
>



-- 
inexso - information exchange solutions GmbH
Bismarckstraße 13      | 26122 Oldenburg
Tel.: +49 441 4082 356 |
FAX:  +49 441 4082 355 | www.inexso.de

Reply via email to