Package org.wicketstuff.htmlcompressor

Examples of org.wicketstuff.htmlcompressor.HtmlCompressingMarkupFactory


  protected void init()
  {
    super.init();
    if (usesDeploymentConfig())
    {
      getMarkupSettings().setMarkupFactory(new HtmlCompressingMarkupFactory());
      // if we want custom settings for our compressor we could do this instead:
      // HtmlCompressor compressor = new HtmlCompressor();
      // compressor.setPreserveLineBreaks(true);
      // getMarkupSettings().setMarkupFactory(new HtmlCompressingMarkupFactory(compressor));
    }
View Full Code Here

TOP

Related Classes of org.wicketstuff.htmlcompressor.HtmlCompressingMarkupFactory

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.