Why are you using an AjaxButton? What you are doing in your example
could be done with a normal submit button. It's probably failing on the
blackberry because blackberry the browser does not support
javascript(?). AjaxButton needs javascript...

Also, I don't think this is an appropriate question for
[email protected], use users@ instead please.

On Mon, 27 Dec 2010 07:18 -0800, "sreekar"
<[email protected]> wrote:
> 
> Hi,
> 
> Am developing web app for mobile using apache wicket 1.3 and html5.
> 
> I am able to deploy the web app successfully in weblogic server, i could
> see
> the html/page thru blackberry browser and IE7 too.
> 
> In one page i have button, on click of which i need to redirect to
> another
> page.when i click on that button am not able to redirect to another page
> when i access the app thru blackberry browser.(am getting an error), but
> on
> the click of same button by accessing the app thru IE7 is working fine.
> 
> Please check the screen shot which has error info.
> 
> Below is my code
> 
> 
> ****** Html *****
> 
> <!DOCTYPE HTML>
> <html>
> <head>
> <meta name="viewport" content="width = device-width">
> <title>On Job Training</title>
> 
> </head>
> <body>
> <form wicket:id="form">
> 
> <table>
>       <tr>
>               <td><input type="submit" wicket:id="nextButton" 
> class="mobileBtn"
>                       value="Next" /></td>
>       </tr>
> </table>
> 
> </form>
> </body>
> </html>
> **** HTML end ********
> 
> ******** Java Code **********
>  form = new Form("form");
>     form.setMarkupId("form");
>     nextButton = new AjaxButton("nextButton"){
> 
>       /**
>        * 
>        */
>       private static final long serialVersionUID = 1L;
> 
>       @Override
>       protected void onSubmit(AjaxRequestTarget target, Form form) {
>         setResponsePage(SampleMobile.class);
>       }
>     };
>     nextButton.setMarkupId("nextButton");
> 
> ********** Java Code End *********
> 
> Thanks
> http://apache-wicket.1842946.n4.nabble.com/file/n3165097/BB_issue.gif 
> -- 
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/On-submit-using-AjaxButton-mobile-apps-tp3165097p3165097.html
> Sent from the Forum for Wicket Core developers mailing list archive at
> Nabble.com.
> 

Reply via email to