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/EditorRoadmap

The comment on the change is:
outline contract between editor modules and generic functionality

------------------------------------------------------------------------------
  Options:
   * Neutron
+ 
+ it would be *really* cool if all data flow between editor and lenya 
repository could be handled via neutron. editors who do not support neutron 
natively could be wrapped (if they provide hooks). editors that do not provide 
such hooks are evil imho. (JörnNettingsmeier)
  
  === Problems with Neutron ===
  
@@ -17, +19 @@

   * b) Deliver XHTML with link to CSS
   * Provide sitetree XML
  
+ 
+ ===contract between generic editor functions (insertImage, insertLink) and 
editor modules===
+ 
+ each editor module '''must''' implement the following callbacks in javascript:
+ 
+ function insertImage(src, alt, title, width, height, scaleWidth, scaleHeight) 
{};
+ function insertLink(href, title, name, lang) {};
+ 
+ we should tackle this in the immediate future.
+ 
+ ===contract between validation on the server and editor modules===
+ 
+ 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 1.4 is out.
+ 

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

Reply via email to