[Seasar-user:10933] dynamic validator

=?GB2312?B?wO7A1g==?= [E-MAIL ADDRESS DELETED]
2007年 10月 10日 (水) 14:12:05 JST


<input type="text" id="number" />

<input type="submit" value="³ÐÕJ" class="button" id="doApprovalConfirm" />

public Validator getDateValidator() {
ValidatorChain chain = new ValidatorChain();
TRequiredValidator validator = new TRequiredValidator();
if (number != 0) { chain.add(validator); }
return chain;
}

I can't get the input value of number . Why?
I want to dynamic validator the Date accroding to the number.
what should i do?
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071010/52f27125/attachment.html 


Seasar-user メーリングリストの案内