on 05-21-2004 9:20 PM
In my Web DynPro application I would like read the parameters from URL.
e.g. If user types in
http://localhost:50000/webDynProApps?attributeValue=ja
From webDynpro (ebDynProApps) I wanna read attributeValue.
One more question: I have created TextView/Label elements. How do I change the color for these elements (either Design time/Run time)
Any Suggestions?
Thanks,
Praveen.
As of now, I guess one can read the URL parameters in web dynpro. But not sure whether it will still be supported in the newer versions.
You can chk out netweaver help for an example on this:
http://help.sap.com/saphelp_nw04/helpdata/en/38/37d93f130f9115e10000000a155106/frameset.htm
Stefan, what abt the "Response" object? Howz that referenced?
Regards
Shakeel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
it is possible reading the parameters by using the class WDWebContextAdapter. Using your sample url, the line:
String aValue = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("attributeValue");
sets aValue to "ja".
It is not possible to the change the colors of UI elements directly. Colors and images are defined by themes, which combine CSS definitions and image files to determine the look and feel.
Hope that helps.
Best regards
Stefan
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.