ERDEditHTML Class Reference

Inherits er::directtoweb::components::ERDCustomEditComponent.

Collaboration diagram for ERDEditHTML:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void appendToResponse (WOResponse response, WOContext context)
 ERDEditHTML (WOContext context)
boolean isStateless ()
boolean synchronizesVariablesWithBindings ()

Static Public Attributes

static final String DEFAULT_URL = "http://tinymce.moxiecode.com/tinymce/jscripts/tiny_mce/tiny_mce.js"
static final String FILE_NAME_PROPERTY = "er.directtoweb.ERDEditHTML.tinyMceSourceFileName"
static final String FRAMEWORK_NAME_PROPERTY = "er.directtoweb.ERDEditHTML.tinyMceSourceFrameworkName"
static final String SOURCE_URL_PROPERTY = "er.directtoweb.ERDEditHTML.tinyMceSourceUrl"

Private Member Functions

String richTextMode ()


Detailed Description

Very, very basic version of a TinyMCE integration. As it doesn't make much sense to load the the JS files it's excepted that you put them somewhere on your server and specify the location with the property er.directtoweb.ERDEditHTML.tinyMceSourceUrl=http://somewhere/.../tiny_mce.js.
The default is the TinyMce server which would be very unfriendly and slow to use in deployment...

You can also use er.directtoweb.ERDEditHTML.tinyMceSourceFileName and er.directtoweb.ERDEditHTML.tinyMceSourceFrameworkName properties to specify file name and framework name ("app" by default) of TinyMCE if you want to store the files in WebServerResources of your application of framework. For example:
 er.directtoweb.ERDEditHTML.tinyMceSourceFileName = tiny_mce/tiny_mce.js
 

Author:
ak

Constructor & Destructor Documentation

ERDEditHTML ( WOContext  context  ) 


Member Function Documentation

void appendToResponse ( WOResponse  response,
WOContext  context 
)

Calls resetCachedBindingsInStatefulComponent prior to super.appendToResponse.

Parameters:
response to which we are appending
context context of the response

Reimplemented from ERDCustomComponent.

boolean isStateless (  ) 

component is not stateless

Reimplemented from ERDCustomEditComponent.

String richTextMode (  )  [private]

boolean synchronizesVariablesWithBindings (  ) 

Overridden from superclass to turn on component synching, which is the default.

Reimplemented from ERDCustomEditComponent.


Member Data Documentation

final String DEFAULT_URL = "http://tinymce.moxiecode.com/tinymce/jscripts/tiny_mce/tiny_mce.js" [static]

final String FILE_NAME_PROPERTY = "er.directtoweb.ERDEditHTML.tinyMceSourceFileName" [static]

final String FRAMEWORK_NAME_PROPERTY = "er.directtoweb.ERDEditHTML.tinyMceSourceFrameworkName" [static]

final String SOURCE_URL_PROPERTY = "er.directtoweb.ERDEditHTML.tinyMceSourceUrl" [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:53 2012 for Project Wonder by  doxygen 1.5.8