wicket.contrib.tinymce.ajax
Class TinyMceAjaxSubmitModifier

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.apache.wicket.AttributeModifier
          extended by wicket.contrib.tinymce.ajax.TinyMceAjaxSubmitModifier
All Implemented Interfaces:
Serializable, IClusterable, IComponentAwareEventSink, IComponentAwareHeaderContributor

public class TinyMceAjaxSubmitModifier
extends AttributeModifier

Modifier to modify the onclick method so that the tinyMce data will be updated to the model

Solution found at: http://dwairi.blogspot.com/2006/12/tinymce-ajax.html
For more details see: http://www.crossedconnections.org/w/?p=88

Author:
Sander van Faassen
See Also:
Serialized Form

Field Summary
static String SAVE_TRIGGER
          Trigger that has to be called
 
Fields inherited from class org.apache.wicket.AttributeModifier
VALUELESS_ATTRIBUTE_ADD, VALUELESS_ATTRIBUTE_REMOVE
 
Constructor Summary
TinyMceAjaxSubmitModifier()
          Constructor
 
Method Summary
protected  String newValue(String currentValue, String replacementValue)
           
 
Methods inherited from class org.apache.wicket.AttributeModifier
append, append, detach, getAttribute, getReplaceModel, onComponentTag, prepend, prepend, remove, replace, replace, replaceAttributeValue, toString
 
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListenerInterface, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, renderHead, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SAVE_TRIGGER

public static final String SAVE_TRIGGER
Trigger that has to be called

See Also:
Constant Field Values
Constructor Detail

TinyMceAjaxSubmitModifier

public TinyMceAjaxSubmitModifier()
Constructor

Method Detail

newValue

protected String newValue(String currentValue,
                          String replacementValue)
Overrides:
newValue in class AttributeModifier
See Also:
AttributeModifier.newValue(java.lang.String, java.lang.String)


Copyright © 2004-2011. All Rights Reserved.