简体   繁体   中英

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). 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.

For both android and iOS devices, i am not able to navigate and for navigation i have used this line.

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

在此处输入图片说明

and also Tabbar images are scaled up in iOS devices but working fine in Android devices.

Any idea regarding this.

Thanks, Siddharth

invokeContainerJavaScriptFunction的第一个参数是功能ID而不是功能名称,因此您要做的就是编写以下代码。

 AdfmfContainerUtilities.invokeContainerJavaScriptFunction(AdfmfJavaUtilities.getFeatureId(), "adf.mf.api.amx.doNavigation", new Object[] { action });

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM