• kenny.mccoll
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

Apologies if this shows up twice... the form just ate my first attempt at this...

 

I have a fairly standard visualforce page and it appears to be loading the standard CSS files twice.  The relevant page definition

 

<apex:page showHeader="true" sidebar="false"  >

 

 The standard CSS files loaded:

 

1288206287000/Theme3/default/common.css
1288206287000/Theme3/default/common.css
1288206287000/Theme3/default/elements.css
1288206287000/Theme3/default/elements.css
1288206287000/Theme3/default/extended.css
1288206287000/Theme3/default/extended.css
1288206287000/Theme3/default/setup.css
1288206290000/Theme3/00DS00000007fNA/00580000003Lgwi/dCustom0.css
1288206290000/Theme3/00DS00000007fNA/00580000003Lgwi/dCustom0.css
1288206290000/Theme3/dStandard.css
1288206290000/Theme3/dStandard.css

 

 

Only the newly released setup styling is not loaded twice.

 

I can "fix" this by setting showHeader="false" but obviously this also switches the header off (duh!) 

 

I have noticed that switching the header off saves about 1/2 a second in the page load time.  I doubt that the double loading of these files takes that amount of time, but my page contains a moderately complex ExtJS grid and I am wondering if the rendering is slowed down considerably by the double processing of the CSS rules.  One of my clients insists that performance has degraded across the board since the new UI came in and I am wondering if this is a contributing factor.

 

With a bit more investigation:

 

showHeader false, standardStylesheets false -- no standard files loaded (correct)

showHeader false, standardStylesheets true -- files loaded once (correct)

showHeader true, standardStylesheets false -- files loaded twice (incorrect, but not really a valid setting)

showHeader true, standardStylesheets true --  files loaded twice (incorrect)

 

Anybody else noticed this?  Any workarounds?  Any plans to fix?   

 

I've also seen some issues with font sizes on legacy visualforce pages - maybe double processing of % sizes???? 

 

 

Anybody seen this one before?... I have a page with several panelBars on it, and it works fine... until I included jquery in the page.  No other javascript added, just adding this line stops the panelBar items from opening:

 

 

<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"/>

 

 

 

Also seems to break tabPanel...  (both tabPanel and panelBar had switchType="client")

 

Is this a known bug?  Any workarounds?

 

Thanks...

kenny

Anybody seen this one before?... I have a page with several panelBars on it, and it works fine... until I included jquery in the page.  No other javascript added, just adding this line stops the panelBar items from opening:

 

 

<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"/>

 

 

 

Also seems to break tabPanel...  (both tabPanel and panelBar had switchType="client")

 

Is this a known bug?  Any workarounds?

 

Thanks...

kenny