on 03-04-2005 11:47 AM
Hi,
My query is the same as bharath's,i.e.
there is a default url parameter called sap-cssurl whose value if set,the default theme setting is overridden.
i want to set this parameter in my application either programmatically or otherwise.but i dont know where to and how to.
the answer bharath received regarding this same query was to create own url parameters,but that is not the case here,because what i need is to set the pre-defined,default url parameter and not create a new one.
please help.
thanx
lisha
Hi Lisha,
url parameters in general are simply appended to an arbitrary url, something like:
http://someWebDynproApplicationUrl<b><b>?</b>param1=A<b>&</b>param2=B</b>;
If you want to use a predefined url parameters, the most simple (not always safe) way is to append them after retrieving the Web Dynpro application url using the <a href="https://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/webdynpro/com/sap/tc/webdynpro/services/sal/url/api/WDURLGenerator.html">WDUrlGenerator</a>
You could even quick-test this if you append the parameter(s) manually in the browser's address-inputfield, resulting in something like:
http://yourWebDynproApplicationUrl<b><b>?</b>sap-cssurl=/yourPathtoCss</b>;
Hope that helps.
Regards,
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanx Stefan,
But there is a little problem.I'm retriving the application url and appending my requirement to it.This works fine when i associate all this to the press of a button,but since i need the appended url to be given to the browser as soon as my application is loaded,i tried writing the same piece of code in the onPlugDefault method of the interface view.In this case though iis appending fine,its not able to redirect to site with the appended url and finally is showing a runtime exception"Creation of DataTypeBroker failed".
please help if possible.
regards
lisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
see the following links
http://help.sap.com/saphelp_nw04/helpdata/en/7d/fdc99ab37a8d42892e0d39bbd23be8/content.htm
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.