code: public void setTimeout(Object timeout) throws PageException {
  	if (timeout instanceof TimeSpan) this.timeout = (TimeSpan) timeout;
  	// seconds
  	else {
  	    int i = Caster.toIntValue(timeout);
  	    if (i < 0) throw new ApplicationException("invalid value [" + i + "] for attribute timeout, value must be a positive integer greater or equal than 0");
  
  	    this.timeout = new TimeSpanImpl(0, 0, 0, i);
  	}
      }
docs: set the value timeout
  
  @param timeout value to set
  @throws ExpressionException