[Seasar-user:20654] Re: 【Teeda】Dynamic Propertyで設定できる属性について
yahoo-sukapontan526
[E-MAIL ADDRESS DELETED]
2011年 3月 11日 (金) 00:44:46 JST
kenta$B$G$9!#(B
$B>.NS$5$s!"2sEz$"$j$,$H$&$4$6$$$^$7$?!#(B
$B$*0~MM$G!"(Bform$B$N(BAction$[E-MAIL ADDRESS DELETED]$[E-MAIL ADDRESS DELETED]$9$k;v$,$G$-$^$7$?!#(B
$[E-MAIL ADDRESS DELETED]$G$-$F$$$J$$[E-MAIL ADDRESS DELETED]$,$"$k0Y!"0J2<!"D9J8$GBgJQ62=L$G$9$,!"(B
$BDI2C<ALd$r$5$;$FD:$-$^$9!#(B
$B<!$N!"(BPage$B$H(BDto$B$,$"$k$H$7$^$9!#(B
$B!Z(BPage$B![(B
public class AaaPage {
public List<ParentDto> parentItems;
public ParentDto parent;
public String parentId;
public String parentUrl;
public String parentImg;
public List<ChildDto> childItems;
public ChildDto child;
public String strChild;
}
$B!Z(BDto$B![(B
public class ParentDto {
public String parentId;
public String parentUrl;
public String parentImg;
public List<ChildDto> childItems;
}
public class ChildDto {
public String strChild;
}
$B:#2s(B
$B!&(BparentItems$B$NMWAG?t$@$1!"7+$jJV$7%U%)!<%`$r:[E-MAIL ADDRESS DELETED]$9$k!#(B
$B!J$3$N;~!"(BAction$[E-MAIL ADDRESS DELETED]$O(BparentUrl$B$NCM$,Kd$a9~$^$l$k!K(B
$B!&3F%U%)!<%`$O2hA|%\%?%s$+$i(Bjavascript$B7PM3$G%5%V%_%C%H$5$l$k!#(B
$B!&3F%U%)!<%`$N(Bid$B$O%f%K!<%/$K$9$k!#(B
$B$r<B8=$5$;$k$?$a$K!"<!$N$h$&$J(Bhtml$B%F%s%W%l!<%H$r:[E-MAIL ADDRESS DELETED]$7!"(BPage$B%/%i%9$K%a(B
$B%=%C%I$rDI2C$7$^$7$?!#(B
$B!Z(Baaa.html$B![(B
<div id="parentItems">
<form id="nest" action=""> $B!&!&!&-!(B
<input id="parentImg" type="image"$B!!(Bsrc="hoge" onclick="$B%U%)!<%`$N(Bid$B$,0z(B
$B?t(B"/>$B!!!&!&!&-"(B
<div id="childItems">
<input id="child" type="text"/>$B!!!&!&!&-#(B
</div>
</form>
</div>
$B!Z(BAaaPage$B![(B
public String getNestId() {$B!!!&!&!&-!(B-a
return "hoge" + parentId;
}
public String getNestName() {$B!!!&!&!&-!(B-b
return "foo" + parentId;
}
public String getNestAction() {$B!!!&!&!&-!(B-c
return parentUrl;
}
public String getParentImgSrc() {$B!!!&!&!&-"(B-a
return parentImg;
}
public String getChildName() {$B!!!&!&!&-#(B-a
return strChild + "Value";
}
public String getChildValue() {$B!!!&!&!&-#(B-b
return strChild + "Value";
}
$B?&>l$G$O(BAction$[E-MAIL ADDRESS DELETED]$[E-MAIL ADDRESS DELETED]$G$-$F$$$?$N$G$9$,!"DI2C<ALd$9$k$KEv$?$j!"<+Bp(B
$B$G;n$7$?(B
$BDs<($7$F$$$k%3!<%I$G$O!"A4$/%l%s%?%j%s%0$5$l$F$$$^$;$s!#(B
$BF0$+$J$$%3!<%I$G<ALd$7$FBgJQ?=$7Lu$J$$$N$G$9$,!"CN$j$?$$;v$O(B
$B#1!%-!(B-a$B$H-!(B-b$B$[E-MAIL ADDRESS DELETED]=$J$N$+!)!J!a(Bform$B$N(Bid$B!"$^$?$O(Bname$[E-MAIL ADDRESS DELETED]$r%f%K!<%/$K$7(B
$B$?$$!K(B
$B#2!%-#(B-a$B!"-#(B-b$B$[E-MAIL ADDRESS DELETED]$N;EJ}!J%M%9%H$5$l$?>l9g!"(Binput$B%?%0$N(BName$B$H(BValue$[E-MAIL ADDRESS DELETED]$,(B
$[E-MAIL ADDRESS DELETED]=PMh$^$;$s$G$7$?!K(B
$B$G$9!#(B
$B;29M$^$G$K!"4|BT$9$k%l%s%?%j%s%07k2L$r<($7$^$9!#(B
$B!Z4|BT$9$k%l%s%?%j%s%07k2L![(B
<form id="hoge1" name="foo1" action="$[E-MAIL ADDRESS DELETED](BURL$B#1(B">
<input id="parentImg" type="image"$B!!(Bsrc="abc.jpg" onclick="***('hoge1');"/>
<input id="child" type="text" name="aaaName" value="aaaValue" />
<input id="child" type="text" name="bbbName" value="bbbValue" />
</form>
<form id="hoge2" name="foo2" action="$[E-MAIL ADDRESS DELETED](BURL$B#2(B">
<input id="parentImg" type="image"$B!!(Bsrc="efg.gif" onclick="***('hoge2');"/>
<input id="child" type="text" name="cccName" value="cccValue" />
<input id="child" type="text" name="dddName" value="dddValue" />
</form>
$B0J2<!"CfN,(B
$B0J>e$G$9!#(B
Seasar-user メーリングリストの案内