Hi,

I have discovered a workaround for adding functionality, working with the existing h:datatable. It needs to support sorting based on columns, detail, pagination and displaying detail. The edit would be a button that displays a popup that allows editing. I think tomahawk's datatable supports scroll and detail, is that right?

However, there is one thing I need help with, I need the datatable to be built programmatically, for it to pick some data depending on what table is chosen/what query is executed. The number/type of columns is not known beforehand so it needs to be built in java code. Also, I need to have buttons in edit and detail column and send them to edit and detail pages. Can I have buttons in a datatable? How can that be done in java code? Can someone guide me to a resource that has some examples of manipulating data tables in java code as against writing them in a jsp?

Thanks,
Aneesha




On 9/26/06, Gerald Müllan <[EMAIL PROTECTED]> wrote:
Hi,

what are the requirements of your usecase?

Maybe it also fit your needs if you only add a new attribute to
t:dataTable. But it already has a huge amount of attributes :)

cheers,

Gerald

On 9/26/06, Aneesha Govil <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I need to develop a custom datatable component. While I can find resources
> on developing custom components, there isn't any about how to develop
> something as complex as the datatable. Can anyone help me with how to get
> started on this?
>
> Thanks,
> Aneesha
>


--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to