2 Replies Latest reply on Jul 18, 2008 9:39 AM by darmstadter

    Can not selection in rich:orderingList

      I have tow rich:orderingList, the first is used for show the list of files, after select many files from datatable. Another is used for update the list of files. The first orderingList works fine, but the second hast problem of Selection, you can not change the order of the list of files. The difference of the both orderingList is only when will be rerendered. The first will be rerendered after selection files from datatable, the second will be shown directly . I have tried to reRender the orderingList before the pop up, aber it dosn't work. I can give you the screenshot late.

        • 1. Re: Can not selection in rich:orderingList

          with mouse click can not select, but with keyboard: up/down you can selection, and enabled buttons:up, down/ frist, last. with debug found:
          the java script function is called by keyboard.

          LayoutManager.getElemXY = function(elem) {
          64 var x = elem.offsetLeft;
          65 var y = elem.offsetTop;
          66
          67 for (var parent = elem.offsetParent; parent; parent = parent.offsetParent) {
          68 x += parent.offsetLeft;
          69 y += parent.offsetTop;
          70 }
          71 return {left: x, top: y};
          72}


          • 2. Re: Can not selection in rich:orderingList

            the orderingList is embed in Modalpanel, it works only the modalpanel is shown two times . It can be rerendered correctly. Anyone hat idea? thanks in advance.