Package org.apache.wicket.markup.html

Examples of org.apache.wicket.markup.html.TransparentWebMarkupContainer


      String id = tag.getId() + container.getPage().getAutoIndex();

      // we do not want to mess with the hierarchy, so the container has to be
      // transparent as it may have wicket components inside. for example a raw anchor tag
      // that contains a label.
      return new TransparentWebMarkupContainer(id);
    }
    return null;
  }
View Full Code Here


      WicketTag wtag = (WicketTag)tag;
      if (wtag.isLinkTag() && (wtag.getNamespace() != null))
      {
        String id = tag.getId() + "-" + container.getPage().getAutoIndex();

        return new TransparentWebMarkupContainer(id);
      }
    }

    // We were not able to handle the tag
    return null;
View Full Code Here

    // Add the simplest type of label
    add(new Label("message",
      "If you see this message wicket is properly configured and running"));

    WebMarkupContainer border = new TransparentWebMarkupContainer("border");
    border.setVisible(false);
    add(border);

    add(new Label("childNoMarkup", Model.of("No Markup")));

    add(new SimplePanel("childMarkup"));
View Full Code Here

        // It is <wicket:head>. Because they do not provide any
        // additional functionality they are merely a means of surrounding relevant
        // markup. Thus we simply create a WebMarkupContainer to handle
        // the tag.
        WebMarkupContainer header2 = new TransparentWebMarkupContainer(
          HtmlHeaderSectionHandler.HEADER_ID);

        header2.setRenderBodyOnly(true);
        header.add(header2);

        return header;
      }
      else if (container instanceof HtmlHeaderContainer)
      {
        // It is <wicket:head>. Because they do not provide any
        // additional functionality there are merely a means of surrounding
        // relevant markup. Thus we simply create a WebMarkupContainer to handle
        // the tag.
        WebMarkupContainer header = new TransparentWebMarkupContainer(
          HtmlHeaderSectionHandler.HEADER_ID);
        header.setRenderBodyOnly(true);

        return header;
      }
      final Page page = container.getPage();
      final String pageClassName = (page != null) ? page.getClass().getName() : "unknown";
View Full Code Here

      // It must be <wicket:extend...>
      if (wicketTag.isExtendTag() || wicketTag.isChildTag())
      {
        String id = wicketTag.getId() + container.getPage().getAutoIndex();
        return new TransparentWebMarkupContainer(id);
      }
    }

    // We were not able to handle the componentId
    return null;
View Full Code Here

      {
        wc = new WebComponent(id);
      }
      else
      {
        wc = new TransparentWebMarkupContainer(id);
      }

      return wc;
    }
    return null;
View Full Code Here

      String id = tag.getId() + container.getPage().getAutoIndex();

      // we do not want to mess with the hierarchy, so the container has to be
      // transparent as it may have wicket components inside. for example a raw anchor tag
      // that contains a label.
      return new TransparentWebMarkupContainer(id);
    }
    return null;
  }
View Full Code Here

      WicketTag wtag = (WicketTag)tag;
      if (wtag.isLinkTag() && (wtag.getNamespace() != null))
      {
        String id = tag.getId() + "-" + container.getPage().getAutoIndex();

        return new TransparentWebMarkupContainer(id);
      }
    }

    // We were not able to handle the tag
    return null;
View Full Code Here

        container.getPage().getAutoIndex();

      // we do not want to mess with the hierarchy, so the container has to be
      // transparent as it may have wicket components inside. for example a raw anchor tag
      // that contains a label.
      return new TransparentWebMarkupContainer(id);
    }
    return null;
  }
View Full Code Here

      // It must be <wicket:extend...>
      if (wicketTag.isExtendTag() || wicketTag.isChildTag())
      {
        String id = wicketTag.getId() + container.getPage().getAutoIndex();
        return new TransparentWebMarkupContainer(id);
      }
    }

    // We were not able to handle the componentId
    return null;
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.TransparentWebMarkupContainer

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.