opening modelwindow freezes IE8

2009-12-21 Thread Steve Swinsburg
Hi everyone,

I've had a report from a user of a Wicket app, that when the AjaxLink to open a 
ModalWindow is clicked, the ModalWindow opens and the browser freezes. This is 
on IE8 and in Windows 7 or XP. However, running it in Compatibility Mode it 
seemed to work. Works ok in other browsers.

Has anyone experienced this? The code is nothing out of the ordinary I don't 
think:

Unless its the getParent() calls to get the ModelObject for this list item? 
Could I do that another way?


final AjaxLink connectionLink = new AjaxLink(connectionLink) {

public void onClick(AjaxRequestTarget target) {

//get this item, reinit some values and set content for modal
SearchResult this_searchResult = 
(SearchResult)getParent().getParent().getDefaultModelObject();
final String userUuid = this_searchResult.getUserUuid();
connectionWindow.setContent(new 
AddFriend(connectionWindow.getContentId(), userUuid, some more params…)); 

// connection modal window handler 
connectionWindow.setWindowClosedCallback(new 
ModalWindow.WindowClosedCallback() {
public void onClose(AjaxRequestTarget target){
//update some labels
}
}); 

connectionWindow.show(target);

}
};


thanks,
Steve

smime.p7s
Description: S/MIME cryptographic signature


Re: opening modelwindow freezes IE8

2009-12-21 Thread Craig Kelley

On Tue, 22 Dec 2009, Steve Swinsburg wrote:

Forgot to mention, this was Wicket 1.3.6. I upgraded the app to 1.4.5 
yesterday, but this user has an older version.


I see this with the Chrome browser as well under 1.4.5, but it works just 
fine with 1.4.4.  Some of the modal windows in my Wicket application work 
just fine, others do not with the latest release.


 -Craig

--
Craig Kelley
http://inconnu.islug.org/~ink finger same server for PGP block

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org