mOrgCodeFld is a text field and I am trying to redirect to the next page on entering mOrgCodeFld value.Not sure whether this approach is correct ar not.
Regarding second query,
public void initLayout(Session session)
{
log(" Initializing page layout", "initLayout");
UtilFns.log("Siddhi getting org*** "+(String)session.getValue("ORGCODE"));
// session.putObject("ORGID",session.getObject("ORGCODE"));
mDockDoorFld = new DockDoorLOV();
mDockDoorFld.setName("LoadTruck.DockDoor");
mDockDoorFld.setValidateFromLOV(true);
mDockDoorFld.setRequired(true);
String as[] = {
" ", " ", "ORGID", "oracle.apps.inv.wshtxn.server.XX2LoadTruckPage.LoadTruck.DockDoor"
};
mDockDoorFld.setInputParameters(as);
Above piece of code is my class file 'XX2LoadTruckPage.class' which I am trying to load after entering org code.
I am not able to figure out what should be passed at "ORGID" in below command
String as[] = {
" ", " ", "ORGID", "oracle.apps.inv.wshtxn.server.XX2LoadTruckPage.LoadTruck.DockDoor"
};
I tried with hardcoded value also but didn't get any success.By the time I am trying to upload my files at your forum.Below is the error piece:
[Thu Jul 02 02:19:46 EDT 2009] (Thread-12) MWA_PM_UNEXPECTED_ERROR_MESG: Unexpected error occurred, Please check the log.
java.lang.NullPointerException
at oracle.apps.inv.wshtxn.server.XX2LoadTruckPage.pageEntered(XX2LoadTruckPage.java:210)
at oracle.apps.mwa.container.StateMachine.callListeners(StateMachine.java:1590)
at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:991)
at oracle.apps.mwa.container.StateMachine.handleEvent(StateMachine.java:822)
at oracle.apps.mwa.presentation.telnet.PresentationManager.handle(PresentationManager.java:690)
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:818)
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) (C9975232) purgePageStack: purging at pageIx = 6
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) (C9975232) handleEvent: entering LOVRuntimePageBean
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) (C9975232) loadPage: trying to load 'oracle.apps.mwa.beans.LOVRuntimePageBean'; customization :null
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) (C9975232) loadPage: trying to load 'oracle.apps.mwa.beans.LOVRuntimePageBean'
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) (C9975232) purgePageStack: purging at pageIx = 6
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) addPage: old current page = 6
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) addPage: new current page = 7
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) addPage: adding 0 fields to hashtable
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) (C9975232) loadPage: done loading 'oracle.apps.mwa.beans.LOVRuntimePageBean' (pageIx = 7, fieldIx = 0)
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) (C9975232) handleEvent: entering new page (pageIx = 7)
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) (C9975232) callListeners: executing 1 listeners, action = 0
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) (C9975232) callListeners: PageBean
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) Entering pageEntered of LOVRuntimePageHandler
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) lov stmt :WMS_SHIPPING_TRANSACTION_PUB.GET_DOCK_DOORS
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) inputParams[0] :
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) inputParamsType[0] :C
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) value of inputParams[0] :null
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) inputParams[1] :
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) inputParamsType[1] :S
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) value of inputParams[1] :null
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) inputParams[2] :ORGID
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) inputParamsType[2] :N
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) value of inputParams[2] :null
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) inputParams[3]
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) inputParamsType[3] :S
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) value of inputParams[3] :1<T32 >
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) No result is found
[Thu Jul 02 02:19:48 EDT 2009] (Thread-12) Exiting pageEntered of LOVRuntimePageHandler
Appreciate your prompt response.
Thanks & Regards,
Siddhi[code][/code]
