Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 2.0-Beta2
-
Fix Version/s: EE-2.0.0.GA, 2.0.2
-
Component/s: Framework
-
Labels:None
-
Environment:Windows 7, Java 6, Tomcat
-
ICEsoft Forum Reference:
Description
If my body element contains a onLoad attribute, ice push silently fails. See forum thread.
This is not a bug. ICEfaces relies on it's own onLoad handling logic and setting a custom function will override ICEfaces logic. When using ICEfaces, to add an onload function in a way that doesn't interfere with other onload functions that might have been registered, (including ICEpush), use:
ice.onLoad(yourCallback);
instead of using the onload handler directly. This ensures that all functions registered with onLoad are called.