Hello,<br><br>I need to get the property values in validator Class.<br><br>I followed this link<br><a href="http://ml.seasar.org/archives/seasar-user/2008-April/013811.html">http://ml.seasar.org/archives/seasar-user/2008-April/013811.html</a><br>
<br>I got the null value.<br><br><br>Ths following is my Page class<br><br> @Check(messageId="E01")<br> public String joblevel;<br> <br> public String levelname;<br><br> public String description;<br>
<br><br><br><br>This is my coding in Validator Class<br><br> UIViewRoot viewRoot = context.getViewRoot();<br> UIComponent levelname = viewRoot.findComponent("layoutChildBody:joblevelmasterCreateForm:levelname");<br>
<br> System.out.println("UIComponent--------------------->"+levelname);<br> System.out.println("UIInput------------------------------->"+((UIInput)levelname));<br> System.out.println("Value---------------------------------->"+((UIInput)levelname).getValue());<br>
<br><br>I got the following values in Console.<br><br>UIComponent--------------------->org.seasar.teeda.extension.component.html.THtmlInputText@757b62<br>UIInput------------------------------->org.seasar.teeda.extension.component.html.THtmlInputText@757b62<br>
Value---------------------------------->null<br><br><br>What mistake i made in my coding?<br><br>Thanks in advance,<br>トマス<br>