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.