Cheers
Im trying to test our wicket app with WicketTester and it works fine, but
now when I try to test the EditableTreeGrid from inmethod Ive run into some
problems.
I want o add values to my cells but I dont know what the id's are. So is
there a way to do this?
Here is a bit of our implementation:
private void addGrid(){
List<IGridColumn> columns = new ArrayList<IGridColumn>();
columns.add(new EditablePropertyColumn(new Model("Article number"),
"userObject.m_artNr"));
columns.add(new EditablePropertyColumn(new Model("Name"),
"userObject.m_articleName"));
m_rootNode = new DefaultMutableTreeNode(new InvoiceRowModelBean(0));
TreeModel model = new DefaultTreeModel(m_rootNode);
m_grid = new TreeGrid("grid", model, columns);
m_grid.setOutputMarkupId(true);
m_grid.getTree().getTreeState().expandNode(m_rootNode);
add(m_grid);
}
--
View this message in context:
http://www.nabble.com/WicketTester-and-inmethod-grid-tp20618304p20618304.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]