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 Dumitru Florea
<[email protected]> wrote:
> 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 a custom solution, you need to
> modify the editor code, but that's not trivial either..
>
> On Wed, Sep 11, 2013 at 9:19 AM, shashidhar patil
> <[email protected]> wrote:
>> 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 it could directly help to validate the page.
>>
>> Thanks and Regards,
>> Shashidhar P
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to