wicket.contrib.tinymce.ajax.TinyMceAjaxSubmitLink Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicketstuff-tinymce3 Show documentation
Show all versions of wicketstuff-tinymce3 Show documentation
Adds support for WYSIWYG editing (using TinyMce) to Wicket
package wicket.contrib.tinymce.ajax;
import org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink;
import org.apache.wicket.markup.html.form.Form;
/**
* An AjaxSubmitLink with the TinyMceAjaxSubmitModifier
*
* @author Sander van Faassen
*/
public abstract class TinyMceAjaxSubmitLink extends AjaxSubmitLink
{
/** */
private static final long serialVersionUID = 1L;
/**
* @param id
* @param form
*/
public TinyMceAjaxSubmitLink(String id, Form form)
{
super(id, form);
addTinyMceAjaxSubmitModifier();
}
/**
* @param id
*/
public TinyMceAjaxSubmitLink(String id)
{
super(id);
addTinyMceAjaxSubmitModifier();
}
/**
* Add the TinyMceAjaxSubmitModifier to this AjaxSubmitLink
*/
private final void addTinyMceAjaxSubmitModifier()
{
add(new TinyMceAjaxSubmitModifier());
}
}