Johannes,
thanks for your help. Works a treat ;-)

regards

Andrew


On 6 Nov 2004, at 12:28, Johannes Textor wrote:

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

if(cocoon.request.get("delItem"))
if(cocoon.request.get("delItem").iterator) // no brackets, this just checks if it has an iterator at all
items.addAll(cocoon.request.get("delItem"));
else
items.add(cocoon.request.get("delItem"));


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



Reply via email to