Skip to Content
avatar image
Former Member

Portal incompatibility mode: iView is not compatible with your browser,..

Hi,

I have created Portal-IView, which supported the properties on user agents msie> = 5.5 is set. Now I get an error message when I call the on portal. Now the question

how can I customize this message? I want to integrate a static html page for this one?

Error Message: "iView is not compatible with your browser, operating system or device. Contact your system administrator."

Can anyone help?

Best regards,

Dennis Breuer

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 02, 2008 at 08:45 AM

    Hi,

    depends if you want to customize it locally for your application or globally for the whole portal.

    1) locally means, if you have an AbstractPortalComponent overload the default method:

      
      public void doBadUserAgent(IPortalComponentRequest request, IPortalComponentResponse response) {
        response.write("Wow! Your browser is not compatible!<br>Go and get another one!");
      }
    

    2) globally - create AbstractPortalComponent with the above defined method. Let's say it the component name is "MyBadUserAgentComponent". In portalapp.xml define just ander "application" section a registry entry:

    <application>
      <registry>
        <entry path="/runtime/prt.modes/badUserAgent" name="MyBadUserAgentComponent" type="component" rebind="true"/>
      </registry>
      <application-config>
      ...
    

    deploy and check the entry in portal registry (System admin -> Support -> Support desk -> Portal runtime -> portal Registry Browser)

    Let me know if that worked.

    Romano

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 04:35 PM

    Hi Romano,

    you are perfect. Thank you very much.

    Best regards,

    Dennis Breuer

    Add comment
    10|10000 characters needed characters exceeded