$BJFNSMM!"(B<br>$B%l%9$,BgJQCY$/$J$C$F$7$^$C$F$9$_$^$;$s!#(B<br><br>$BK\7o!"0J2<$N$h$&$J%5%s%W%k%3!<%I$G3NG'$G$-$k$+$H;W$$$^$9!#(B<br>$B$h$m$7$/$*4j$$$7$^$9!#(B<br><br>$B"#(BHTML<br>&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&gt;<br>//&lt;![CDATA[<br><br>&nbsp;&nbsp;&nbsp; function m04_hogePage_ajaxGetAAAOptions(res){<br>
&nbsp;&nbsp;&nbsp; alert(res[0].label);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var select = $i(&#39;aaa&#39;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for(var i=0; i&lt;res.length; i++) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alert(res[i].label);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select.options[i+1] = new Option(res[i].label,res[i].value);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; function m04_hogePage_ajaxGetBBBOptions(res){<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alert(res[0].label);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var select = $i(&#39;bbb&#39;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for(var i=0; i&lt;res.length; i++) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alert(res[i].label);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select.options[i+1] = new Option(res[i].label,res[i].value);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; function doajax() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var p = {ccc:&#39;1&#39;};<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kumu.Ajax.executeTeedaAjax(m04_hogePage_ajaxGetAAAOptions, p);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Kumu.Ajax.executeTeedaAjax(m04_hogePage_ajaxGetAAAOptions, {ccc:&#39;1&#39;});<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kumu.Ajax.executeTeedaAjax(m04_hogePage_ajaxGetBBBOptions, p);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Kumu.Ajax.executeTeedaAjax(m04_hogePage_ajaxGetBBBOptions, {ccc:&#39;1&#39;});<br>&nbsp;&nbsp;&nbsp; }<br><br>//]]&gt;<br>&lt;/script&gt;<br>&lt;/head&gt;&lt;body&gt;<br>
&lt;span id=&quot;fuga&quot;&gt;$B$U$,(B&lt;/span&gt;<br>&lt;form id=&quot;hogeForm&quot;&gt;<br>&lt;input type=&quot;submit&quot; id=&quot;doAction&quot;/&gt;<br>&lt;input type=&quot;button&quot; value=&quot;ajax&quot; onclick=&quot;doajax()&quot;/&gt;<br>
<br>&lt;select id=&quot;aaa&quot;&gt;<br>&lt;option&gt;$BA*Br$7$F$/$@$5$$(B&lt;/option&gt;<br>&lt;/select&gt;<br><br>&lt;select id=&quot;bbb&quot;&gt;<br>&lt;option&gt;$BA*Br$7$F$/$@$5$$(B&lt;/option&gt;<br>&lt;/select&gt;<br><br><br>&lt;/form&gt;<br>
&lt;/body&gt;<br>&lt;/html&gt;<br><br>$B"#(BPage$B%/%i%9(B<br>public class HogePage {<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; private static final Log log = LogFactory.getLog(HogePage.class);<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; @PageScope<br>&nbsp;&nbsp;&nbsp; public BigDecimal fuga;<br>&nbsp;&nbsp;&nbsp; public String aaa;<br>
&nbsp;&nbsp;&nbsp; public String bbb;<br>&nbsp;&nbsp;&nbsp; public String ccc;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public Class initialize() {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; log.debug(&quot;init:&quot; + fuga);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; fuga = new BigDecimal(&quot;11.2&quot;);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return null;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public Class prerender() {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; log.debug(&quot;prerender:&quot; + fuga);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return null;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public Class doAction() {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; fuga = new BigDecimal(&quot;22.3&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; log.debug(&quot;doAction:&quot; + fuga);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return null;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public String ajaxGetAAAOptions() {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; log.debug(&quot;aaaOptions called: &quot; + ccc);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return &quot;[{label:&#39;aaaHoge&#39;, value:&#39;1&#39;}, {label:&#39;aaaFoo&#39;, value:&#39;2&#39;}]&quot;;<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; public String ajaxGetBBBOptions() {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; log.debug(&quot;bbbOptions called: &quot; + ccc);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return &quot;[{label:&#39;bbbHoge&#39;, value:&#39;1&#39;}, {label:&#39;bbbFoo&#39;, value:&#39;2&#39;}]&quot;;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public String getLayout() {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return null;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <br>}<br>
<br># $BJL7o$N8!>Z$b4^$^$l$F$$$?$N$GL5BL$J%W%m%Q%F%#$bF~$C$F$$$^$9$,!#!#(B<br><br>$B$h$m$7$/$*4j$$$7$^$9!#(B<br><br><div class="gmail_quote">2008/2/13  &lt;<a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
$BJFNS$G$9!#(B<br>
<br>
&gt; Kumu.Ajax.executeTeedaAjax $B$rJ#?t2s8F$S=P$9$H$-!"0z?t$KEO$9%*%V%8%'%/%H$,F1$8(B<br>
$B$@$H(B<br>
&gt; 1$B$DL\$N%a%=%C%I$,2?2s$b8F$P$l$k$H$$$&8=>]$,5/$3$j$^$7$?!#(B<br>
<br>
$BJs9p$"$j$,$H$&$4$6$$$^$9!#(B<br>
<br>
&gt; $B$3$N$h$&$K$9$k$H!"(Bfuga1$B$,(B3$B2s<B9T$5$l$^$7$?!#(B<br>
<br>
1$BE@!"3NG'$5$;$F$/$@$5$$!#(B<br>
$B$3$N(B3$B2s<B9T$5$l$?(B fuga1 $B$bG0$N$?$a!"8+$;$FD:$1$^$9$+!)(B<br>
<br>
$B$h$m$7$/$*$M$,$$$7$^$9!#(B<br>
<div><div></div><div class="Wj3C7c"><br>
----- Original Message -----<br>
From: &quot;Mitsutaka Sato&quot; &lt;<a href="mailto:miztaka@gmail.com">miztaka@gmail.com</a>&gt;<br>
Sent: Wednesday, February 13, 2008 6:39 PM<br>
<br>
&gt; $B:4F#$H?=$7$^$9!#(B<br>
&gt; $B$$$D$b$*@$OC$K$J$C$F$*$j$^$9!#(B<br>
&gt;<br>
&gt; Kumu.Ajax.executeTeedaAjax $B$rJ#?t2s8F$S=P$9$H$-!"0z?t$KEO$9%*%V%8%'%/%H$,F1$8(B<br>
$B$@$H(B<br>
&gt; 1$B$DL\$N%a%=%C%I$,2?2s$b8F$P$l$k$H$$$&8=>]$,5/$3$j$^$7$?!#(B<br>
&gt;<br>
&gt; =================<br>
&gt; &nbsp; &nbsp; var opts = {foo: &#39;1&#39;, bar: &#39;2&#39;};<br>
&gt; &nbsp; &nbsp; Kumu.Ajax.executeTeedaAjax(hogePage_ajaxFuga1, opts);<br>
&gt; &nbsp; &nbsp; Kumu.Ajax.executeTeedaAjax(hogePage_ajaxFuga2, opts);<br>
&gt; &nbsp; &nbsp; Kumu.Ajax.executeTeedaAjax(hogePage_ajaxFuga3, opts);<br>
&gt; =================<br>
&gt;<br>
&gt; $B$3$N$h$&$K$9$k$H!"(Bfuga1$B$,(B3$B2s<B9T$5$l$^$7$?!#(B<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; Kumu.Ajax.executeTeedaAjax(hogePage_ajaxFuga1, {foo: &#39;1&#39;, bar: &#39;2&#39;});<br>
&gt; &nbsp; &nbsp; Kumu.Ajax.executeTeedaAjax(hogePage_ajaxFuga2, {foo: &#39;1&#39;, bar: &#39;2&#39;});<br>
&gt; &nbsp; &nbsp; Kumu.Ajax.executeTeedaAjax(hogePage_ajaxFuga3, {foo: &#39;1&#39;, bar: &#39;2&#39;});<br>
&gt;<br>
&gt; $B$3$N$h$&$K$7$?$H$3$m!"$A$c$s$H(Bfuga1,fuga2,fuga3$B$,<B9T$5$l$^$7$?!#(B<br>
&gt;<br>
&gt; $BIT6q9g$J$N$+;EMM$J$N$+$o$+$j$^$;$s$G$7$?$,$R$H$^$:$4Js9p$$$?$7$^$9!#(B<br>
&gt; teeda-ajax-1.0.11-SP2 $B$G$9!#(B<br>
<br>
</div></div>---<br>
$BJFNS(B $B@5L@(B<br>
<a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a><br>
<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>
</blockquote></div><br>