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