Skip to Content
author's profile photo Former Member
Former Member

changing themes at run time

hi,

i want to change the bSP application theme for specific users based on their login data.(ex username and password)

is there anyway to do that ?

i m not using MVC concept, just a login page and the theme based on that.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 16, 2005 at 12:39 PM

    thanx for reply.

    I tried placing my own theme (ex:- Zanxtheme1) in design attribute but it is giving me a compilation error.

    i have created this theme in sap itself in theme editor .

    Add a comment
    10|10000 characters needed characters exceeded

    • That's logical when you take a closer look at the htmlb:content element you will see that only the following themes are allowed for the design attribute: 'CLASSIC/DESIGN2002/DESIGN2003'

      Please read this topic perhaps it contains useful information regarding your problem:

      Changing BSP Theme

      And this weblog:

      /people/sap.user72/blog/2005/04/12/bsphowto-css-hints--custom-design-for-your-bsp-applications

  • Posted on Feb 16, 2005 at 11:47 AM

    Of course, you can just specify the theme you want to use in the content tag as a variable:

    <htmlb:content design="<%= myDesign %>">

    </htmlb:content>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.