NW2004s: Assigning a custom theme to a web dynpro running in the portal

The situation is as follows:
Some web-dynpros (for java) have a custom theme, a theme which is <b>not</b> the default theme of the portal or  the default theme for web-dynpros in general.
In NW2004 this worked as follows:
When starting a web-dynpro in the portal it checked if it was started with the right theme. If <b>not</b> the exit plug of the WD interface view was called with an Url of the WD application plus a parameter for the right theme.
This is the famous parameter sap-cssurl.
For that parameter there are some values possible:
1) sap-cssurl=http://<host>:<port>/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/mytheme
2) sap-cssurl=http://<host>:<port>/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/mytheme
3) sap-cssurl=http://<portal>:<host>/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/mytheme
The first 2 are locations of the portal environment, the last one is a location of the WD runtime environment.
As I noticed this must be a full qualified absolute Url including host and port.
This works in NW2004 for web dynpro's running standalone <b>AND</b> in the portal.
Now for NW2004s:
The 3 variants of the parameter sap-cssurl work for web dynpro's running standalone.
But now for web dynpro's which are integrated in the portal:
The exit-plug with an Url is not possible anymore, this leads to the runtime error:
<i>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application!</i>
Okay, as a first workaround I tried the portal navigation,
but somehow the supplied parameter sap-cssurl has no effect.
The code for that in the on-startup plug of the WD component:
WDPortalNavigation.navigateAbsolute(
  PCD_ID,
  WDPortalNavigationMode.SHOW_INPLACE,
  null,
  null,
  WDPortalNavigationHistoryMode.NO_HISTORY,
  null,
  null,
  "theme_set=X&" + theme,
   theme,
   false,
   true
I used there absolute portal navigation and the  parameter (sap-cssurl=...) is part of the <b>launcher parameter</b> and the <b>business parameter</b> in the call to <b>WDPortalNavigation.navigateAbsolute</b>.
But as I wrote above, this has no effect on the theme.
In the I-View the parameter "Supply portal theme" is set to <b>NO</b>, otherwise the parameter "sap-cssurl" is supplied twice (this can be seen in the poroperties of the web-page in Internet Explorer).
What I tried afterwards was setting the parameter sap-cssurl hardcoded in the "Application parameters" of the I-View. This doesn't work either.
My question is: Should this be anyway possible for a NW2004s portal?
Did anyone successfully implement this?
Kind regards,
            Erich Lind

Hi Erich,
I am facing the same problem. I am on 04 s and couldnot implement the custom theme to a web dynpro running in the portal. When I run the web dynpro app as stand alone, the custom theme applies fine. But when in portal, it takes the standard theme.
Was wondering if you figured this out.
Thanks

Similar Messages

  • What is the Web Dynpro tab on the portal page?

    Newbie here...
    I am confused between NDWS and the Web Dynpro tab on the portal page.  As I don't have access to either right now, I need to know what is required by a Portal Content Admin to maintain an application.  The Basis people do the JCO setup.  Those are the only tabs I have seen when using the Web Dynpro tab from the portal, not NDWS.  Seeing as I don't have access to either tool, and I have to ask for what I need and I don't know what I need...  Been there?
    I guess my question is the use of the two tools.
    Thanks,
    Amy Smith
    Haworth, Inc.

    Thanks so much for a quick response!
    So, the Web Dynpro Content Admin is normally a part of the content admin role.  Hmm... I get a "you are not authorized" when I click that tab, even though I can do iViews, etc. and was told I have the content admin role.  So if no one edited the rights of the content admin, I should be able to get into Web Dynpro Content Admin tool.  Is this so?  Is there any special user config, check box, etc in addition to the role?
    Is the Dynpro content admin tool useful for content admins or content developers?
    My Basis person does not want the content admin to be able to change JCO settings.  Is there a way to give the content admin rights to everything in the WDCA   except that? 
    Thanks again.  I am a J2EE developer who volunteered to take content admin and content development roles and am trying to figure out what has been done here and what needs to be done.  On top of that anyone who has been involved claims "I know nothing..."  until I ask specific questions.  It's just hard to know what the specific questions are.
    I know, training...  No money. Sigh...  I am good at doing tutorials and reading manuals and experimenting, however, I need access to the right tools and permissions first.
    Thanks again.
    --Amy Smith   Haworth, Inc.

  • Assigning a login module to a Web Dynpro application

    Hi everybody,
    I would like a Web Dynpro application to use a custom login module for authentication. How can I do this?
    What I found is the Security Provider (in the Visual Administrator tool) where I can add a login module to the "form" authentication mechanism for example. But if I do this I think all applications using this mechanism have to use my custom login module, right?
    I wonder if I have to add my Web Dynpro application as a component to the Security Provider so that I can assign login modules to it. Am I on the right way? If yes, how can I do this? If I choose "Add" from the "Policy Configurations" tab a popup appears where I can enter the name for a new component. How do I specify my application there?
    Thanks in advance for all answers,
    Torben

    Hi,
    Web Dynpro applications use the ticket authentication template. U wud need to add your login module to the ticket template's login stack.
    Incase you are accessing the Web Dynpro applications thru the EP u wud need to make changes to the authschemes.xml file too.
    regards,
    Vishal

  • How-to add a custom Web Dynpro iView to the MSS Employee Profile

    Hello everybody,
    i have created a small How-to guide of how to add a custom iView/Web Dynpro application to the standard MSS Employee Profile for ECC 6.0.
    The How-to guide can be found <a href="https://wiki.sdn.sap.com/wiki/display/profile/2007/04/15/How-toaddacustomWebDynproiViewtotheMSSEmployee+Profile">here</a>
    I hope its of any value.
    cheers,
    Markus

    Hello Luca,
    unfortunatelly it wont work. A WDA Application does not have access to the Floorplan Manager for XSS Applications. So until SAP develop an interface, you have to stick for such a task to WDJ.
    regards,
    Markus

  • Can't navigate Web Dynpro iViews in SAP Portal Environment

    We are facing a strange problem. When we try to Navigate other Tabs after refreshing Web Dynpro iView in Sap Portal Enviroment from Tray or Mouse right click or by external Popu window we are getting "can't execute code from a freed script" Error. Currently we have EP6 SP16.
    Any help ?
    Thanks
    Satyam
    Message was edited by: Satyanarayana Mandapati

    Hi Sathya,
    We have a similar Javascript error 'can't execute code from a freed script'.
    How did you solved this problem.
    Regards,
    Sekar

  • Migrating Local Web Dynpro Projects to the JDI -- labels missing

    Hi all
    I am trying to Migrating Local Web Dynpro Projects to the JDI .But the labels are missing..?.
    The runtime output is coming well. Any suggestions.Do any of you come accross this problem before?.help appreciated and I promise to award full points for best solution
    Thank you
    Regards
    Maruti

    Hi Maruthi,
    Please look at this link,
    Re: How to modify ESS  ii views code which are imported from NWDI to NWDS
    Thanks,
    Raj.

  • Hey how to upload ABAP web dynpro's in the EP server?

    Hi Folks,
    please let me know how to deploy the created ABAP Web Dynpro's into the Enterprise Portal.
    thanks ,
    NKumar

    Hi NKumar,
    You can put your web dynpro application on portal.
    We can publish web dynpro application on portal through "iviews".
    Portal eventing is necessary during a scenario where u have to communicate to another portal iview.say in portal u have your WDA app in one iview and another WDA or BSP app in another iview
    But for WDA app,navigation inside its views you would not need portal eventing.
    This Will help you,
    /people/sap.user72/blog/2006/01/05/creating-wd-abap-iview-and-the-wd-namespace
    Kindly check for following links also,
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/9f0396e1062883e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/1d/e4a34273f60b31e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/0e/a1e94205045604e10000000a155106/frameset.htm
    Hope I have answered your question.
    Cheers,
    Darshna.

  • I want to give custome error page in web dynpro application

    Hi ,
    I want to give custom error page for time out condition in my web dynpro application  .
    Kindly give me a soulation ASAP.
    Thank's and regard's.
    Vikash.

    Refer this :
    default error page
    May be it helps you.

  • Using Portal Theme for a Web Dynpro ABAP Application

    Hello everyone,
    I've created a web-dynpro abap application that I display on one of my portal pages using a Web-dynpro iView.
    Somehow, the WDA app never reads the portal theme properties and has the default SAP roadshow theme colors. I've tried almost everything including passing the theme as an application parameter using WDTHEMEROOT and WDFORCEEXTERNALSTYLESHEET params.
    Documentation states that the application should automatically read the portal's theme, but it never does.
    Interestingly, I have one more web-dynpro java application that works fine and uses the portal theme correctly.
    Am I missing anything? Are there special considerations for WDA apps to adapt to the current portal theme?
    Any ideas, suggestions, solutions would be greatly appreciated.

    >Am I missing anything? Are there special considerations for WDA apps to adapt to the current portal theme?
    What are the release and support package levels of both your ABAP system and your portal?  If the ABAP AS has a later release or SP level than the portal, the Web Dynpro framework will always fall back to using the theme of the backend ABAP system.  This is to protect the application rendering.  Running with a theme (CSS and JavaScript) from an older release or support package level could cause the application to render incorrectly.

  • SSO not working for a custom WDA application that runs in the Portal

    I have a Portal system (Java stack, NW04s) that has an iView of type webDynpro ABAP. The custom Web Dynpro ABAP application resides on another system (ABAP stack, running ECC6). We have configured the trust relationship between the Portal and the ECC system as per
    http://help.sap.com/saphelp_nw04s/helpdata/en/61/42897de269cf44b35f9395978cc9cb/content.htm
    We know this is working since we are able to run ESS. However, for the custom WebDynpro ABAP application, when calling it for the first time, a logon screen shows up. How can we get rid of it? what are we missing to have SSO work for the custom WebDynpro application?

    Please check this link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d35bb690-0201-0010-988a-d669c8530518
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fhelp%2fsdn_help_nw04s%2fsaphelp_nw04s%2fhelpdata%2fen%2f5e%2f6c85c3edf942f39349a1e337434d29%2fcontent.htm
    Hope it helps.
    Regards,
    Mona

  • Multiple versions of the same Web Dynpro application on the same SAP Portal

    I have a single application (local development) and deploy directly to a SAP Portal(NW 7.0) from NWDS Version: 7.0.15
    No problems there, works like a charm.
    But I want to have multiple versions of the same application on one portal. Eg. ill build a version 1.0 for test and deploy this. Then continue to work on version 1.1 deploying this directly on the portal. The two versions should now co-existing under different names and/or packages.
    Please help.

    Hi Kim,
    May be you can try this and see if this works for you. I am not 100% sure if it will work for you, but worth a try I guess. Create a Test WebDynpro project and try the following steps on this project. If they work  out correctly and serve the purpose for you only then try them on your actual Web Dynpro project.
    1. Create a test Web Dynpro project  say "TestWDProject" with Component say "Comp1" and the default views and windows etc.
    Also create some working application our of this component and Windows using the Context.
    2. Right click the "Comp1" and select Copy.
    3. Right click 'Components" node in the project structure and select "Paste"
    4.This step will try to paste the copy of Comp1 as a new Component.
    5. You can change the Name and Package of the Component.
    6.Similarly you'll get the prompts for views,windows etc.
    7.Once you have copied everything, Just check if everything looks good.
    8.Now you can create a new Application using this new component and the Component Interface View and Deploy it.
    9.Test whether the Application created out of this copy works same as the original component.
    You can also try to create another Web Dynpro project and paste the Comp1 in the Components node of that new project and perform the same steps.
    Again, try with these Test Projects and see if this serves your purpose before applying the steps on actual projects.
    Regards,
    Ajay

  • Urgent--custom servlet not working with https/gateway of the portal server

    We have created the custom servlet to add some more authentication to the login screen. I have explained detaildely below.
    We have set if password reset change password screen should come by using identity server.
    First screen comes which asks �user id� and �password�.
    after this next screen comes with �old password�, �New Password� and �Confirm Password� (as we have forcefully asked user to change password after reset by using identity server ).
    On this page we have added two new filed �Date of Birth� and �Date of Joining�.
    And we are forcefully transferring request to our Custom Servlet which will validate the �Date of Birth� and �Date of Joining� from the database and submit the same a form as required by Login Servlet to validate the default parameters �old Password�, �New Password� and �Confirm Password� (which is the default validation without adding custom Servlet).
    This whole process is working with �http� protocol and giving �unable to connect� host with �https� protocol.
    Without custom Servlet process is like this, which is working
    Login (usrid, password) � Login (Old Password, New Password, Confirm Password) � Portal home Page
    With custom Servlet , Which is not working with �https� Protocol. we are getting the message "Authentication Failed" screen.
    Login (usrid, password) --> Login (Old Password, New Password, Confirm Password , Date of Birth, Date of Joinig) --> Custom Servlet validate Date of Birth, Date of Joining --> Login (Old password, new Password, Confirm Password) --> Protal Home Page
    This one works with http, whereas this one gives the "Authentication Failed" screen with the https.
    Please let me know if anybody have implemented this and help me to resolve the issue.
    Best Regards
    Ramkumar

    Hi,
    I am also getting this error message in the sun ONE webserver error log file....
    [20/Nov/2004:13:42:39] failure ( 6162): for host 172.16.5.21 trying to GET /amserver/UI/Login, service-j2ee reports:
    StandardWrapperValve[LoginServlet]: WEB2792: Servlet.service() for servlet LoginServlet threw exception
    com.iplanet.jato.CompleteRequestException
    at com.sun.identity.authentication.UI.AuthenticationServletBase.onUncaughtException(AuthenticationServletBase
    .java:141)
    at com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1023)
    at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:469)
    at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
    at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:294)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
    Regards
    Ramkumar R

  • Is it possible to cal web dynpro java application using portal application?

    Hi,
    is it possible to cal web dynpro java application using j2ee portal application?
    If possible, how can it be done the parameter mapping over context area?
    Regards.

    you can just append parameter to the url as usual.
    you will write some code in the controller to get the parameters and set them to the context.

  • Web Template Publishing in the Portal

    Hi All,
    I have created web template in Web Application Designer. I can execute it from WAD to the portal.
    If I need to open it directly from Portal, How will I be able to open it? How can I save a web template in the portal.
    I tried to braodcast it from WAD to portal using Broadcaster I have mandatory variable in my query I am not being able to assign values to it in broadcaster.
    Thanks
    Raghu

    Plese look into help.sap.com & also in SDN oyu can find lot of documents which gives step by step instructions on how to
    see if this helsp:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/709e9929-755c-2a10-e4b6-845b4e65705d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20a9c8dc-735c-2a10-59ad-af77b0214e1e

  • Problem: Changing Language for Web Dynpro Java within NW Portal (i18n)

    Hi Experts out there,
    I hope all you had a nice Christmas and a big New Years Eve :)!!!
    i got a challenge for you about WD Java and internationalization (i18n)
    Here is the scenario:
    We are using a SAP NetWeaver Portal 7.0 and my task is to implement some smaller Web Dynpro  Applications.
    These Applications must be i18n conform, so i just created (according to the corresponding WD Java tutorial) some ".xlf" files.
    Okay...Everything is working fine. The user can log at the portal and the application is displayed in his language, which is "english" or "german". (the application is just a simple form)
    So far so good...Now here comes the point where it's getting tricky...
    When the user wants to change his assigned language (of the portal user) he can use the "personalize" button in the Masthead (-> change portal language). All the portal content should now be displayed in his new chosen language.
    For example the user is logged into the portal with "german" as portal language and now changes his languages settings into "english". After this everything in the portal (navigation, portal iViews ) is displayed in the changed language (from english into german) ...
    BUT: my Web Dynpro  Java Application stays as the original languages setting was. That means the whole portal is now english, but my WD Java Appl. stays german .
    Only if the user logs of and logs in again, the WD Java Appl. is displayed in the corresponding portal language...
    VERY Strange?!?!
    Can anybody give me a hint how to solve this problem?
    I guess i have to re-initiate the Web Dynpro  Application some how ...(like killing the application and restarting it ...) but is just a "weak guess"...
    Any Help / Hint is more than welcome !!!
    Cheers
    Stefan

    Hi Stefan,
    This correct see SAP Note [947081|https://service.sap.com/sap/support/notes/947081]
    If the locale for the Web Dynpro iView is changed in the portal (through portal personalization), this is not reflected in the running login session. The user needs to logoff and login again, in order to see the locale change in the Web Dynpro iView.
    Regards,
    Leo

Maybe you are looking for

  • Can I upgrade my windows laptop to mac os?

    Hi, I currently have an hp G61-410SA laptop. Can I run Mac os on it rather than windows? I would buy an iMac but am too poor My current laptop's specs are: Hardware Product Name G61-410SA Product Number VY441EA Microprocessor 1.9 GHz Intel Celeron Pr

  • 'Indesign cc' and ePub and 2014 and fonts that work across platforms

    After searching this forums and the web, I am posting the question. Does anyone know of a current 2013-2014 REFERENCE which PROVIDES a LIST of FONTS that are ACCEPTED by IPADS and KINDLES that WORK WITHOUT Any PROBLEMS. The article below is in contra

  • How can I get an extender if they are always out of stock?

    I recently moved to an area that shows on the connection maps as covered, but after reporting an issue with my service on my iPhone 5 LTE phone, I was told I was in a "fringe" area.  I was told my only options were to change to a different carrier or

  • When posting for Help on Network Magic Please Include

    Hi All, When posting for help on these forums include: Your Network Magic Version installed: 4.6.7324.0 The type of connection to the Internet, like DSL, Cable, or Verizon FIOS Internet Connection. The Brand of Modem and its Model Number the router i

  • VI "VISA Clear"

    Bonjour à tous ! J'ai utilisé le VI VISA Clear pour un projet nécessitant un port série. Ce VI me semblait utile pour vider le contenu des buffers d'entrée et de sortie et être sur de ce que j'allais envoyer au périphérique. J'ai donc utilisé ce VI j