Not sure what code to include. The authors used a lot of class inheritance, so it is difficult to include the whole thing.
HTML <table cellspacing="0" class="dataTableView"> <tr> <th class="navigatorLabel" colspan="1" wicket:id="navigatorLabel">Showing 1 to 25 of 1157</th> <th class="navigator" colspan="2" wicket:id="navigator"><< < 1 2 3 4 5 6 7 8 9 10 > >></th> </tr> <tr class="headers"> <th wicket:id="orderByEmailAddress">Email Address</th> <th>Delete?</th> <th>Edit</th> </tr> <tr wicket:id="sorting"> <td wicket:id="emailAddress">[emailAddress]</td> <td><input type="checkbox" wicket:id="marked" /> </td> <td><input type="submit" wicket:id="editButton" value="Edit" /></td> </tr> </table> Some of the code Creates the data view protected DataView createDataView () { DataView view = new DataView("sorting", getDataProvider()){ @SuppressWarnings("unchecked") protected void populateItem (final Item item) { MarkablePersistableWrapper wrapper = (MarkablePersistableWrapper)item.getModelObject(); addRowItems(item, wrapper, (T)wrapper.getTarget()); addEditingRowFields(item, wrapper); item.add(new AttributeModifier("class", true, new AbstractReadOnlyModel(){ public Object getObject () { return (item.getIndex() % 2 == 1) ? "even" : "odd"; } })); } }; view.setItemsPerPage(getAdminService().getConsoleConstants().getNoOfRows()); return view; } Save the row and return protected void commitForm () { if (validateItem()) { try { //Saves the new record getPersistableManager().save(getPersistable()); //Return to summary page setResponsePage(getFormResponsePage()); } catch (RuntimeException e) { throw e; } } } Is this what you are looking for? Thanks for the help! Mathias Nilsson wrote: > > Can you provide us with some code on which model you use and how? > -- View this message in context: http://www.nabble.com/Problem-with-PagingNavigator-and-NavigatorLabel-tp24694245p24698057.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org