wesley jordan | 15 May 08:58
Picon

Firefox 2.0.0.14 dwr utils bug

Hi all,

I have abit of a strange problem with the dwr.util.removeAllRows and dwr.util.addRows methods.

The situation is this:

I have a table populated with a bunch of rows. Each row contains information and on the left of each row there is an image. If a user clicks on an image a javascript method is called which calls a 'dwr-exposed' bean to retrieve data and that data is used to build a table beneath the row (using dwr.util.removeAllRows and dwr.util.addRows) . The user can then click on the image again to remove the dynamically created table.

The problem i'm experiencing is this:

After a user clicks the image for the second time with the intent to hide the dynamically created table, the space that the dynamically created table occupied is never 'reclaimed'. So lets say that dynamically created table occupied 100pixels length beneath the selected row, upon clicking the image to hide the dynamically created table, there is still 100pixels space between the 2 rows. What's worse is that everytime the operation is repeated the space will grow by 100pixels. I've tested this on IE6,Opera 9.26 and Firefox 3 beta and they all work fine. I've scrutinised the output provided in Firebug and nothing shows up to indicate anything is wrong.

Any help with this is greatly appreciated

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

Gmane