Hi everyone!
I have a Button that shows a JS alert and then executes an AJAX call.
It works fine under Firefox 2, but fails under IE7.. The alert appears, I click 
"ok" and then I get the "Initiating Ajax GET request..." inside "WICKET AJAX 
DEBUG", but it doesn't reach my serverside handler..
Here's the code:

Button button = new Button("btn");
button.add(new AjaxEventBehavior("onclick"){

        @Override
        protected void onEvent(AjaxRequestTarget target) {
                System.out.println("Ajax call works");
        }
                
        @Override
        protected CharSequence getEventHandler() {
                return "alert('Press OK and check server 
log');"+super.getEventHandler();
        }
});
add(button);


So basically, with IE7 after the alert there's no "Ajax call works" in the 
serverside log.. Everything is OK with FF2.
Am I doing something wrong? Should I open a JIRA issue? (I have a quickstart 
ready)
Many thanks for your attention!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to