Andrew wrote:
Hi Jason,

    Sorry, I thought it was optional.  But no big deal, just set it to the
    same as your value-path.



Unfortunately it is bit of a design issue and I do not need it displayed on the screen. Is there no way at all this value can be optional?!

Interesting, so how do users know what items they're deleting if you don't display them?

Anyway, if that's really what you need then you can override the styling so that it does not display the item labels.

Or something you might try first -- I haven't tried this so I don't know for sure if it will work -- is since it uses a (J)XPath expression to resolve the label, feed it an XPath expression that always returns an empty string. Maybe like label-path="''"?


    Should be list-type="checkbox".


Spot on again, thanks. When I select a value to be deleted none of them are being deleted. If memory serves me correctly I need to convert the array type to a collection and then obtain an iterator on the collection right?

Again the flow code is unchanged:

        delItems = bizData.delItem ;
        var items = new java.util.Vector();
if (parseInt(bizData.quantity) || delItems != null) {
            try {
if (delItems != null) { if (delItems.iterator) { // A list of delItems have been selected to be deleted.
                      items.addAll(delItems);
                      deleteOrderItem2(items);
} else { //A single delItem has been selected to be deleted.
                      items.add(delItems);
                      deleteOrderItem2(items);
                   }
                }


Does it have to be a java.util.Vector specifically or will any java.util.Collection or List do? If the latter then you can just do:

var items = java.util.Arrays.asList(delItems); //returns java.util.List

If you really need a Vector you can then create one from that List:

var itemsVector = new java.util.Vector(items);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]