You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dom Couldwell <do...@db.com> on 2006/09/11 17:28:03 UTC

Refreshing popup links

Hi,

I'm having a problem with asynchronous refreshes of table data not refreshing the associated popup link javascript.

Basically I've got a set of tabs, under each tab there's a table and I switch between tabs using a DirectLink which asynchronously refreshes the contents of the display table
Each display table contains a set of values which are also ExternalLinks to a popup page. The popup links are generated using the popupRenderer renderer on top of and ExternalLink.

The problem comes when you switch between panes. The table data refreshes OK but the popup link javascript is not refreshed so the popup_window_7 javascript function is still pointing to what used to be item 7 in the previously displayed table, not item 7 in the newly updated table.

I could work around this by not making the tab switching asynchronous but that's just ugly. Is there any way I can get the javascript re-rendered at the same time as the content table is refreshed? Can I somehow add another component to the updateComponents list of the async DirectLink?

Thanks,

Dom

--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


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