Package org.apache.wicket.resource

Examples of org.apache.wicket.resource.ByteArrayResource


  /**
   *
   */
  public void testResource()
  {
    final Image i = new Image("test", new ByteArrayResource("text/text", new byte[0]));
    tester.startComponent(i);
    assertTrue("image with resource should be statefull", !i.isStateless());
  }
View Full Code Here


   * Construct.
   */
  public ContextPathPage()
  {
    add(new BookmarkablePageLink("bookmarkablelink",ContextPathPage.class));
    add(new ResourceLink("resourcelink",new ByteArrayResource("test/test", new byte[10])));
    add(new Link("onclick")
    {
      private static final long serialVersionUID = 1L;

      public void onClick()
View Full Code Here

TOP

Related Classes of org.apache.wicket.resource.ByteArrayResource

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.