Hi Andrew,
thanks a lot, that idea did not came to my mind!
David
Andrew Robinson schrieb:
Why would a different data model prevent usage of input fields?
<tr:dataTable value="#{mySpecialDataModel}"
varStatus="_mystatus" var="_row">
<tr:column>
<tr:inputText rendered="#{_mystatus.index eq 0}" ... />
<tr:outputText rendered="#{_mystatus.index ne 0}" ... />
</tr:column>
This would only show the input text if it is the first row. This is an
extremely simple example, but you should get the point.
-Andrew
On 10/9/07, David Uebelacker <[EMAIL PROTECTED]> wrote:
Hi,
i want to define input text fields in this row, so it will not work with
another data model :-(.
Overwriting the default renderer seems to be the only solution for me.
David
Andrew Robinson schrieb:
Custom DataModel that always returns a special first row?
On 10/8/07, David Uebelacker <[EMAIL PROTECTED]> wrote:
Hi,
is there a way to add a special row to a trinidad table, which is not
defined by the data ?
We have to implement a table, with filters for each column. Under the
header should be a row, with one input fields for every column. The user
can define a filter, by entering a value into these input fields.
I tried it with the header facet, but there is the sorting mechanism in
the way :-(. Any better ideas/solutions ?
Thanks,
David
--
David Uebelacker
mailto:[EMAIL PROTECTED]
http://david.uebelacker.eu/