[Seasar-user:6068] Re: Dtoの扱いについて

Shinpei Ohtani [E-MAIL ADDRESS DELETED]
2007年 2月 7日 (水) 23:08:26 JST


$BBgC+$G$9!#(B

Dto$B$N%Q%C%1!<%8$O$I$N$h$&$K5-=R$5$l$F$$$^$9$+!)(B

TeedaExtension$B$N>l9g!"(B
$B%k!<%H%Q%C%1!<%8$r(Bexamples.teeda$B$H$7$F!"(B

package examples.teeda.web.dto;

public class AaaDto {

	private String bbb = "Teeda";

	public String getBbb() {
		return bbb;
	}

	public void setBbb(String bbb) {
		this.bbb = bbb;
	}
}

$B$N$h$&$K(BDto$B$r=`Hw$7$F!"2<5-$N$h$&$J(BHTML$B$r=`Hw$9$k$H(B
$B$-$A$s$H%"%/%;%9$G$-$^$9!#(B

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title id="aaa">Hello</title>
</head>
<body>
$B$3$s$K$A$O(B&nbsp;&nbsp;&nbsp;<h:outputText value="#{dto_aaaDto.bbb}" />
</body>
</html>


$B$h$C$F!"%9%^!<%H%G%W%m%$4D6-$G$b(BDto$B$K%^%C%T%s%0$O$G$-$k$H;W$$$^$9!#(B
$B4V0c$C$F$$$k2DG=@-$,$"$k$H$9$k$J$i$P!"(BDto$B$N%Q%C%1!<%8$+!"(B
Binding$B$N=q$-J}!"$^$?$O(BEL$B$H(BS2$B%3%s%F%J$N%3%s%]!<%M%s%H$r%^%C%T%s%0$9$k$H$3$m(B
$B$G$O$J$$$G$7$g$&$+!#(B
$B$=$NJU$N>pJs$r=P$7$F$$$?$@$1$k$H2?$+$o$+$k$+$b$7$l$^$;$s!#(B


07/02/07 $B$K(B [E-MAIL ADDRESS DELETED]<[E-MAIL ADDRESS DELETED]>
$B$5$s$O=q$-$^$7$?(B:
>
> $B$*@$OC$K$J$C$F$*$j$^$9!#>>86$G$9!#(B
>
> $B4pK\E*$J<ALd$H$J$C$F$7$^$&$N$G$9$,!"0J2<$N>u67$G(B
> $B%(%i!<$,H/@8$7!"%m%04X78$b=PNO$5$l$^$;$s!#(B
>
> $B<ALd(B
> $B!&%9%^!<%H%G%W%m%$4D6-!J%5%V%"%W%j%1!<%7%g%sBP1~!K$J$N$G!"(Bdicon$B%U%!%$(B
> $B%k$K5-=R$7$J$$%/%i%9$KBP$7$F!"(B
> $B-!!%(BJSP$B$+$i(BPage$B%/%i%9$KBP$9$k(BBinding$B$OEvA3LdBj$J$/F0:n$7$^$9!#(B
> $B-"!%(BDto$B$N%Q%C%1!<%8$r:[E-MAIL ADDRESS DELETED]$7!"$3$N(BDto$B$KBP$7$F(BBinding$B$9$k$H%(%i!<$,(B
> $BH/@8$7$F$7$^$$$^$9!#(B
> $B-#!%$3$N(BDto$B$r%;%C%7%g%s%/%i%9$H$7$F(Bdicon$B%U%!%$%k$K5-=R$9$k$H!"=i4|(B
> $BF0:n$OLdBj$J$$$,!"<!$+$i$N%"%/%;%9$GCf?H$,$J$/$J$C$F$$$k!*!)(B
>
> $B$H$$$&>u67$G!"EvJ}$G$b$I$3$,4V0c$C$F$$$k$N$+H=CG$G$-$:!"$^$:$O!"%9%^(B
> $B!<%H%G%W%m%$4D6-$G(BDto$B$K(BBinding$B$9$k$3$H$O$G$-$k$N$+$465<(D:$1$J$$$G$7(B
> $B$g$&$+!#(B
>
> $BBgJQ=iJbE*$J<ALd$G?=$7Lu$4$6$$$^$;$s$,!"59$7$/$*4j$$CW$7$^$9!#(B
>
> $B0J>e$G$9!#(B
>
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
>
>


-- 
=============================
Shinpei Ohtani
[E-MAIL ADDRESS DELETED]
=============================



Seasar-user メーリングリストの案内