[英]JDeveloper 12c getting navigation error after migration my Apps from JDeveloper 11.1.2.4
I have migrated my application from JDeveloper 11.1.2.4 to JDeveloper 12c(12.1.3.0). 我已经将应用程序从JDeveloper 11.1.2.4迁移到JDeveloper 12c(12.1.3.0)。 My demo application cleaned and compiled successfully.
我的演示应用程序已清理并成功编译。 But when i am running my application, i am not able to navigate from one amx page to another amx page from code.
但是,当我运行我的应用程序时,我无法从代码从一个amx页面导航到另一个amx页面。
For both android and iOS devices, i am not able to navigate and for navigation i have used this line. 对于Android和iOS设备,我都无法导航,对于导航,我已经使用了此行。
AdfmfContainerUtilities.invokeContainerJavaScriptFunction(AdfmfJavaUtilities.getFeatureName(), "adf.mf.api.amx.doNavigation", new Object[] { action });
In android devices, I am not getting an alert box but in iOS devices I am getting an error as 在android设备中,我没有收到警告框,但在iOS设备中,我收到了以下错误消息:
and also Tabbar images are scaled up in iOS devices but working fine in Android devices. 并且Tabbar图像在iOS设备中可以放大,但在Android设备中可以正常工作。
Any idea regarding this. 关于这个的任何想法。
Thanks, Siddharth 谢谢,悉达思
invokeContainerJavaScriptFunction
的第一个参数是功能ID而不是功能名称,因此您要做的就是编写以下代码。
AdfmfContainerUtilities.invokeContainerJavaScriptFunction(AdfmfJavaUtilities.getFeatureId(), "adf.mf.api.amx.doNavigation", new Object[] { action });
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.