Re: [xwiki-users] Problem getting structured tags working wiht Xwiki 3.5

2012-05-04 Thread Marius Dumitru Florea
On Thu, May 3, 2012 at 5:27 PM, Bergquist, Brett  wrote:
> Thanks for your input but I am still confused and the confusion comes from
>
>        http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
>
> No matter what I select (checkbox display or select display), I do not see 
> the Tags listed like in the image of "Document Information" on this page.
>
> So either this page is wrong or I have something wrong.  It would be useful 
> to know which...
>
> From this page I see:
>
> "To setup the Checkbox display, you need to select "checkbox" on the TagClass 
> page. Once this is done, users will be able to assign a tag to a given page 
> by ticking the relevant box."
>
> This is what I want users to be able do, to "assign a tag to a given page by 
> ticking the relevant box".
>
> I really like XWiki but I think this is one of the major problems is that the 
> documentation does not match what actually is.
>
> Again, thank you for your response and hopefully you will have more info on 
> the above.

Unfortunately this feature was removed a while ago. I'm not sure if it
was removed by mistake or because it wasn't working properly. Probably
the later. Here's a diff http://pastebin.com/11ewzxYz that can help
you add this feature back, but beware that it has at least one bug I
discovered doing some quick testing: once you add a tag to a page you
can remove all its tags; you can add more tags, remove some, but not
all.

Hope this helps, a bit,
Marius

>
> Brett
>
>
>
> -Original Message-
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
> Marius Dumitru Florea
> Sent: Thursday, May 03, 2012 2:53 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Problem getting structured tags working wiht Xwiki 
> 3.5
>
> On Wed, May 2, 2012 at 8:17 PM, Bergquist, Brett  
> wrote:
>> I have edited the XWiki Tag Class
>>
>> http:///xwiki/bin/view/XWiki/TagClass<http://%3cserver%3e/xwik
>> i/bin/view/XWiki/TagClass>
>>
>> and set the Tags property.  The name is "tags and I have edited the Values 
>> to be the list of tags I want.  However on a page, I do not see the list of 
>> tags when I click on the Tags(+).   Is this only effective for a newly 
>> created page or should the tags appear on the existing pages?
>>
>> Any help or thoughts will be appreciated.
>
> If you also change the "Display Type" to "select" and put this code in a page 
> with tags:
>
> {{velocity}}
> $doc.display('tags')
> {{/velocity}}
>
> and then edit this page in "Inline form" edit mode (?editor=inline) you'll 
> see the list of tags you have set in XWiki.TagClass
>
> But the tag UI, i.e. what you get when clicking on Tags(+), doesn't take into 
> account neither the "Display Type" nor the "Values" meta properties of 
> "tags". So you either modify the tag UI or write a custom one, or you can 
> write an event listener ( 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local
> ) that is notified when a document is saved and filters the tags.
>
> Hope this helps,
> Marius
>
>>
>> Brett
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem getting structured tags working wiht Xwiki 3.5

2012-05-03 Thread Guillaume Lerouge
Hi Brett,

based on your experiments, most likely the documentation page is wrong and
this feature no longer exists.

Guillaume

On Thu, May 3, 2012 at 4:27 PM, Bergquist, Brett wrote:

> Thanks for your input but I am still confused and the confusion comes from
>
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
>
> No matter what I select (checkbox display or select display), I do not see
> the Tags listed like in the image of "Document Information" on this page.
>
> So either this page is wrong or I have something wrong.  It would be
> useful to know which...
>
> From this page I see:
>
> "To setup the Checkbox display, you need to select "checkbox" on the
> TagClass page. Once this is done, users will be able to assign a tag to a
> given page by ticking the relevant box."
>
> This is what I want users to be able do, to "assign a tag to a given page
> by ticking the relevant box".
>
> I really like XWiki but I think this is one of the major problems is that
> the documentation does not match what actually is.
>
> Again, thank you for your response and hopefully you will have more info
> on the above.
>
> Brett
>
>
>
> -Original Message-
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
> Of Marius Dumitru Florea
> Sent: Thursday, May 03, 2012 2:53 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Problem getting structured tags working wiht
> Xwiki 3.5
>
> On Wed, May 2, 2012 at 8:17 PM, Bergquist, Brett 
> wrote:
> > I have edited the XWiki Tag Class
> >
> > http:///xwiki/bin/view/XWiki/TagClass<http://%3cserver%3e/xwik
> > i/bin/view/XWiki/TagClass>
> >
> > and set the Tags property.  The name is "tags and I have edited the
> Values to be the list of tags I want.  However on a page, I do not see the
> list of tags when I click on the Tags(+).   Is this only effective for a
> newly created page or should the tags appear on the existing pages?
> >
> > Any help or thoughts will be appreciated.
>
> If you also change the "Display Type" to "select" and put this code in a
> page with tags:
>
> {{velocity}}
> $doc.display('tags')
> {{/velocity}}
>
> and then edit this page in "Inline form" edit mode (?editor=inline) you'll
> see the list of tags you have set in XWiki.TagClass
>
> But the tag UI, i.e. what you get when clicking on Tags(+), doesn't take
> into account neither the "Display Type" nor the "Values" meta properties of
> "tags". So you either modify the tag UI or write a custom one, or you can
> write an event listener (
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local
> ) that is notified when a document is saved and filters the tags.
>
> Hope this helps,
> Marius
>
> >
> > Brett
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem getting structured tags working wiht Xwiki 3.5

