During usual web navigation I need to execute a path to advance to a special screen. I have defined it at the repository, and call it from java with the following code:
GXPathRequest pathRequest = new GXPathRequest(); pathRequest.setPathName(“PATH_NAME”); pathRequest.addInputField(“FIELD_NAME”, “FIELD_VALUE”);
gxContext.getGXSession().executePath(pathRequest);
gxContext.gx_handleHostResponse();
When I look the session with applinx I can see that the path has been executed correctly. However, in firefox, it looks as if nothing had happened.
I suppose that the code is ok, but I have written it in the wrong place and it is having problems with applinx’s lifecycle. I have tried to write it at many methods:onLoad, onUnload, onNewTextField, … but none of them works. Do you know how can I do it?
Rafael,
afraid can’t really tell you what is wrong without knowing what exactly were you trying to do. What is your path procedure supposed to be doing and when (on page load? on page unload? on transformation?) and on which ApplinX version.