If user select generated content, application should inform user (using a warning icon and a tooltip). By this way we indicate that content can change even if source code don't.
In a first approach we should consider macros and scripts result as atomic, I mean that if a part of generated content is selected, selection is expanded in order to concern all the generated content. Of course we should be also flexible by designing implementation that allow different plugable behaviours regarding to specifics macros (xhtml for example). Thomas Mortagne wrote: > What append when user select some generated content (Like result of > groovy code for example when you can't know what in the macros is > selected) ? Does it annotate the entire macro, return an error... ? > > On Mon, Nov 17, 2008 at 10:44 AM, Thomas Mortagne > <[EMAIL PROTECTED]> wrote: > >> Hi Lucien, >> >> On Mon, Nov 17, 2008 at 10:22 AM, Lucien PEREIRA >> <[EMAIL PROTECTED]> wrote: >> >>> Hi, >>> >>> I'd like to propose this design >>> <http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature> for >>> annotation feature implementation. >>> >>> Vote is about choosing between solution 1 and 2. >>> >>> if we can have an (almost) perfect bijective function between HTML and >>> XWiki code, I'm +1 for solution 2 because implementation will be more >>> efficient , stable and clean. >>> Otherwise solution 1 seems to be a good solution. >>> >> Yes, you should be able to find the exact wiki source of what you >> selected (you will have sometime to get a little more than the >> selection, like for some macros for example) in generated xhtml so +1 >> for 2 also. By the way I guess there is already some tools in the >> WYSIWYG for this. >> >> >>> WDYT? >>> >>> Lucien >>> >>> >>> >>> _______________________________________________ >>> devs mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/devs >>> >>> >> >> -- >> Thomas Mortagne >> >> > > > > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

