on 09-11-2009 1:53 PM
Hi,
I want to behave my application differently in DEV,TEST,PROD.
So i have defined a Self Defined Application Property in Web Dynpro application using the application editor in NWDS.
with name "RUN_SYS" and using following code to read t in the application
IWDRequest req = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
String mySys = req.getParameter("RUN_SYS");
But iam getting null value.
Is anything missing or do i need add any jar file for this
Please Help me
Hi,
Try this:
String runningIn = wdComponentAPI.getApplication()
.getApplicationInfo()
.findInApplicationProperties("RUN_SYS")
.getValue();
Regards,
Satyajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
with the code that you have posted, you read the parameters in the browser query string, or iview application parameter. Add the parameter: http://.........?RUN_SYS=.
Regards
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.