0 Replies Latest reply on Jan 31, 2008 8:16 PM by x y

    RichFaces.SelectItem bug?

    x y Newbie

      hi - i put the line below into moveItem function in ListShuttle.js to find out what the label (as defined in SelectItem.js) is, so i can cancel moving to the right. why, bc if the clicked item is a category (DETERMINED BY A "+" PREFIX THAT I ADDED IN THE TOSTRING CONVERTER), not an item, i will refresh the left hand side by drilling down using the VALUE of the selected item.

      alert(item._node._label); // returns null.

      however, this code below returns an pseudo xml that looks like "ge1". i made it slightly simpler.


      so my question is, why _label returns null. and how can i get the value and label out of the selected item in a shuttle list.