on 02-11-2009 10:31 AM
Hi
Iam created Web dynpro applications. In that i want to change the label and UI elements color.For that, iam changing the "cellbackground design for Label -
fill1"
"cellbackground design for UI Element -
fill2"
I did this for each and every screen. But my question is
I dont want to change this in each and every screen.I want to keep it in one file.
In "Eclipse "configuration.xml" file is used.
How we can do in web dynpro without changing the "cell background design" for each and every screen.
Please tell me in what way we have to proceed to achieve that.
Regards
sushma
Hi,
I am not sure about your requirement
One approach is to create themes and apply them. So that all UI controls will have a consistent look and feel.
Other option is tweaking the Webdynpro plugin to set this as default. Which i am not sure....
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Following could be help you to start
/people/lisha.peter/blog/2005/07/07/make-your-webdynpro-application-theme-specific
http://help.sap.com/saphelp_nw70/helpdata/EN/1e/535d420447e054e10000000a155106/frameset.htm
Regards
Ayyapparaj
Hi,
The simple way is to create two context attributes in the ComponentController and in all the views.
Declare the attributes of type "com.sap.ide.webdynpro.uielementdefinitions.CellBackgroundDesign"
Bind one attribute to all the UI Element CellBackgroundDesign property and the other to all the Label CellBackgroundDesign property.
Map these attributes.
In the doInit method of the componentController set the background value to the required one using the below code
wdContext.currentContextElement().setCellBackground(WDCellBackgroundDesign.BORDER);
Hope it Helps,
Regards,
Gayathri.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.