Re: updateComponent from JavaScript

2008-02-28 Thread Paul Stanton
Andreas, thanks, calling updateComponent on a wrapping div works. by the way, i was updating the whole table before, that wasn't working. table jwcid=[EMAIL PROTECTED]:TableView... p. Paul Stanton wrote: Oh, ok, i'll try and update a div surrounding the table, otherwise back to JS i guess.

Re: updateComponent from JavaScript

2008-02-27 Thread Paul Stanton
gah .. have to go back to plain old JS. Paul Stanton wrote: Thanks Andreas, that works great on Firefox, not sure why but not working with ie. The listener method is being called, but the component (contrib:TableView) is not its self does not change as it should. Your ClientLink is working

Re: updateComponent from JavaScript

2008-02-27 Thread Andreas Andreou
yea, I know noticed you're trying to update parts of a table... IE6 (not sure about IE7) has trouble updating parts of tables... There's a js trick to make this possible but it must be the first time i see someone needing this in Tapestry... perhaps most people either update the whole table, or

Re: updateComponent from JavaScript

2008-02-27 Thread Paul Stanton
Oh, ok, i'll try and update a div surrounding the table, otherwise back to JS i guess. Thanks. Andreas Andreou wrote: yea, I know noticed you're trying to update parts of a table... IE6 (not sure about IE7) has trouble updating parts of tables... There's a js trick to make this possible but

Re: updateComponent from JavaScript

2008-02-21 Thread Paul Stanton
Thanks Andreas, that works great on Firefox, not sure why but not working with ie. The listener method is being called, but the component (contrib:TableView) is not its self does not change as it should. Your ClientLink is working perfectly though, I've tried the same thing using a button and

updateComponent from JavaScript

2008-02-19 Thread Paul Stanton
Hi all, Is there something in the dojo library that i can call (in javascript) to request a component to update? I need to trigger this on a tapestry component, but the code must be called from the client side, ie not in java. Suggestions? Thanks, P.

Re: updateComponent from JavaScript

2008-02-19 Thread Andreas Andreou
Hi - the 'traditional' way (without digging into internals) was to have an invisible DirectLink and trigger that with js. Recently, Igor added ClientLink to tacos latest snapshot ( http://tacos.sourceforge.net/tacos4.1/tacos-core/tapdocs/net.sf.tacos.Tacos/ClientLink/index.html ) which adds a js