Package org.apache.wicket.security.examples.customactions.components.navigation

Examples of org.apache.wicket.security.examples.customactions.components.navigation.ButtonContainer


  /**
   *
   */
  public OverviewPage()
  {
    add(new ButtonContainer("buttoncontainer", ButtonContainer.BUTTON_OVERVIEW));
  }
View Full Code Here


  /**
   * Construct.
   */
  public DepartmentsPage()
  {
    add(new ButtonContainer("buttoncontainer", ButtonContainer.BUTTON_DEPARTMENTS));
    add(new ListView<Department>("departments", generateData())
    {
      private static final long serialVersionUID = 1L;

      @Override
View Full Code Here

   *
   * @param department
   */
  public DepartmentPage(Department department)
  {
    add(new ButtonContainer("buttoncontainer", ButtonContainer.BUTTON_DEPARTMENTS));
    SecureForm<Department> form =
      new SecureForm<Department>("form", new CompoundPropertyModel<Department>(department));
    // make sure we have organization rights
    form.setSecurityCheck(new OrganizationCheck(form));
    add(form);
View Full Code Here

TOP

Related Classes of org.apache.wicket.security.examples.customactions.components.navigation.ButtonContainer

Copyright © 2018 www.massapicom. 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.