$BN;2r$7$^$7$?!#(B<div>$B$"$j$,$H$&$4$6$$$^$7$?!#(B</div><div><br><br><div class="gmail_quote">2009/04/08 4:05 <a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a> <span dir="ltr">&lt;<a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">$BJFNS$G$9!#(B<br>
<br>
$BJ#?t9`L\$X$NF10l(Bname$BB0@-$X$N%P%j%G!<%7%g%s$O(B<br>
$B8=:_BP1~$7$F$*$j$^$;$s!#(B<br>
$BLdBj$J$$$h$&$G$7$?$i!"(Bid$B%Y!<%9$G;XDj$7$F2<$5$$!#(B<br>
<br>
<a href="http://teeda.seasar.org/ja/kumu_validate.html" target="_blank">http://teeda.seasar.org/ja/kumu_validate.html</a><br>
$B$3$A$i$N%b!<%I$N@Z$jBX$($H$$$&ItJ,$r;2>H$/$@$5$$!#(B<br>
<br>
$BD:$$$?%5%s%W%k$G$"$l$P0J2<$GF0:n$9$k$H;W$$$^$9!#(B<br>
<br>
Kumu.Validator.modeId(true);<br>
// $B%P%j%G!<%7%g%s(B<br>
KumuValidatorConf = {<br>
 &nbsp;sample1 : {&#39;MaxLength:3&#39;:maxLengthCallback},<br>
 &nbsp;sample2 : {&#39;MaxLength:3&#39;:maxLengthCallback}<br>
}<br>
<br>
$B$h$m$7$/$*4j$$$7$^$9!#(B<br>
<br>
<br>
$B@uLn8n(B $B$5$s$O=q$-$^$7$?(B:<br>
&gt; $B@uLn$G$9!#(B<br>
&gt; $BJV?.$,CY$/$J$j$^$7$F?=$7Lu$"$j$^$;$s!#(B<br>
&gt;<br>
&gt; $B2<5-$N(BHTML$B$r%V%i%&%6$G5/F0$7$^$9$H!J%5!<%P7PM3$G$J$/!"C1=c$K%V%i%&%6$N$_(B<br>
&gt; $B$G<B9T!K!"(Bid=&quot;sample1&quot;$B$N%F%-%9%H%U%#!<%k%I$N7e?t%A%'%C%/$OF0:n$9$k$N$G$9(B<br>
<div class="im">&gt; $B$,!"(Bid=&quot;sample2&quot;$B$N7e?t%A%'%C%/$,F0:n$7$J$$$h$&$G$9!#(B<br>
&gt;<br>
&gt; $B;H$$J}$r4*0c$$$7$F$$$^$9$G$7$g$&$+!)(B<br>
&gt;<br>
&gt;<br>
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&gt; &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;<br>
&gt; &quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&quot;&gt;<br>
&gt; &lt;html xmlns=&quot;<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&quot;<br>
&gt; xmlns:te=&quot;<a href="http://www.seasar.org/teeda/extension" target="_blank">http://www.seasar.org/teeda/extension</a>&quot;<br>
&gt; xmlns:t=&quot;<a href="http://myfaces.apache.org/tomahawk" target="_blank">http://myfaces.apache.org/tomahawk</a>&quot; lang=&quot;ja&quot; xml:lang=&quot;ja&quot;&gt;<br>
&gt; &lt;head&gt;<br>
</div>&gt; &lt;meta http-equiv=&quot;Content-type&quot; content=&quot;text/html; /&gt;<br>
<div><div></div><div class="h5">&gt; &lt;meta http-equiv=&quot;Content-Style-Type&quot; content=&quot;text/css&quot; /&gt;<br>
&gt; &lt;meta http-equiv=&quot;Content-Script-Type&quot; content=&quot;text/javascript&quot; /&gt;<br>
&gt; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;../../teeda/kumu.js&quot;&gt;&lt;/script&gt;<br>
&gt; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;../../teeda/event.js&quot;&gt;&lt;/script&gt;<br>
&gt; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;../../teeda/validate.js&quot;&gt;&lt;/script&gt;<br>
&gt; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot;&gt;<br>
&gt; &nbsp; &nbsp; &lt;!--<br>
&gt; function maxLengthCallback(element, result){<br>
&gt; &nbsp; &nbsp;if(result){<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;element.style.backgroundColor = &#39;#ffffff&#39;;<br>
&gt; &nbsp; &nbsp;}else{<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;element.style.backgroundColor = &#39;#ffc0cb&#39;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;element.blur();<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;alert(this.value + &quot;$B7e0J2<$GF~NO$7$F$/$@$5$$!#(B&quot;);<br>
&gt; &nbsp; &nbsp;}<br>
&gt; }<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; // $B%P%j%G!<%7%g%s(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; KumuValidatorConf = {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lengthSample : {&#39;MaxLength:3&#39;:maxLengthCallback}<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; }<br>
&gt;<br>
&gt; &nbsp; &nbsp; // --&gt;<br>
&gt; &nbsp; &nbsp; &lt;/script&gt;<br>
&gt; &lt;/head&gt;<br>
&gt; &lt;body&gt;<br>
&gt; &nbsp; &nbsp; &lt;form id=&quot;form&quot;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span id=&quot;allMessages&quot; &gt;&lt;/span&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;table&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;Length(1)&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;text&quot; id=&quot;sample1&quot;<br>
&gt; name=&quot;lengthSample&quot; /&gt;&lt;/td&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;Length(2)&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;text&quot; id=&quot;sample2&quot;<br>
&gt; name=&quot;lengthSample&quot; /&gt;&lt;/td&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt;<br>
&gt; &lt;/form&gt;<br>
&gt; &lt;/body&gt;<br>
&gt; &lt;/html&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; 2009/04/06 14:30 &lt;<a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a> &lt;mailto:<a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a>&gt;&gt;:<br>
<div class="im">&gt;<br>
&gt; &nbsp; &nbsp; $B@uLn$5$s(B<br>
&gt; &nbsp; &nbsp; $BJFNS$G$9!#(B<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $B@uLn$H?=$7$^$9!#(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Kumu$B$N%P%j%G!<%7%g%s$G!"9`L\$r(Bname$BB0@-$G;XDj$9$k>l9g$G$9$,!"J#?t(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $B9`L\$KF1$8(Bname$BB0@-$r;XDj$7$?>l9g!"(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; 1$B$DL\$N9`L\$G$7$+%P%j%G!<%7%g%s$,<B9T$5$l$^$;$s!#(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $B%=!<%9$r8+$k$HJ#?t9`L\$KBP1~$9$k$h$&$K8+<u$1$i$l$k$G$9$,!"J#?t9`(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $BL\$KBP1~$7$F$$$J$$$N$G$7$g$&$+!)(B<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; $B:#!";~4V$,<h$l$J$$$N$G$9$0BP1~=PMh$^$;$s$,(B<br>
&gt; &nbsp; &nbsp; $B4JC1$KF0:n3NG'2DG=$J:G>.8B$N%5%s%W%k$rD:$/;v$O(B<br>
&gt; &nbsp; &nbsp; $B2DG=$G$7$g$&$+!)(B<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; ----- Original Message ----- From: &quot;$B@uLn8n(B&quot; &lt;<a href="mailto:asano1225@gmail.com">asano1225@gmail.com</a><br>
</div>&gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:asano1225@gmail.com">asano1225@gmail.com</a>&gt;&gt;<br>
<div class="im">&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $B@uLn$H?=$7$^$9!#(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Kumu$B$N%P%j%G!<%7%g%s$G!"9`L\$r(Bname$BB0@-$G;XDj$9$k>l9g$G$9$,!"J#?t(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $B9`L\$KF1$8(Bname$BB0@-$r;XDj$7$?>l9g!"(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; 1$B$DL\$N9`L\$G$7$+%P%j%G!<%7%g%s$,<B9T$5$l$^$;$s!#(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $B%=!<%9$r8+$k$HJ#?t9`L\$KBP1~$9$k$h$&$K8+<u$1$i$l$k$G$9$,!"J#?t9`(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $BL\$KBP1~$7$F$$$J$$$N$G$7$g$&$+!)(B<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; teeda$B$N%P!<%8%g%s$O!"(B1.0.13-sp6$B$K$J$j$^$9!#(B<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $B$h$m$7$/$*4j$$$$$?$7$^$9!#(B<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Seasar-user mailing list<br>
</div>&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a> &lt;mailto:<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a>&gt;<br>
<div class="im">&gt; &nbsp; &nbsp; &nbsp; &nbsp; <a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; ---<br>
&gt; &nbsp; &nbsp; $BJF(B $BNS!!@5(B $BL@(B<br>
&gt; &nbsp; &nbsp; <a href="http://www.abby.co.jp" target="_blank">http://www.abby.co.jp</a><br>
&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; Seasar-user mailing list<br>
</div>&gt; &nbsp; &nbsp; <a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a> &lt;mailto:<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a>&gt;<br>
<div class="im">&gt; &nbsp; &nbsp; <a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
<div><div></div><div class="h5">&gt; Seasar-user mailing list<br>
&gt; <a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
&gt; <a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
<br>
---<br>
$BJF(B $BNS!!@5(B $BL@(B<br>
<a href="http://www.abby.co.jp" target="_blank">http://www.abby.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" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
</div></div></blockquote></div><br></div>