Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-2.0.0.Alpha1
-
Fix Version/s: EE-2.0.0.Beta1
-
Component/s: Facelet Components
-
Labels:None
-
Environment:IE 8, safari and chrome and tomcat 6
Description
The popup rounded corners example seem to work OK on FF on first load. However, ie8, safari and chrome show square corners until the browser is refreshed.
Further work needs to be done to find out why the rounded corners JavaScript is not be loaded on first load.
Further work needs to be done to find out why the rounded corners JavaScript is not be loaded on first load.
An unneeded bean reference that was in the component nested javascript was inserting characters that caused some problems when it came time for JSF to add that javascript to a DOM node; but only on certain browsers. Removed it and things are working fine.
---------------------------------------------
IPCK-214Component Javascript segment previously had reference to roundCornersConfig bean for no apparent reason. Wasn't used in a data binding, bean wasn't even configured in faces-config. Removed it and the already commented out outputScript, and the javascript is being executed correctly.
The annotations in the class ResourceLoadingComponent in the compat-composite-components project is responsible for nifty.js being inserted into the page.
[Jan 31, 11:31:49] Committing "/compat-composite-components/web/roundcorners/round_corners.xhtml"...
Sending '/compat-composite-components/web/roundcorners/round_corners.xhtml'
Transmitting file data for '/compat-composite-components/web/roundcorners/round_corners.xhtml'
Committed revision 26026 by user "nils.lundquist".
[Jan 31, 11:58:19] Finished operation.