Hi devs,

Working on the auto-suggestion feature [1], I've been integrating it
in xproperties holding a reference to a page. Those xproperties are of
type String and have been changed to the Page type so that the page
displayer is used and shows the auto-suggestion when needed.

I now need to implement an auto-suggestion on xproperties holding a
reference to a space (e.g [2]), a wiki (e.g [2]) and an attachment
(e.g. [3]).
I think the best would be to create an Attachment and Wiki xproperty
type and create new displayers exactly like the Page type.

I don't think we can create a Space xproperty because it's not meant
to be visible by the end user.
Maybe we could use the Page xproperty type and have a parameter inside
to select only spaces.

WDYT?

Thanks,
Adel

--------
[1] https://design.xwiki.org/xwiki/bin/view/Proposal/AutocompleteOnReference
[2] 
https://design.xwiki.org/xwiki/bin/view/Proposal/AutocompleteOnReference#HClass:XWiki.WatchListClass
[3] 
https://design.xwiki.org/xwiki/bin/view/Proposal/AutocompleteOnReference#HClass:XWiki.XWikiUsers

Reply via email to