Re: [Wicket-user] Why item.getIndex() always zero?

2006-09-14 Thread wq
"activeDate")); ... I could misUnderstand your means but there are many columns and many ActionPanel. Martijn Dashorst-4 wrote: > > Because the cellItems are the column items... > > You only have one column, so it will alway

[Wicket-user] Why item.getIndex() always zero?

2006-09-14 Thread wq
.. int c = 0; .. List columns = new ArrayList(); columns.add(new AbstractColumn(new Model("操作")){ public void populateItem(Item cellItem, String componentId, IModel model){ c += cellIt

Re: [Wicket-user] filtertable and checkgroup cannot work together

2006-09-07 Thread wq
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: >> &

Re: [Wicket-user] filtertable and checkgroup cannot work together

2006-09-06 Thread wq
uld 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. > >

Re: [Wicket-user] filtertable and checkgroup cannot work together

2006-08-31 Thread wq
HELP! HELP! wq wrote: > > final CheckGroup group=new CheckGroup("group", new ArrayList()); > ... > group.add(new CheckGroupSelector("groupselector")); > .. > SortableWapSrcDataProvider provider = new SortableWapSrcDataProvider(); > DefaultDataTa

[Wicket-user] filtertable and checkgroup cannot work together

2006-08-31 Thread wq
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(ne