thanks, that's the way I supposed to do, wonder any other way
regards,
onur
On 4/21/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> On 4/21/06, Onur Tokan <[EMAIL PROTECTED]> wrote:
> > Is it possible for a DataTable component to excilipty define it's child
> > components by row.
> >
> > I mean, can I have a table some rows are HtmlInputs and some are
> > HtmlOutputs.
>
> Use rendered to choose which component is visible. Bind the
> dataTable to "myBean" so you can query it to determine what row data
> you are currently working with.
>
> <h:column>
> <htmlInput rendered="#{myBean.myHtmlInputVisibilityCondition}"
> <htmlOutput rendered="#{myBean.myHtmlOutputVisibilityCondition}"
> </h:column>
>