Popup Settings Link JavaScript Error
------------------------------------

                 Key: WICKET-1639
                 URL: https://issues.apache.org/jira/browse/WICKET-1639
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.2
         Environment: Windows XP Professional SP2, Tomcat 6.0, Enternet 
Explorer 7.0, Wicket 1.3.2
            Reporter: fallout
            Priority: Trivial


I have a JavaScript error message in the left bottom corner of a IE' parent 
window when I click a PopupSettings link.

Code for this PopupSettings link is:

        final Link viewGroupProfileUsersLink = new Link("numberOfUsersLink") {
                @Override
            public void onClick()
            {
               setResponsePage(new GroupProfileUserList(groupProfile));
            }
        };
        
        PopupSettings popupSettings = new 
PopupSettings(PopupSettings.SCROLLBARS);
        
popupSettings.setWidth(Integer.valueOf(getString("popup.window.width")));
        
popupSettings.setHeight(Integer.valueOf(getString("popup.window.height")));
        popupSettings.setWindowName(groupProfile.getName());
        
        viewGroupProfileUsersLink.setPopupSettings(popupSettings);
        item.add(viewGroupProfileUsersLink);

The JavaScript error message is: 'Invalid argument'.

Is it a wicket problem or I am doing something wrong.

Thank you.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to