[Wicket-ja-user 613] Re: AjaxPagingNavigatorの更新について

Back to archive index

藤原 高明 t_fujih****@comte*****
2012年 2月 21日 (火) 13:23:42 JST


$BF#86$G$9!#(B

$B @ D;3MM!"LpLnMM$4JVEz$"$j$,$H$&$4$6$$$^$9!#(B

$B8=:_!"(BButton$B%/%i%9$G(Bsubmit$B$r9T$C$F$$$k$N$G!"(B
addComponent$B$OI,MWL5$$$N$G$O$H9M$($F$*$j$^$9!#(B

$B8=>]$H$7$F$O!"(B
$B-!(BDataView$B$NFbMF$O=q$-JQ$o$k!#(B
$B-"(BAjaxPagingNavigator$B$,I=<($9$k%Z!<%8?t$b @ 5$7$$!#(B
$B-#(BAjaxPagingNavigator$B$, @ 8@.$9$k(BJavaScript$B$,=i2s$K<hF@$7$?%G!<%?$HI3$E$$$F$*(B
$B$j!"(B
$B%Z!<%8HV9f$N%j%s%/$r2!$9$H=i2s$K<hF@$7$?%G!<%?FbMF$,I=<($5$l$k!#(B

$B0J>e$N$h$&$J5sF0$K$J$C$F$$$^$9!#(B
$B2?$+9M$($i$l$k860x$O$"$k$N$G$7$g$&$+!#(B

-----Original Message-----
From: wicke****@lists*****
[mailto:wicke****@lists*****] On Behalf Of Tsutomu
Yano
Sent: Tuesday, February 21, 2012 12:30 AM
To: wicke****@lists*****
Subject: [Wicket-ja-user 612] Re: AjaxPagingNavigator$B$N99?7$K$D$$$F(B

$BLpLn$G$9!#(B

$B%=!<%98+$k8B$j$G$O!"%\%?%s$O(BButton$B%/%i%9$G$9$s$G!"(BAjax$B$O4X78$J$/!"%5%V%_%C%H(B
$B8e$K%Z!<%8A4BN$,:FIA2h$5$l$k$O$:$G$9!JNc$K>e$,$C$F$k%=!<%9$, @ 5$7$$$3$H$,A0Ds(B
$B$G$9$,!K!#$=$N>l9g!"(BaddComponent$B$OI,MW$J$$$G$9$M!#(B

$BJ8LL$+$i$9$k$H!"(BDavaView$B$NFbMF$O=q$-49$o$k$1$I$b!"%J%S%2!<%?$@$1$,$A$c$s$H99(B
$B?7$5$l$:!"%J%S%2!<%?$H(BDataView$B$,O"F0$7$J$/$J$k$H$$$&$3$H$J$N$G$7$g$&$+!)(B

$B$b$7(BButton$B$,(BAjaxButton$B$J$N$G$"$l$P!"@D;3$5$s$N8@$&$h$&$K!"(B
AjaxPagingNavigator$B$b(BAjaxRequestTargetniaddComponent$B$9$kI,MW$,$"$j$^$9!#(B

$B<B:]$K(BButton$B%/%i%9$r;H$C$F$$$k$J$i$P!"$h$j6qBNE*$K$I$&$J$k$+$r65$($FM_$7$$$G(B
$B$9!#:FIA2h$5$l$?$H$-!"(BAjaxPagingNavigator$B$N%Z!<%8?t$O @ 5$7$$$+!"$H$+!"<B:]$K(B
$B$$$^I=<($7$F$$$k%Z!<%8HV9f$r;X$7$F$$$k$+!"$H$+$,5$$K$J$j$^$9!#(B


---------------------------------------------------
$BLpLn!!JY!J$d$N!!$D$H$`!K(B
$BEE;R%a!<%k(B: t_yano****@me*****
---------------------------------------------------

On 2012/02/20, at 23:36, Yoshikazu Aoyama wrote:

> $B @ D;3$G$9!#(B
>
> $B%\%?%s$r2!$7$F$b%F!<%V%k$NFbMF$,(BAjax$B$G99?7$5$l$J$$!"$H$$$&$3$H$G$7$g$&$+!)(B
> $B%G!<%?$N:F<hF @ 8e!"(BAjaxRequestTarget$B$K:FIA2h$7$?$$%3%s%]!<%M%s%H$r(B
> addComponent()$B$9$l$P:FIA2h$5$l$k$H;W$$$^$9!#(B
>
> 2012/2/20 $BF#86!!9bL@(B <t_fujih****@comte*****>:
>> $B$*@$OC$K$J$C$F$*$j$^$9!#F#86$H?=$7$^$9!#(B
>> $B @ hF|$O<ALd$K$4JVEz$$$?$@$-$"$j$,$H$&$4$6$^$7$?!#(B
>>
>> $B8=:_!"(BDataView$B$H(BAjaxPagingNavigator$B$r;HMQ$7$F!"(B
>> $B%Z!<%8%s%0$N$G$-$k%F!<%V%k$r:n @ .$7$F$*$j$^$9!#(B
>> $B%F!<%V%k$NFbMF$O(BDB$B$K@\B3$7$F<hF@$7$F$$$k$N$G$9$,!"(B
>> $B%F!<%V%k$NCf?H$r:F<hF@$7$?:]$K!"(B
>> AjaxPagingNavigator$B$, @ 8@.$9$k(BJavaScript$B$,99?7$5$l$:$K:$$C$F$*$j$^$9!#(B
>> $B!J8!:w9`L\$H$=$N7k2L$rI=<($9$k%F!<%V%k$,$"$k%$%a!<%8$G$9!#!K(B
>>
>> DataProvider$B$r;HMQ$7$F%F!<%V%kFb$N9`L\$K%;%C%H$7$F$$$k%b%G%k$NCf?H$r99?7(B
$B$7$F(B
>> $B$$$k$N$G$9$,!"(B
>> $B2?$+:,K\E*$K4V0c$C$F$$$k$N$G$7$g$&$+!#(B
>> $B@[$$<ALd$G?=$7Lu$4$6$$$^$;$s$,!"$*NO$rB_$7$F$$$?$@$1$k$H=u$+$j$^$9!#(B
>> $B2?B4$h$m$7$/$*4j$$$$$?$7$^$9!#(B
>>
>>
>> //$B0J2<%=!<%9$G$9!#(B
>> //$B0lMwI=$N @ _Dj(B
>> BaseListDataProvider ListDP = new BaseListDataProvider(); final
>> DataView<DummyBean> baseView = new DataView<DummyBean>("BaseList",
>> ListDP, 10){
>>       @Override
>>       protected void populateItem(Item<DummyBean> item) {
>>               // TODO $B<+F0 @ 8@.$5$l$?%a%=%C%I!&%9%?%V(B
>>               DummyBaseBean base = item.getModelObject();
>>               item.add( new Label("Id", new
>> PropertyModel<DummyBean>(base, "strId")));
>>       }
>> };
>>
>> //DataView$BFb$N(BItem$BMWAG$OKh2sGK4~$;$:$K:FMxMQ$9$k(B
>> baseView.setItemReuseStrategy(new ReuseIfModelsEqualStrategy());
>>
>> //DataView$B$K(BAjaxPagingNavigator$B$rMxMQ$9$k>l9g(B
>> //DataView$B$r(BWebMarkupContainer$B$KG[CV$9$k!#!J?FMWAG$,I,MW!K(B
>> WebMarkupContainer viewContainer = new
>> WebMarkupContainer("Container"); // Ajax$B$G=q$-49$($kMWAG;XDj(B
>> viewContainer.setOutputMarkupId(true);
>> viewContainer.add(baseView);
>> add(viewContainer);
>>
>> // Paging$B @ _Dj(B
>> final AjaxPagingNavigator listNavigator = new
>> AjaxPagingNavigator("navigator", baseView);
>> listNavigator.setOutputMarkupId(true);
>> add(listNavigator);
>>
>>
>> //$B%U%)!<%`(B
>> Form<Void> searchForm = new Form<Void>("SearchForm");
>>
>> Button searchButton = new Button("SearchButton"){
>>       @Override
>>       public void onSubmit(){
>>       // $B%\%?%s2!2<$G%F!<%V%kFbMF99?7(B
>>       ListDP.changeData();
>>       }
>> };
>> sarchForm.add(searchButton);
>> add(searchForm);
>>
>>
>>
>> _______________________________________________
>> Wicket-ja-user mailing list
>> Wicke****@lists*****
>> http://lists.sourceforge.jp/mailman/listinfo/wicket-ja-user
>
> _______________________________________________
> Wicket-ja-user mailing list
> Wicke****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/wicket-ja-user

_______________________________________________
Wicket-ja-user mailing list
Wicke****@lists*****
http://lists.sourceforge.jp/mailman/listinfo/wicket-ja-user




Wicket-ja-user メーリングリストの案内
Back to archive index