Yes, this is what I was looking for, but how do I bring up the editor? For
example in the case of a Wysiwyg edit.

On 3/26/08, Guillaume Lerouge <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
> Thanks to Sergui who pointed out the different states (edit, view,...) I
> > made the following changes to my code so that you still be able to edit
> a
> > property with a custom display so here it is for the String property
> type.
> > I'm wondering if there is such a thing like $object.getEditor() but
> > couldn't
> > find it in the jdoc.
> >
>
>
> There's 2 things available :
>
>    - #if( $context.action == 'edit') (you could replace edit with delete,
>    addobject, inline ...)
>    - #if( $!request.editor == 'wiki') (you could replace wiki with
>    wysiwyg, object, class ...)
>
> Is this what you were lookig for ?
>
>
> Guillaume
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to