hi,
here my "hack" to test tables:
override: newChildId() in your dataview - class.
and build a common assert method...
private static final String PATH_CELLS = ":cells:";
private static final String PATH_ROWS = ":rows:";
protected final void assertTable(String pTablePath, int
2010/1/13 Java Programmer :
> and in WicketTester I want to:
> getWicketTester().assertComponent("sampleDataView: something :title",
> DataView.class);
>
Of course should be:
getWicketTester().assertComponent("sampleDataView: something :title",
Label.class);
Sorry for mistake,
Adr
---
Hello,
Is it possible in WicketTester to check the items which are inside
DataView - an example:
DataView dataView = new DataView ("sampleDataView", provider, 10) {
@Override
protected void populateItem(Item sampleItem) {
sampleItem.add(new Label("title", ne