Examples of findParent()


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

      {
        __form = (Form<?>)component;
      }
      else
      {
        __form = component.findParent(Form.class);
      }

      if (__form == null)
      {
        throw new IllegalStateException(
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()

  {
    if (__form == null)
    {
      // try to find form in the hierarchy of owning component
      Component component = getComponent();
      __form = component.findParent(Form.class);
      if (__form == null)
      {
        throw new IllegalStateException(
          "form was not specified in the constructor and cannot "
            + "be found in the hierarchy of the component this behavior "
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()

  {
    Iterator<Component> iterator = markupIdToComponent.values().iterator();
    while (iterator.hasNext())
    {
      final Component component = iterator.next();
      final Page parentPage = component.findParent(Page.class);
      if (parentPage != null)
      {
        parentPage.detach();
        break;
      }
View Full Code Here

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

  {
    Iterator<Component> iterator = markupIdToComponent.values().iterator();
    while (iterator.hasNext())
    {
      final Component component = iterator.next();
      final Page parentPage = component.findParent(Page.class);
      if (parentPage != null)
      {
        parentPage.detach();
        break;
      }
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()

  {
    if (form == null)
    {
      // try to find form in the hierarchy of owning component
      Component component = getComponent();
      form = (Form)component.findParent(Form.class);
      if (form == null)
      {
        throw new IllegalStateException(
          "form was not specified in the constructor and cannot "
            + "be found in the hierarchy of the component this behavior "
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 = (Component)markupIdToComponent.values().iterator().next();
      final Page page = (Page)component.findParent(Page.class);
      if (page != null)
      {
        page.detach();
      }
    }
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.