Package org.qwickie.test.project.bug14

Source Code of org.qwickie.test.project.bug14.Bug14Page

package org.qwickie.test.project.bug14;

import java.util.ArrayList;
import java.util.List;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.list.ListItem;
import org.apache.wicket.markup.html.list.PageableListView;
import org.apache.wicket.markup.html.navigation.paging.PagingNavigation;
import org.apache.wicket.request.mapper.parameter.PageParameters;

public class Bug14Page extends WebPage {

  private static final long serialVersionUID = 1L;

  public Bug14Page(final PageParameters parameters) {
    final List list = new ArrayList();
    final PageableListView plv = new PageableListView("plv", list, 10) {

      private static final long serialVersionUID = 1L;

      @Override
      protected void populateItem(final ListItem item) {
        // TODO Auto-generated method stub
        add(new Label("test"));

      }};
      add(plv);
     
      add(new PagingNavigation("navigator_top", plv));
  }
}
TOP

Related Classes of org.qwickie.test.project.bug14.Bug14Page

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.