Ah allright, I understand.
Thx
Andrew Robinson wrote:
It is a trinidad component. In tomahawk use dataList as already
mentioned. Example:
<table>
<t:dataList var="item" value="#{items}" layout="simple">
<tr onclick="blah">
<td><tr:outputText value="#{item.text}" /></td>
</tr>
</t:dataList>
</table>
the 'layout="simple"' will make it act like the tr:iterator (no HTML added)
http://myfaces.apache.org/tomahawk-project/tomahawk12/tagdoc/t_dataList.html
On Mon, Oct 13, 2008 at 7:33 AM, jhomuth <[EMAIL PROTECTED]> wrote:
Hello Andrew,
where I can find this tr:iterator tag? Is this included in the Trinidad UI
Library (I guess because of the tr)?. We use Tomahawk in our project an
there is no XX:iterator tag!.
MFG Johannes
Andrew Robinson wrote:
dataList with simple layout doesn't render any html. You can also use
tr:iterator.
<table>
<tr:iterator var="item" value="#{items}">
<tr onclick="blah">
<td><tr:outputText value="#{item.text}" /></td>
</tr>
</tr:iterator>
</table>
On Fri, Oct 10, 2008 at 3:04 AM, jhomuth <[EMAIL PROTECTED]>
wrote:
Hi again,
at first thanks for your answers, but this is not the solution we
supposed.
We wanna render a table rather than a list. Furthermore we are pretty
lucky
with the functions of this datatable and it's look pretty good already,
and
that's why we want to use the dataTable. Is there no other way to make a
whole row clickable? For now we found the solution to insert the table
data
for each cell with inputfields which fully fill out the tablecell and
such a
css style that you don't see that this are inputfields but we think
that's
dirty and heavy-handed.
Any other suggestions??
Mike Kienenberger wrote:
Yes, t:dataList is the equivalent to ui:repeat, except that it fixes
issues that ui:repeat has, and also has many of the features that
t:dataTable supports.
On 10/9/08, Jan-Kees van Andel <[EMAIL PROTECTED]> wrote:
Or you can use Facelets <ui:repeat /> and write the markup yourself.
This
way you have full control over the rendered HTML.
Regards,
Jan-Kees
2008/10/8 Leonardo Uribe <[EMAIL PROTECTED]>
On Wed, Oct 8, 2008 at 8:50 AM, jhomuth
<[EMAIL PROTECTED]> wrote:
Hello List,
i've another question. Is it possible to make a whole row in a
datatable
clickable? I've tried with a commandLink like this.
<tom:dataTable ....>
<tom:commandLink ......>
Row Content goes here
</tom:commandLink>
</tom:dataTable>
But this don't work. Is there any solution,example for this.
Maybe use t:dataList.
Thx for suggestions