Package org.apache.wicket

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


      if (!id.equals(BODY_ID))
      {
        Component component = Border.this.get(id);
        if (component != null)
        {
          component.render(markupStream);
          return true;
        }
      }

      return false;
View Full Code Here


      if (component != null) // is there a component for current column?
      {
        // render the component
        markupStream.setCurrentIndex(markupStart);
        component.render(markupStream);
        rendered = true;
      }
      else if (renderable != null) // no component - try to render
      // renderable
      {
View Full Code Here

      if ((component != null) && (component instanceof IScopedComponent))
      {
        IScopedComponent sc = (IScopedComponent)component;
        if (sc.isRenderableInSubContainers())
        {
          component.render(markupStream);
          return true;
        }
      }
    }
View Full Code Here

    {
      String id = tag.getId();
      Component body = container.getPage().get(id);
      if (body != null)
      {
        body.render(markupStream);
        return true;
      }
    }
   
    // We were not able to handle the tag
View Full Code Here

          else if (parent instanceof Border)
          {
            Component component = parent.get(tag.getId());
            if (component != null)
            {
              component.render(markupStream);

              log.warn("Please consider to change your java code to something like: "
                  + container.getId()
                  + ".add(getBodyContainer()); for the component hierarchy to better reflect the markup hierarchy.");
            }
View Full Code Here

      while (parent != null)
      {
        Component component = parent.get(tag.getId());
        if (component != null)
        {
          component.render(markupStream);
          return true;
        }
       
        parent = parent.getParent();
        if (nestedComponents.containsKey(parent))
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.