Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The following page has been changed by JörnNettingsmeier: http://wiki.apache.org/lenya/GenericEditorAPI ------------------------------------------------------------------------------ For inspiration, read our [http://lenya.apache.org/docs/2_0_x/reference/usecase-framework/index.html usecase documentation]. 1. Create a usecase view: either steal it from the One-Form-Editor (JXTemplate-based, for an out-of-context form: [http://svn.apache.org/viewvc/lenya/trunk/src/modules/editors/usecases/forms/oneform.jx?view=markup oneform.jx]), or follow the TinyMCE approach for an in-place WYSIWYG editor (pipeline-based, check out the sitemap ({{{<match pattern="tinymce.edit">}}}) and the XSLT! See below under [#WYSIWYG]). - (FIXME: this needs better documentation!) 1. Register your editor usecase by writing an xpatch file in {{{$YOURMODULE/config/cocoon-xconf/usecase-edit.xconf}}}: {{{ <xconf xpath="/cocoon/usecases" unless="/cocoon/usecases/[EMAIL PROTECTED] = '$YOURMODULE.edit']"> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
