Package wicket.contrib.examples.tinymce

Source Code of wicket.contrib.examples.tinymce.SimpleTinyMCEPage

package wicket.contrib.examples.tinymce;

import org.apache.wicket.markup.html.form.TextArea;
import org.apache.wicket.model.Model;

import wicket.contrib.tinymce4.TinyMceBehavior;

/**
* @author Iulian-Corneliu COSTAN
*/
public class SimpleTinyMCEPage extends TinyMCEBasePage
{
  private static final long serialVersionUID = 1L;

  public SimpleTinyMCEPage()
  {
    TextArea textArea = new TextArea("ta", new Model(TEXT));
    textArea.add(new TinyMceBehavior());
    add(textArea);
  }

  private String TEXT = "Some <b>element</b>, this is to be editor 1.";
}
TOP

Related Classes of wicket.contrib.examples.tinymce.SimpleTinyMCEPage

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.