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

problem with EP themes in a visual Composer Application

Hello

I am working with an SAP EP 7.0 and I have done an application with visual Composer.

Runtime is flash and "Enable styling of flex control in portal themes" is set on

When I log to portal with fully qualified domain (hostname.domain) the application does not apply theme if I use only hostname then themes is displayed.

Does anyone have any suggestion?

thanks in advance

regards

Matteo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 26, 2008 at 06:05 AM

    Hi,

    After selecting the Enabling of Themes.

    Just deploy and run the model from VC and then Check Priview and Runtime link.

    Now you will get with out any Problem.

    Which SP u are working?

    Regards,

    Govindu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 18, 2008 at 09:56 PM

    Hi Matteo,

    did you solve your problem? I have exactly the same issue (im working on 7.0 SPS15).

    The customized theme only works if i call the portal like http://<host>:<http-port>

    Fully qualified domains and even https://<host>:<https-port> are not working and the standard theme is used instead.

    I deployed the model (with "Enable styling of flex control in portal themes" checked) and saved my theme many times but it does not work.

    Did you find the error?

    Many thanks

    Regards

    Alex

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Alex,

      Thanks for the files. It looks like code is running but the actual fetching of the style parameters is not being done.

      What's being done here, is that the java code generates a reuqest (on the server side - not from the browser) for getting the styles parameters. For some reason, the request is never answered and therefore you don't see your theme in the VC application.

      I suspect that the portal server itself does not "know" the FQDN of itself (I wonder if it's possible at all - but I guess everything is possible, or that you do something with the FQDN on the DNS server.

      Can you try to access the portal using ip address (I know it's not recommended - just for the test) and see if it works or not? If it does work, check that you can access the portal (with FQDN) using a browser that's installed on the portal server itself (if it's a windows machine). If you can't, it means that you need to change something in your network settings (I'm not an expert in this area - check with your sys admin)

      Best regards and greetings from Israel,

      Natty

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2008 at 08:02 AM

    Sorry I used a wrong user.

    Matteo

    Edited by: Marco Giorgio on May 21, 2008 10:10 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2008 at 08:11 AM

    Hi all

    thanks for your answers

    the problem is still open but we found out that on production landscape it works fine (the problem is only on dev environment)

    May be it's due to istallation

    Matteo

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Natty,

      many thanks for your explanation, that the server starts the request. That helped really.

      As you suggested the server really didn´t know his own FQDN only the normal hostname.

      I added the entry <host.domain> in my hosts file on the server and the styles work now!

      But unfortunately my productive environment works with https and over a Reverse Proxy.

      I also added an entry for the adress over Reverse Proxy, but no luck...

      Also the direct call to the server with https (with https port) is not working (perhaps the problem is that the https certificate on J2EE-Engine is not officially signed).

      Is there a way to set a fix adress the server should always use to call the styles for VC (Configuration file, J2EE engine or anywhere else)?

      Or is the request generally generated with the adress the VC application is called with over the browser?

      If yes that would be an suggestion for further releases, because in an complex environment you can run into problems that way 😊 and a server-side call <http-host>:<http-port> would always work whatever adress is called in the browser.

      Is there a maybe a way?

      Thanks

      Greetings

      Alex

      P.S: Matteo if the hosts entry works for you could you please assign points to Natty? I can´t give him any, because its not my thread...or is there a way??

  • Posted on May 21, 2008 at 12:16 PM

    The server URL is taken from the request object (hence - from the URL that was used to call the iView in the browser). Unfortunately, there is no way to configure it in a conf. file. (Although it's a good idea).

    I don't know what you did when you say "I also added an entry for the adress over Reverse Proxy, but no luck... ". I think that you should add an entry in the hosts file that resolves the FQDN of the reverse proxy server to the internal server IP address (it's worth the test)

    Let me know if it helps,

    Natty

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Natty,

      I only wanted to provide you with final information for this issue.

      I meanwhile managed it that the right styles are taken.

      In an complex environment with Reverse Proxy and https you have to do the following:

      - Create an hosts entry on the portal server with the ip which is behind the adress which is called over the reverse proxy (in our case portal.intersport.de --> 193.28.96......), so you have to take the external IP which is also called by the clients. If theres already a DNS entry with the right IP you don´t have to do that, important is what the ping from server to reverse proxy gets back

      - allow the connect in your firewalls from Portal Server to Reverse Proxy : Port (in our case 193.28.96...:443), so that a telnet gets through on this port.

      - restart J2EE because it seems to cache the "wrong" style

      Now everything is fine 😊

      Greetings from Germany

      Alex

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.