code: public static NodeList toNodeList(Object o) throws PageException {
  	// print.ln("nodeList:"+o);
  	if (o instanceof NodeList) {
  	    return (NodeList) o;
  	}
  	else if (o instanceof ObjectWrap) {
  	    return toNodeList(((ObjectWrap) o).getEmbededObject());
  	}
  	throw new CasterException(o, "NodeList");
      }
docs: casts a Object to a Node List
  
  @param o Object to Cast
  @return NodeList from Object
  @throws PageException