code: public void setIdAttribute(String name, boolean isId) throws DOMException {
  	// dynamic load to support jre 1.4 and 1.5
  	try {
  	    Method m = element.getClass().getMethod("setIdAttribute", new Class[] { name.getClass(), boolean.class });
  	    m.invoke(element, new Object[] { name, Caster.toBoolean(isId) });
  	}
  	catch (Exception e) {
  	    throw new PageRuntimeException(Caster.toPageException(e));
  	}
      }
docs: used only with java 7, do not set @Override