[Seasar-user:18021] Re: 【Teeda】複数のプロパティを使用したValidatorの作り方

Koichi Kobayashi [E-MAIL ADDRESS DELETED]
2009年 7月 17日 (金) 21:00:20 JST


小林 (koichik) です.

Date:    Fri, 17 Jul 2009 15:11:11 +0900
From:    thomas <[E-MAIL ADDRESS DELETED]>
To:      [E-MAIL ADDRESS DELETED]
Subject: [Seasar-user:18020] 【Teeda】複数のプロパティを使用したValidatorの作り方

> System.out.println("Value---------------------------------->"+((UIInput)levelname).getValue());
> 
> 
> I got the following values in Console.
> 
> UIComponent--------------------->[E-MAIL ADDRESS DELETED]
> UIInput------------------------------->[E-MAIL ADDRESS DELETED]
> Value---------------------------------->null
> 
> 
> What mistake i made in my coding?

use UIInput#getSubmittedValue() not UIInput#getValue() 
in Validator#validate() method.


-- 
<component name="koichik">
    <property name="fullName">"Koichi Kobayashi"</property>
    <property name="email">"[E-MAIL ADDRESS DELETED]"</property>
    <property name="blog">"http://d.hatena.ne.jp/koichik"</property>
</component>



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