[xwiki-dev] Extending the use of tags

Thomas Drevon thomas.drevon at intermedia.uio.no
Fri May 18 14:50:03 CEST 2007


Vincent Massol wrote:
>> 1. I've done the first part writing veolcity code and an xwiki-plugin 
>> code. How can I ensure that this list is displayed for all blog 
>> entries, new and old?
> 
> Edit the ArticleClassSheet page to display the tags.

Thanks for the tip! I've solved part of the problem now :)

>> 2. How can I enable the editing of tags along with the editing of the 
>> actual text of a blog entry?
> 
> Same. Edit the ArticleClassSheet page to provide form inputs to add tags 
> and add some JS code to add the tags on save.

Hm, ok. Is copying code from tagedit.vm a good way to go about it?

>> 3. What kind of persistence (the xwiki db, some other db, xml etc) 
>> would be good to use for storing the definition of a tag?
> 
> Just edit the Tag class and add a definition property.

How do I do that?

> Sorry I don't have the time to research this topic to tell you exactly 
> what to do but these should put you in the right directions.

No worries. I'm very grateful for all the help I can get!


cheers :-)
Thomas




More information about the devs mailing list