Author: tchemit Date: 2013-11-28 18:13:41 +0100 (Thu, 28 Nov 2013) New Revision: 2761 Url: http://nuiton.org/projects/jaxx/repository/revisions/2761 Log: refs #2946: Introduce UIHandler contract and a way to glue it to any generated jaxx object (fix doc) Modified: trunk/src/site/rst/index.rst Modified: trunk/src/site/rst/index.rst =================================================================== --- trunk/src/site/rst/index.rst 2013-11-28 17:07:12 UTC (rev 2760) +++ trunk/src/site/rst/index.rst 2013-11-28 17:13:41 UTC (rev 2761) @@ -50,12 +50,14 @@ Ce handler doit de plus implanter un nouveau contract *jaxx.runtime.spi.UIHandler*. -Le contract contient deux méthodes +Le contrat contient deux méthodes -- *beforeInit* qui est appelé juste avant la méthode *$initialize* de chaque object jaxx -- *afterInit* appelée après l'init de l'ojet jaxx, à savoir tout à la fin de la - méthode *$completeSetup*. +- *beforeInit* appelée au tout début de la méthode *$initialize* +- *afterInit* appelée tout à la fin de la méthode *$initialize* +En résumé, pendant la méthode *beforeInit* il ne faut pas toucher aux UIs, +elles ne sont pas encore construites. + Voir http://nuiton.org/issues/2946. Ajout de nouveaux éditeurs