code: public WComponent[] getTargetsArray() {
  		List<AjaxTarget> targets = getTargets();
  		return targets.toArray(new WComponent[targets.size()]);
  	}
docs: <p>
  Get the target WComponents as an array.
  </p>
  <p>
  When the AJAX request is triggered only the target component(s) will be re-painted. If no targets have been
  registered then an empty array is returned.
  </p>
  
  @return an array of AJAX target components