Re: Make whole row in datatable clickable

2008-10-13 Thread jhomuth
Ah allright, I understand. Thx Andrew Robinson wrote: It is a trinidad component. In tomahawk use dataList as already mentioned. Example: the 'layout="simple"' will make it act like the tr:iterator (no HTML added) http://myfaces.apache.org/tomahawk-project/tomahawk12/tagd

Re: Make whole row in datatable clickable

2008-10-13 Thread Andrew Robinson
It is a trinidad component. In tomahawk use dataList as already mentioned. Example: 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, jhom

Re: Make whole row in datatable clickable

2008-10-13 Thread jhomuth
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 a

Re: Make whole row in datatable clickable

2008-10-12 Thread Justinas
this is shit jhomuth wrote: Hello Jan, i quess this might work. I will try. Thank you!! Jan-Kees van Andel wrote: With raw JavaScript it's very easy (if you know JavaScript). Something like this: var table = document.getElementById("theId"); var rows = table.tBodies[0].getElementsByTagName(

Re: Make whole row in datatable clickable

2008-10-10 Thread Andrew Robinson
dataList with simple layout doesn't render any html. You can also use tr:iterator. 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 ra

Re: Make whole row in datatable clickable

2008-10-10 Thread jhomuth
Hello Jan, i quess this might work. I will try. Thank you!! Jan-Kees van Andel wrote: With raw JavaScript it's very easy (if you know JavaScript). Something like this: var table = document.getElementById("theId"); var rows = table.tBodies[0].getElementsByTagName("tr"); for(var i = 0; i < rows.

Re: Make whole row in datatable clickable

2008-10-10 Thread Jan-Kees van Andel
>>> >>>>> 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. >>> >>>>> >>>>> >>>>> Row Content goes here >>>>> >>>>> >>>>> >>>>> But this don't work. Is there any solution,example for this. >>>>> >>>>> >>>> Maybe use t:dataList. >>>> >>>> >>>>> Thx for suggestions >>>>> >>>>> >>>> >>> > > > -- View this message in context: http://www.nabble.com/Make-whole-row-in-datatable-clickable-tp19879167p19915768.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: Make whole row in datatable clickable

2008-10-10 Thread jhomuth
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 ot

Re: Make whole row in datatable clickable

2008-10-09 Thread Mike Kienenberger
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 and write the markup yourself. This > way you have full

Re: Make whole row in datatable clickable

2008-10-09 Thread Jan-Kees van Andel
Or you can use Facelets 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

Re: Make whole row in datatable clickable

2008-10-08 Thread Leonardo Uribe
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. > > > > Row Content goes here > > > > But this don't work. Is there any solution,ex

Make whole row in datatable clickable

2008-10-08 Thread jhomuth
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. Row Content goes here But this don't work. Is there any solution,example for this. Thx for suggestions