on 11-30-2005 6:06 AM
Hello All,
I am able to successfully navigate to another application upon the click on a button (thanks to the tutorial provided).
However, when I try navigate away in wdDoInit using the same module, i am prompted with a "Instance of interface view controller does not exist". What I'm trying to do is check for some conditions and should it fail, the app should navigate to an exit page. Unfortunately this is not happening. Here's my sample code in wdDoInit :
" boolean status = wdContext.currentInitElement().getInitStartUp();
if (status == false)
{
wdThis.wdGetCheckCompController().exitPage(Integer.toString(Show.MAINTENANCE_CODE), "", "","","");
}"
Can someone kindly advise please ? Thank you.
from
Kwok Wei
Hi
You can try writing the code in doPostProcessing(). But what condition are you trying to check. Anyway see if doPostProcessing would help you. anyway to really know the behaviour of WD components check out this help.
http://help.sap.com/saphelp_nw04/helpdata/en/13/aeeb41eda96624e10000000a1550b0/content.htm
This is really good and will give you a good understanding. Let me know if that helped you.
regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ravi,
My application attempts to call a web service and should it returns an error, I am trying to navigate to an exit page. Somehow I am having difficulty in doing that.
The link that you have provided looks pretty informative. Let me read through that first. meanwhile if you have more ideas/suggestions, I'll be happy to hear from you. Thanks again
from
Kwok Wei
Hi Kwok,
You are trying to do this in the wdDoInit of Component Controller or View Controller?
Regards,
Shubham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.