2012-05-03 Thread Bergquist, Brett
Thanks for your input but I am still confused and the confusion comes from

http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application

No matter what I select (checkbox display or select display), I do not see the 
Tags listed like in the image of "Document Information" on this page.   

So either this page is wrong or I have something wrong.  It would be useful to 
know which...

>From this page I see:

"To setup the Checkbox display, you need to select "checkbox" on the TagClass 
page. Once this is done, users will be able to assign a tag to a given page by 
ticking the relevant box."

This is what I want users to be able do, to "assign a tag to a given page by 
ticking the relevant box".

I really like XWiki but I think this is one of the major problems is that the 
documentation does not match what actually is.

Again, thank you for your response and hopefully you will have more info on the 
above.

Brett



-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Marius Dumitru Florea
Sent: Thursday, May 03, 2012 2:53 AM
To: XWiki Users
Subject: Re: [xwiki-users] Problem getting structured tags working wiht Xwiki 
3.5

On Wed, May 2, 2012 at 8:17 PM, Bergquist, Brett  wrote:
> I have edited the XWiki Tag Class
>
> http:///xwiki/bin/view/XWiki/TagClass<http://%3cserver%3e/xwik
> i/bin/view/XWiki/TagClass>
>
> and set the Tags property.  The name is "tags and I have edited the Values to 
> be the list of tags I want.  However on a page, I do not see the list of tags 
> when I click on the Tags(+).   Is this only effective for a newly created 
> page or should the tags appear on the existing pages?
>
> Any help or thoughts will be appreciated.

If you also change the "Display Type" to "select" and put this code in a page 
with tags:

{{velocity}}
$doc.display('tags')
{{/velocity}}

and then edit this page in "Inline form" edit mode (?editor=inline) you'll see 
the list of tags you have set in XWiki.TagClass

But the tag UI, i.e. what you get when clicking on Tags(+), doesn't take into 
account neither the "Display Type" nor the "Values" meta properties of "tags". 
So you either modify the tag UI or write a custom one, or you can write an 
event listener ( 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local
) that is notified when a document is saved and filters the tags.

Hope this helps,
Marius

>
> Brett
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem getting structured tags working wiht Xwiki 3.5

2012-05-02 Thread Marius Dumitru Florea
On Wed, May 2, 2012 at 8:17 PM, Bergquist, Brett  wrote:
> I have edited the XWiki Tag Class
>
> http:///xwiki/bin/view/XWiki/TagClass
>
> and set the Tags property.  The name is "tags and I have edited the Values to 
> be the list of tags I want.  However on a page, I do not see the list of tags 
> when I click on the Tags(+).   Is this only effective for a newly created 
> page or should the tags appear on the existing pages?
>
> Any help or thoughts will be appreciated.

If you also change the "Display Type" to "select" and put this code in
a page with tags:

{{velocity}}
$doc.display('tags')
{{/velocity}}

and then edit this page in "Inline form" edit mode (?editor=inline)
you'll see the list of tags you have set in XWiki.TagClass

But the tag UI, i.e. what you get when clicking on Tags(+), doesn't
take into account neither the "Display Type" nor the "Values" meta
properties of "tags". So you either modify the tag UI or write a
custom one, or you can write an event listener (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local
) that is notified when a document is saved and filters the tags.

Hope this helps,
Marius

>
> Brett
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem getting structured tags working wiht Xwiki 3.5

2012-05-02 Thread Bergquist, Brett
I have edited the XWiki Tag Class

http:///xwiki/bin/view/XWiki/TagClass

and set the Tags property.  The name is "tags and I have edited the Values to 
be the list of tags I want.  However on a page, I do not see the list of tags 
when I click on the Tags(+).   Is this only effective for a newly created page 
or should the tags appear on the existing pages?

Any help or thoughts will be appreciated.

Brett
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users