Œę¤ˇ¤Ţ¤ˇ¤żĄŁ¤˘¤ę¤Ź¤Č¤Ś¤´¤ś¤¤¤Ţ¤šŁĄ¤Ď¤Ď¤ĎĄŁĄŁĄŁ<br><br>
<div><span class="gmail_quote">2007/10/10, Yasuo Higa &lt;<a href="mailto:higa@isid.co.jp">higa@isid.co.jp</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi, guys.<br>&gt;<br>&gt; Can&#39;t get params..<br>&gt;<br>&gt; When i use &quot;params.get(&quot;form:date&quot;) != null&quot;, it throws params is null.
<br>&gt;<br>&gt; Is there anything else i should do?<br>&gt;<br>Sorry, I was wrong. m(_ _)m<br>&quot;param&quot; is correct.<br>So, you should define your page class as follows:<br><br>private Map param;<br><br>public Map getParam() {
<br>return param;<br>}<br><br>public void setParam(Map param) {<br>this.param = param;<br>}<br><br>public Validator getDateValidator() {<br>ValidatorChain chain = new ValidatorChain();<br>TRequiredValidator validator = new TRequiredValidator();
<br>if (param.get(&quot;TestForm:date&quot;) != null) {<br>&nbsp;&nbsp; chain.add(validator);<br>}<br>return chain;<br>}<br><br>--<br>Yasuo Higa<br><a href="mailto:higa@isid.co.jp">higa@isid.co.jp</a><br>_______________________________________________
<br>Seasar-user mailing list<br><a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br><a href="https://ml.seasar.org/mailman/listinfo/seasar-user">https://ml.seasar.org/mailman/listinfo/seasar-user</a>
<br></blockquote></div><br>