I made it. I replace this line --table.addTopToolbar(new FilterToolbar(table,provider));
with --add(new FilterPanel("filter-panel",table,provider)); the Filterpanel is copied from FilterToolbar with some modification and not added into table,the filterform is now out of table. it works fine! Thanks Igor! igor.vaynberg wrote: > > noep, no sample code. just try taking the original toolbar and removing > the > form it creates - and pass one into the constructor instead. > > -Igor > > > On 9/6/06, wq <[EMAIL PROTECTED]> wrote: >> >> >> thanks Igor! >> >> without a form, how can I get the filter input? >> have some sample codes? >> >> can I move the filterform out of the table? >> >> >> >> >> >> igor.vaynberg wrote: >> > >> > filter toolbar was not meant to be embedded in another form because it >> > uses >> > a form of its own, so for right now i would say that usecase is not >> > supported. please add an rfe for it. >> > >> > if you want one right now then you have to create your own variant that >> > doesnt use an embedded form. it would be pretty much a copy and paste >> job >> > of >> > the current toolbar but w/out the form. >> > >> > -Igor >> > >> > >> > On 8/31/06, wq <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> HELP! HELP! >> >> >> >> >> >> >> >> wq wrote: >> >> > >> >> > final CheckGroup group=new CheckGroup("group", new ArrayList()); >> >> > ... >> >> > group.add(new CheckGroupSelector("groupselector")); >> >> > ...... >> >> > SortableWapSrcDataProvider provider = new >> SortableWapSrcDataProvider(); >> >> > DefaultDataTable table = new >> >> > DefaultDataTable("table",columns,provider,30); >> >> > table.addTopToolbar(new FilterToolbar(table,provider)); >> >> > group.add(table); >> >> > form.add(group); >> >> > >> >> > http://www.nabble.com/user-files/235815/Snap1.gif >> >> > >> >> > the html file is: >> >> > <form wicket:id="form"> >> >> > <span wicket:id="group"> >> >> > <input type="checkbox" >> >> > wicket:id="groupselector">全选/清除</input><br/> >> >> > <table class="dataview" cellspacing="0" >> >> wicket:id="table">[table]</table> >> >> > </span> >> >> > <input type="submit" value="确定" /> >> >> > </form> >> >> > >> >> > when I click the 'groupselector', the theckbox in filtertable cannot >> be >> >> > checked. If the filtertoolbar is removed,all works fine. >> >> > I suppose it is the filterform in filtertable that blocks the >> >> > groupselect javascript. >> >> > >> >> > How can I do? very thanks! >> >> > >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/filtertable-and-checkgroup-cannot-work-together-tf2195268.html#a6078904 >> >> Sent from the Wicket - User forum at Nabble.com. >> >> >> >> >> >> >> ------------------------------------------------------------------------- >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> >> Get stuff done quickly with pre-integrated technology to make your job >> >> easier >> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> >> Geronimo >> >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> >> _______________________________________________ >> >> Wicket-user mailing list >> >> Wicket-user@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> >> > >> > >> ------------------------------------------------------------------------- >> > Using Tomcat but need to do more? Need to support web services, >> security? >> > Get stuff done quickly with pre-integrated technology to make your job >> > easier >> > Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> > _______________________________________________ >> > Wicket-user mailing list >> > Wicket-user@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wicket-user >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/filtertable-and-checkgroup-cannot-work-together-tf2195268.html#a6170501 >> Sent from the Wicket - User forum at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/filtertable-and-checkgroup-cannot-work-together-tf2195268.html#a6203673 Sent from the Wicket - User forum at Nabble.com. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user