Re: [xwiki-users] Search box in Add Macro.

2013-09-13 Thread Thomas Mortagne
Well having DocumentReference as type of the macro parameter should be enough for the WYSIWYG to know that it's a document that is needed. We just need to implement a org.xwiki.properties.converter.Converter on Java side for String - DocumentReference. On Wed, Sep 11, 2013 at 9:04 PM, Marius

[xwiki-users] Search box in Add Macro.

2013-09-11 Thread shashidhar patil
Hey, I have created a macro which helps me to point to another page. I would like to implement a feature where in the WYSIWYG editor mode in the add macro tab, I wanted to be able to type the page name in a search box instead of a normal text box. This way the user can search for a given page and

Re: [xwiki-users] Search box in Add Macro.

2013-09-11 Thread Marius Dumitru Florea
See http://jira.xwiki.org/browse/XWIKI-8613 . It's not easy to implement a generic solution (the WYSIWYG editor needs more information from the Rendering / server side about the macro parameter type, not just it's Java type as it gets now, in order to know which widget to display as input). As for