the only drawback is: the row-object, for my gusto.., should be a pure modell object. Returning UISelectItems from one attribute would mean the modell object has a dependency on the UI-framework.
regards Alexander > -----Original Message----- > From: Geoff Longo [mailto:[EMAIL PROTECTED] > Sent: Friday, July 14, 2006 2:46 PM > To: MyFaces Discussion > Subject: Re: dataTable with dropdowns > > Thanks for the reply. The solution is so obvious, yet for some reason > I failed to see it. > > On 7/14/06, Jesse Alexander (KSFD 121) > <[EMAIL PROTECTED]> wrote: > > you would need a row-object that can return a UISelectItems > object. Then > > you can add the dropdown-component into the column and point to the > > attribute > > delivering the select-items > > > > hth > > Alexander > > > > > -----Original Message----- > > > From: Geoff Longo [mailto:[EMAIL PROTECTED] > > > Sent: Friday, July 14, 2006 5:09 AM > > > To: MyFaces Discussion > > > Subject: dataTable with dropdowns > > > > > > I was wondering what the best way would be to create a > dataTable that > > > has a column that includes a dropdown, but the dropdown > choices may be > > > different in each row. Any ideas? > > > > > > Thanks, > > > Geoff > > > > > >