[Seasar-user:4744] Re: [S2JSF]s:forEach内のf:paramでは計算式の値は渡せない?
takemura
[E-MAIL ADDRESS DELETED]
2006年 10月 4日 (水) 21:43:01 JST
$BJFNS(B $BMM(B
takemura$B$G$9!#(B
> $B$D$^$j!"%9%3!<%W$,%j%/%(%9%H;~$O<!$N%j%/%(%9%H;~$K(B
> hogeValue$B$O?7$?$K%$%s%9%?%s%9$[E-MAIL ADDRESS DELETED]@.$5$l$^$9$N$G(B
> $B%l%s%@%j%s%0$5$l$?(BhogeValue$B$H$O%$%s%9%?%s%9$,(B
> $B0[$J$k$H$$$&F0$-$G$9!#(B
> S2JSF$B$N=hM}$NN.$l$H$7$^$7$F$O!"(Bf:param$B$r!"(BRequest$B$KJ]B8$7(B
> html$B$G(Brequest$B$+$iCM$r<hF@$9$k$H$$$&N.$l$K$J$C$F$$$^$9!#(B
$B$"$j$,$H$&$4$6$$$^$9!#(BS2JSF$B$NF0$-$,>/$7M}2r$9$k;v$,=PMh$^$7$?!#(B
$B:#$^$G(BStrtust$BEy$N%j%/%(%9%H%H%j%V%s$N3+H/$P$+$j$d$C$F$$$?$N$G(B
$B:G=*E*$[E-MAIL ADDRESS DELETED]@.$5$l$k(Bhtml$B$P$+$j$KL\$r8~$1$F$$$^$7$?!#(B
JSF$B$@$H:G=*E*$J(Bhtml + $B%5!<%PB&$N%3%s%]!<%M%s%H%D%j!<$,$"$k$N(B
$B$G$7$?$M!#<+J,$N>l9g!"$[$H$s$I(BStrtus$BG>$K$J$C$F$$$k$N$G(BJSF$B$K(B
$B$J$l$k$^$G;~4V$,$+$+$j$=$&$G$9$,!"$J$s$H$+$,$s$P$C$F$_$^$9!#(B
$B$"$j$,$H$&$4$6$$$^$7$?!#(B
----- Original Message -----
From: <[E-MAIL ADDRESS DELETED]>
To: <[E-MAIL ADDRESS DELETED]>
Sent: Tuesday, October 03, 2006 7:06 PM
Subject: [Seasar-user:4736] Re:[S2JSF]s:forEach$BFb$N(Bf:param$B$G$O7W;;<0$NCM$OEO$;$J$$!)(B
> $BJFNS$G$9!#(B
> $B2sEz$,CY$l$F$9$_$^$;$s!#(B
>
> From: "takemura" <[E-MAIL ADDRESS DELETED]>
> Sent: Sunday, October 01, 2006 11:03 PM
>
>> takemura$B$G$9!#(B
>>
>> > $B?dB,$G$9$,!"(BforEach$B$G;XDj$9$k%3%s%]!<%M%s%H$N%9%3!<%W$,(B
>> > Request$B$K$J$C$F$$$k$N$G$O$J$$$G$7$g$&$+(B?
>>
>> $B$O$$!#%9%3!<%W$O%j%/%(%9%H$G$7$?!#!J(BAction$B$G(Bgetter$B$G8F$P$l$kCM!K(B
>> $B%;%C%7%g%s$N(BDTO$B$K$7$?$H$3$m!"$&$^$/F0:n$OCW$7$^$7$?!#(B
>> $B$7$+$7!"$J$<%;%C%7%g%s%9%3!<%W$G$J$1$l$P$$$1$J$$$N$+$,$o$+$j$^$;$s!#(B
>
> hogeValue $B$,%j%/%(%9%H%9%3!<%W$N>l9g(B
> $B2hLL$K%l%s%@%j%s%0$5$l$k:]$N!"(BEL$B<0(B(#{i * hogeValue})
> $B$H<!$N%j%/%(%9%H;~$N(BEL$B<0$NI>2A$,0[$J$j$^$9!#(B
> $B$D$^$j!"%9%3!<%W$,%j%/%(%9%H;~$O<!$N%j%/%(%9%H;~$K(B
> hogeValue$B$O?7$?$K%$%s%9%?%s%9$[E-MAIL ADDRESS DELETED]@.$5$l$^$9$N$G(B
> $B%l%s%@%j%s%0$5$l$?(BhogeValue$B$H$O%$%s%9%?%s%9$,(B
> $B0[$J$k$H$$$&F0$-$G$9!#(B
> S2JSF$B$N=hM}$NN.$l$H$7$^$7$F$O!"(Bf:param$B$r!"(BRequest$B$KJ]B8$7(B
> html$B$G(Brequest$B$+$iCM$r<hF@$9$k$H$$$&N.$l$K$J$C$F$$$^$9!#(B
>
> $B$G$9$N$G!"0[$J$k%j%/%(%9%H$GCM$r0z$-7Q$.$?$$>l9g$O(B
> $B%3%s%]!<%M%s%H$N%9%3!<%W$r%;%C%7%g%s$K$9$k$+(B
> hidden$B$rMxMQ$7$FCM$r0z$-7Q$0I,MW$,$"$j$^$9!#(B
> $B:#2s$N>l9g$G$9$H!"(BhogeValue$B$r(Bhidden$B$G0z$-7Q$$$G(B
> Action$B$K(BhogeValue$BMQ$N(Bsetter$B$rMQ0U$9$kJ}K!$,9M$($i$l$^$9!#(B
>
> $B$^$?0J2<$N<ALd$K4X$7$F$G$9$,(B
>
>> S2JSF$B$C$F%j%/%(%9%H%Q%i%a!<%?$NJQ?tL>$N%;%C%?!<$KCM$,%;%C%H$5$l$kF0:n$r(B
>> $B$9$k$N$@$H2r<a$7$F$^$9$,(B
>
> S2JSF$B$K$*$1$k(BAction$B$KBP$9$k%;%C%?!<%$%s%8%'%/%7%g%s$O(B
> $B%j%/%(%9%H%Q%i%a!<%?$h$j$b(Bf:param$B$NCM$,(Bnull$B$G$J$1$l$P(B
> f:param$B$NJ}$,M%@h$5$l$^$9!#(B
>
> $B$h$m$7$/$*4j$$$7$^$9(B
>
>> <span m:inject="s:forEach"
>> m:items="#{testList}"
>> m:var="e" m:varIndex="i">
>>
>> <a m:action="#{testAction.doMethod1}">
>> <span m:value="#{i}" />
>> <span m:inject="f:param" m:name="name"
>> m:value="#{i * hogeValue}"/>$B!!-!(B
>> </a><br/>
>> </span>
>>
>> $B-!$N(BhogeValue$B$,%j%/%(%9%H%9%3!<%W$NCM$@$H$@$a$N$h$&$G$9!#(B
>> $B-!$NItJ,$,(B
>> m:value="#{i * 5}"
>> m:value="#{i}"
>> $B$OJ?5$$G$9!#(B
>>
>> $B$o$+$i$J$$$N$O(B
>> m:value="#{i * hogeValue}"
>> $B$G%j%/%(%9%H%9%3!<%W$N(BhogeValue$B$G$b$-$A$s$H:[E-MAIL ADDRESS DELETED]$5$l$k(BHTML$B$K$OCM$,(B
>> $BF~$j$^$9!#(B
>>
>> HTML$BJ8(B
>> <a href="#" onclick="clear_myForm();
>> var f = document.forms['myForm'];
>> f['myForm:__link_clicked__'].value = 'myForm:_id11_1:_id13';
>> f['name'].value = '5';$B!!"+!!$3$3(B
>> if (f.onsubmit) { f.onsubmit(); } f.submit();clear_myForm(); return
>> false;">
>> 1
>> </a><br />
>>
>> $B$=$N8e%O%$%Q!<%j%s%/%/%j%C%/;~$N(BAction$B$N%3!<%k$G%G%Q%C%/$G$_$F$b(B
>> $B%j%/%(%9%H%Q%i%a!<%?$K(Bname=5$B$,Mh$F$$$k$H$3$m$^$G$O3NG'(B
>> $B$G$-$k$N$G$9$,(BAction$B$N(BsetName$B!J(Bint name$B!K(B $B;~$K$O(B0$B$K$J$C$F$7$^$&$N$,IT;W5D$G(B
>>
> $B$9!#(B
>>
>>
>> S2JSF$B$C$F%j%/%(%9%H%Q%i%a!<%?$NJQ?tL>$N%;%C%?!<$KCM$,%;%C%H$5$l$kF0:n$r(B
>> $B$9$k$N$@$H2r<a$7$F$^$9$,(B
>> $B!J<B:](B hoge.html?name=5$B$G%3!<%k$9$k$H(BsetName$B$K$O(B5$B$,%;%C%H$5$l$k$N$O3NG'$7$F$^(B
> $B$9!K(B
>>
>> $B$J$<$3$N>l9g$O%;%C%7%g%s%9%3!<%W$G$J$$$HF0:n$,$&$^$/$$$+$J$$$N$G$7$g$&$+!)(B(JSF
> $B$N;EMM!)!)(B)
>> $B!J=PMh$k$3$H$J$i%;%C%7%g%s%9%3!<%W$O;H$$$?$/$J$$!&!&!&!K(B
>
> ---
> $BJFNS(B $[E-MAIL ADDRESS DELETED]@(B
> [E-MAIL ADDRESS DELETED]
>
>
--------------------------------------------------------------------------------
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://www.seasar.org/mailman/listinfo/seasar-user
>
Seasar-user メーリングリストの案内