[Seasar-user:10933] dynamic validator

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 --------------
URL: http://ml.seasar.org/archives/seasar-user/attachments/20071010/52f27125/attachment.html 

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