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

------------------------------------------------------------------------------
- This page describes the Lenya editor API.
+ Status: DRAFT
+ 
+ This page describes the Lenya editor API as it slowly evolves into shape.
  It might eventually contain all the information you need to make an editor of 
your choice work with Lenya. Currently, it is incomplete. Use the source, Luke.
  
  
@@ -18, +20 @@

  }}}
  
  Each editor module that wishes to use the generic usecase implementations 
'''must''' provide the following callbacks in a file named 
{{{resources/javascript/editorCallbacks.js}}}:
+ 
+ FIXME: that is awkward. the callback could more easily be provided by the 
opening window and then called via window.opener.LenyaInsertFOO...
+ 
  {{{
   function LenyaInsertImage(imageData) {};
   where 
@@ -64, +69 @@

  
  === Contract between validation on the server and editor modules ===
  
- Aach editor should be able to handle validation errors from the server 
gracefully. It must receive the appropriate error messages from the server, 
display them to the user, and keep the file checked out!
+ Each editor should be able to handle validation errors from the server 
gracefully. It must receive the appropriate error messages from the server, 
display them to the user, and keep the file checked out!
  
  This implies that the transmission of the document data and the receiving of 
result messages should happen via AJAX. 
  thus it's a task for well after 2.0 is out.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to