ICEfaces
  1. ICEfaces
  2. ICE-6342

ICEPush not working when html body element contains attribute onLoad

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

      Description

      If my body element contains a onLoad attribute, ice push silently fails. See forum thread.

        Activity

        Hide
        Björn Behrens added a comment -

        Facing the same behavior with IceFaces 2.0.0.

        Show
        Björn Behrens added a comment - Facing the same behavior with IceFaces 2.0.0.
        Hide
        Deryk Sinotte added a comment -

        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.

        Show
        Deryk Sinotte added a comment - 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.

          People

          • Assignee:
            Unassigned
            Reporter:
            Andreas Sjoholm
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: