You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Fabiano Choueiri <fa...@camara.gov.br> on 2006/03/16 18:28:30 UTC
Table component.
Hi all,
How can I insert a event handler like
"onmouseover='myJavaScriptFuncion()'"
in the "<TR>" tag generated by the contrib:Table component.
Like this : <tr onmouseover='myFunction()'>
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Table component.
Posted by Peter Svensson <ps...@gmail.com>.
Hmm, as far as I know it's done a it like this;
You know that you have a property in your "Row", i.e. object which is called
whatever, say 'Name' for instance.
Then you block-override it within the table tags, like this;
<table jwcid="@contrib:Table" source="ognl:myListOfThings">
<span jwcid="nameColumnValue@Block">
< what you would like to do />
</span>
</table>
This way, you can make a link out of a string, or replace a number with an
image, or both :)
I'm not sure about the mouseover, haven't done that, since I'm a N0ôb myself
:)
Cheers,
PS
On 3/16/06, Fabiano Choueiri <fa...@camara.gov.br> wrote:
>
>
>
> Hi all,
> How can I insert a event handler like
> "onmouseover='myJavaScriptFuncion()'"
> in the "<TR>" tag generated by the contrib:Table component.
>
> Like this : <tr onmouseover='myFunction()'>
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>