8 Replies Latest reply on Sep 18, 2007 9:13 AM by Allan Dewar

    portal-themes.xml is destructive to theme HTML

    Byron McCollum Newbie

      I do not like the fact that my HTML assets in portal-themes.xml are mangled by JBoss portal. I consider this a bug and it should be fixed immediately. It is present in 2.4 and 2.6 DR1.

      Please do not change my double quotes to single quotes.
      Please do not change my empty script tags to self closing script tags.
      Please do not add extraneous spaces (Look between script and src).
      Please do not strip any of my attributes (charset is missing).

      For example, in portal-themes.xml...

      <script type="text/javascript" charset="utf-8" src="/themes/mytheme/scripts/lib/overlib.js"></script>


      <script src='/portal-core/themes/mytheme/scripts/lib/overlib.js' type='text/javascript' />

      When you do this, IE thinks everything after the script tag is JavaScript source, so the whole page ends up being rendered as a blank page.

      Please, just try to no think for me, cause you keep doing things wrong...utterly wrong...