Re: [xwiki-users] Comment Moderation , Right approach

2011-04-21 Thread Marius Dumitru Florea
On 04/21/2011 02:26 PM, akp wrote:
 Hi Marius,

 please let me know how do i implement this  ajax based , like delete ,
 showing  a modal yes, no box and progresses messages in the bottom.

You can check for instance how comments are removed from a page. You can 
see the detailed code in 
https://github.com/xwiki/xwiki-platform/raw/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/uicomponents/viewers/comments.js
 
. Basically, you use XWiki.widgets.ConfirmedAjaxRequest widget.

Hope this helps,
Marius


 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Comment-Moderation-Right-approach-tp6195006p6293805.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 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] AUTO: MaryEllen Coleman/Poughkeepsie/IBM is out of the office. (returning 04/26/2011)

2011-04-21 Thread MaryEllen Coleman

I am out of the office until 04/26/2011.

Happy Easter!  :-)


Note: This is an automated response to your message  users Digest, Vol 45,
Issue 38 sent on 4/21/11 6:00:29.

This is the only notification you will receive while this person is away.

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


[xwiki-users] Two Newbie Questions

2011-04-21 Thread Robb Sands
Hello,

Is it possible to move pages around within a space, or only from one 
space to another?

I followed the FAQ tutorial, and for the most part it is working fine. 
However under faq.question we are seeing faq.emptyvalue.

What did I do wrong?

Thanks for your assistance.

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


Re: [xwiki-users] Post-setup : Unknow macro

2011-04-21 Thread Elsa Marks
I've done what you suggested me to do :

Open Main/Activity , edit, save (without any changes).
Open Main/Spaces , edit, save (without any changes).
Open XWiki/TagCloud , edit, save (without any changes).

It works now.

2011/4/20 Sergiu Dumitriu ser...@xwiki.com

 On 04/20/2011 05:22 PM, Elsa Marks wrote:
  Yes.. I did that, and the macros are still unknown..I've restarted tomcat
  and the same thing.. :(

 Write this in an empty document:

 {{velocity}}$xwiki.hasProgrammingRights(){{/velocity}}

 Save and view. Does it print true or false?

 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
  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] Categorie - Spaces

2011-04-21 Thread Elsa Marks
Hi

I want to create two categories and for each categorie, we want to create
several articles or pages.

Is space the same thing as categorie ? If yes, how can I  show only two
spaces in the main page ? Right now I have the space macro and it shows all
the spaces like blog , main, panels, estc.

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


Re: [xwiki-users] Categorie - Spaces

2011-04-21 Thread Kevin P. Foote

Instead of the Spaces macro use this for that particular area of the
page..



   = My Catagories = 
(% style=list-style-type: square %)
* [[Category 1SPACE-NAME-1.WebHome]]
* [[Category 2SPACE-NAME-2.WebHome]]


Where SPACE-NAME-X is the name you have given your space(s)

--
thanks
  kevin.foote

On Thu, 21 Apr 2011, Elsa Marks wrote:

- Hi
- 
- I want to create two categories and for each categorie, we want to create
- several articles or pages.
- 
- Is space the same thing as categorie ? If yes, how can I  show only two
- spaces in the main page ? Right now I have the space macro and it shows all
- the spaces like blog , main, panels, estc.
- 
- thanks
- ___
- 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] Bulletin board app modification question

2011-04-21 Thread Scardino, Leonard R Jr ERDC-ITL-MS Contractor
I've modified the bulletin board app by adding an edit link to
BBCode.TopicClassSheet (between Quote and Delete) that links to
$doc.getURL(edit,
editor=objectamp;classname=BBCode.PostClassamp;object=$item.number).
This gives me the ability to edit a post by linking to the object editor for
that post.  But the object editor isn't very user friendly.

I noticed towards the top of BBCode.TopicClassSheet, the context.action is
checked to see if its inline.  This determines if a new thread is being
created, and does what is necessary to create it.

I'd like to change the edit link to point back to BBCode.TopicClassSheet but
provide a different custom action.  This way I could check for that action
(say for instance postEdit) and instead of providing the post as is,
provide a form that lets me edit the object.

My problem is, I don't know how to create a link to do this.  I've tried some
of my guesses, but it didn't work.

Can someone tell me how to (within BBCode.TopicClassSheet) create a link to
BBCode.TopicClassSheet but with a different custom action that would allow me
to change the post from just a diplay to a form that allows the object to be
edited?

Hope that question makes sense.

Thanks,

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