on 01-29-2004 8:25 PM
Hello,
I would like to know how customer stylesheets can be used instead of standard BSP styles.
I use the following line on each BSP side and only use htmlB:
<abap:content id="asdf" design="classicdesign2002design2003">
Do the customer has to create his own "design" and "modify" the coding to add this design?
Do anybody know where I can find information about using customer stylesheets in BSP Applications?
Thanks in advance for your help.
Kind regards,
Daniel
This is probably a "duh" question, but just to be sure I've not missed something I'll ask it. We are not in production either in Enterprise Portal or BSP's. Our production data is in 4.6C which we access through the GUI or via the web. EP, our BSP sandbox, and our data are all on different servers -- 3 servers. Copied and modified stylesheets using the EP design tool are not accessible from the server where we're implementing our BSP's, are they? Does the BSP have to be deployed within the Portal to have access to these custom-modified stylesheets?
Janice Ishee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Daniel,
indeed, for customer own design we modify the given style sheets of the HTMLB-Tablib -after we copied them of course.
In the SAP Enterprise Portal you can define the colors and the layout of the elements. Then you can grab the css-files and images, define the folder hierarchy in the public-path of the mime-repository, and then you can set the path of the current style sheet folder via the themeroot-parameter of the htmlb-content-tag.
Watch out: there's a difference between DESING2002 and DESIGN2003. In Design2003 you have to use the unified rendering-folders, for design2002 there are the folders 'controls' and 'xcontrols'.
If you don't have a Portal 5.0 you can use the "ABAP Style Sheet desinger" as described in a OSS note with the same title in component "BS-BSP".
Hope that helps a bit.
Regards, Bernd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello again,
to be more precise:
In the EP you generate a new Style in the Style Sheet Editor. You have to provide a technical name and name for the web frontend.
The technical name is used to create a folder in EP/JE22 hierarchy. Search for this technical name and you will find the common/ur/controls/xcontrols folders.
Create these folders in the public sector of mime repository and import all the images and CSS.
For DESIGN2002 and CLASSIS you have to use controls/xcontrols folder, for DESIGN2003 you go for the unified rendering: UR and COMMON.
The HTMLB-content-Tag should look like this:
<htmlb:content
id = "OZ2_01"
design = "DESIGN2003"
themeRoot = "/sap/bc/bsp/sap/public/<your name>/" >
The folder with <your name> contains the controls/controls or the ur/common folders with its content - keep the same structure and file names as in the portal.
Regards, Bernd
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.