How to dynamically show different components for each row in a table

2006-10-31 Thread kevin_zhai
I have a Table that has a column containing buttons for operations on each row. Each row may have different operations applicable to it, so the buttons for each row need to be determined dynamically based on the contents of row. I have seen code to dynamically create buttons, but what I would

Re: How to dynamically show different components for each row in a table

2006-10-31 Thread kevin_zhai
My table maybe each row(column) need different UI component(radio,button,checkbox,textbox,etc), so,use rendered attribute,it's not enough, I need ,dynamically creat my table depending data type from select from database data, btw,thanks you advise -- View this message in context:

Re: How to dynamically show different components for each row in a table

2006-10-31 Thread Nick77
I had a similar problem where I wanted to display different UI input components depending on the type of data in the row (ie String, Date, Double etc). I found the easiest way to do this was to add ALL the options and select which is displayed using the rendered attribute. I also did not want to

Re: How to dynamically show different components for each row in a table

2006-10-31 Thread Sean Schofield
This is probably best discussed on the users list. The dev list is for discussion of new components and general project coordination. Sean On 10/31/06, kevin_zhai [EMAIL PROTECTED] wrote: My table maybe each row(column) need different UI component(radio,button,checkbox,textbox,etc), so,use