I am trying to do the same thing one or two weeks ago, the problem I met is when you try to refresh , then the selected information will be lost, so I then changed to the tapestry submit method.
On 1/19/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Ah, even more reason to use dojo then :) No need to embed the script into > each table row. > > On 1/18/06, nav C <[EMAIL PROTECTED]> wrote: > > > > The use case is to just change color, but the problem I have is to make > > the table component generate html which has javascript embedded in every > > row. > > Thanks, > > NavC > > > > Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > That depends on what you want to happen with the row other than the > > color > > changing. Is that all, or do you want to be able to do something else > > based > > on the color change? > > > > You might want to look at http://dojotoolkit.org for an easy way to handle > > js events. > > > > On 1/18/06, nav C wrote: > > > > > > I needed to be able to change the color of a row when a checkbox is > > > selected in the row of a tapestry table, like in hotmail on selecting a > > mail > > > in the mailing list,color of the row changes. > > > I want to do this using Javascript and not a server-side refresh. Is > > > there an easy way to achieve the same ? > > > Thanks, > > > NavC > > > > > > > > > --------------------------------- > > > Yahoo! Photos > > > Ring in the New Year with Photo Calendars. Add photos, events, holidays, > > > whatever. > > > > > > > > > > > > > --------------------------------- > > Yahoo! Photos > > Ring in the New Year with Photo Calendars. Add photos, events, holidays, > > whatever. > > > >
