Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-350

A4J CheckBoxes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0 GA
    • Fix Version/s: 5.0.0 GA
    • Component/s: Seam / JSF UI
    • Environment:
      All and especially

      Description

      I have tried to don't include the list in a4j reload, but the problems exposed below still persist.
      I really think it is better not to use a4j here...

      Here is the original mails :
      > I want to talk about a4j, cause i have noticed some problems :
      > - Mainly, when we click two checkbox one after all (not necesarly really
      > quick), it throws an exception (that actually change the page to a full
      > text)
      > - On IE, when you click on a checkbox, and after a D&D to move an item in
      > a folder, it crashes badly IE (6 and 7).
      >
      > I am not sure it is really useful to put a4j on checkbox, and it seems it
      > has some issues with script.aculo.us.
      >
      > What do you think?

      Ajax 4 JSF on checkboxes is at least useful for one thing: update the "disabled"
      attribute of bottom buttons (copy / paste / delete) according to the rights and
      the state of the document you have selected.

      As for reupdating the state of the list, I think this is a design mistake since
      it is not scalable:

      load 100 docs or more in your repository, go to the search form and do a "SELECT

      • from Document" to get a flat clipboardable list of all the documents in your
        repository. Every time you click on a checkbox the request is redone just to
        updated the selected state of the checkboxes. If the request time is longuer
        than the delay between two checkbox clics, you'll get an error.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: