Siddh
Siddh

Reputation: 712

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

enter image description here

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

Any idea regarding this.

Thanks, Siddharth

Upvotes: 0

Views: 599

Answers (1)

M.Mostafa
M.Mostafa

Reputation: 228

the first parameter for invokeContainerJavaScriptFunction is fueature id not feature name so all you have to do is to write your code as below.

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

Upvotes: 2

Related Questions