Uploaded image for project: 'RichFaces Sandbox'
  1. RichFaces Sandbox
  2. RFSBOX-47

AJAX update of jQuery widgets (decoupled from richfaces.js)

    Details

      Description

      JSF AJAX update is basically removal of old DOM and addition of new one.

      In richfaces.js, we also make sure, the component is properly initialized (contructor) and destroyed (destroy method).

      Brian suggests to let new jQuery widget integration to clean up after themselves using jQuery.remove(elements) method.

      The life-cycle hook needs to be coded into richfaces.js.

      It might be event fired with payload containing which elements are going to be replaced.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bleathem Brian Leathem
                  Reporter:
                  lfryc Lukáš Fryč
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: