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>

Reply via email to