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.

thanks,
Steve



On 22/12/2009, at 8:58 AM, Steve Swinsburg wrote:

> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to