Em Mon, 09 Feb 2009 14:40:33 -0300, Jonathan O'Connor <[email protected]> escreveu:

Thiago,
The mouse out and over handlers change the background color, as the user moves teh mouse over the table.

This can be done in CSS using the :hover pseudo-selector.

I also need to set the onclick of each td so it goes to a new page. I'll have a look at doing it the prototype way :-(. I suppose it really is the proper way to that.

That really needs Javascript, and it can be easily done with Prototype. I have almost no experience and I was able to do some DOM operations with Prototype in a short time frame. ;)

I had another idea, that I could modify the DOM tree after rendering (say in cleanupRender) but I haven't seen any examples do this.

A very nice place to learn how to deal with Javascript issues in Tapestry is http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to