public void setTimeout ( Object oTimeout ) throws PageException { if ( oTimeout instanceof TimeSpan ) this . timeoutInMillis = toInt ( ( ( TimeSpan ) oTimeout ) . getMillis ( ) ) ; else this . timeoutInMillis = toInt ( Caster . toDoubleValue ( oTimeout ) * 1000D ) ; // print.out(Caster.toString(timeoutInMillis)); }
set the value timeout Specifies the maximum amount of time in seconds to wait to obtain a lock . If a lock can be obtained within the specified period execution continues inside the body of the tag . Otherwise the behavior depends on the value of the throwOnTimeout attribute .