Examples of findParent()


Examples of org.apache.wicket.Component.findParent()

    // detach the page if it was updated
    if (markupIdToComponent.size() > 0)
    {
      final Component component = markupIdToComponent.values().iterator().next();
      final Page page = component.findParent(Page.class);
      if (page != null)
      {
        page.detach();
      }
    }
View Full Code Here

Examples of org.apache.wicket.Component.findParent()

  {
    // detach the page if it was updated
    if (markupIdToComponent.size() > 0)
    {
      final Component component = markupIdToComponent.values().iterator().next();
      final Page page = component.findParent(Page.class);
      if (page != null)
      {
        page.detach();
      }
    }
View Full Code Here

Examples of org.apache.wicket.Component.findParent()

  {
    // detach the page if it was updated
    if (markupIdToComponent.size() > 0)
    {
      final Component component = markupIdToComponent.values().iterator().next();
      final Page page = component.findParent(Page.class);
      if (page != null)
      {
        page.detach();
      }
    }
View Full Code Here

Examples of org.apache.wicket.Component.findParent()

  {
    // detach the page if it was updated
    if (markupIdToComponent.size() > 0)
    {
      final Component component = markupIdToComponent.values().iterator().next();
      final Page page = component.findParent(Page.class);
      if (page != null)
      {
        page.detach();
      }
    }
View Full Code Here

Examples of org.apache.wicket.MarkupContainer.findParent()

      {
        parent = parent.getParent();
      }
      else if (parent instanceof BorderBodyContainer)
      {
        parent = parent.findParent(Border.class);
      }
      else
      {
        break;
      }
View Full Code Here

Examples of org.apache.wicket.MarkupContainer.findParent()

      {
        parent = parent.getParent();
      }
      else if (parent instanceof BorderBodyContainer)
      {
        parent = parent.findParent(Border.class);
      }
      else
      {
        break;
      }
View Full Code Here

Examples of org.apache.wicket.MarkupContainer.findParent()

    Border border = this;
    if (border.getMarkupStream() == null)
    {
      // Find Border at or above parent of this border
      final MarkupContainer borderParent = border.getParent();
      border = (Border)((borderParent instanceof Border) ? borderParent : borderParent
          .findParent(Border.class));
    }

    // Get the border's markup
    final MarkupStream borderMarkup = border.findMarkupStream();
View Full Code Here

Examples of org.apache.wicket.MarkupContainer.findParent()

      {
        parent = parent.getParent();
      }
      else if (parent instanceof BorderBodyContainer)
      {
        parent = parent.findParent(Border.class);
      }
      else
      {
        break;
      }
View Full Code Here

Examples of org.apache.wicket.extensions.markup.html.repeater.tree.nested.BranchItem.findParent()

      {
        if(!hasNodeCheckedChildren(nodeObject))
          checkedNodes.getObject().remove(nodeObject);       
      }
     
      ancestor = ancestor.findParent(BranchItem.class);
    }
  }

  protected boolean hasNodeCheckedChildren(T nodeObject) {
    Iterator<? extends T> children = treeProvider.getChildren(nodeObject);
View Full Code Here

Examples of org.apache.wicket.markup.html.basic.Label.findParent()

      row.add(comp);
      row.add(new Label("customer", "").setVisible(false));
      row.add(new Label("project", "").setVisible(false));
      final Label title = addCostType(row, getString("fibu.monthlyEmployeeReport.totalSum"));
      WicketUtils.addTooltip(title, new ResourceModel("fibu.monthlyEmployeeReport.totalSum.tooltip"));
      final WebMarkupContainer tdContainer = title.findParent(WebMarkupContainer.class);
      tdContainer.add(AttributeModifier.replace("colspan", "4"));
      tdContainer.add(AttributeModifier.replace("style", "font-weight: bold; text-align: right;"));
      final RepeatingView colWeekRepeater = new RepeatingView("colWeekRepeater");
      row.add(colWeekRepeater);
      for (@SuppressWarnings("unused")
View Full Code Here
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.