Re: [xwiki-users] Archive of Pages with Live Table Macro
On 06/16/2010 04:15 PM, Aleks87 wrote: Marius Dumitru Florea wrote: Check out this thread http://lists.xwiki.org/pipermail/users/2010-June/020947.html Hope this helps, Marius Yes, that helped me. Thx! My new Code: ### {{velocity}} #set($collist = [doc.name, doc.space, doc.date, doc.creator, doc.author, _actions]) #set($colprops = { doc.name : { type : text , size : 30, link : view}, doc.space : { type : hidden, link : space}, doc.date : { type : date }, doc.creator : { type : text, link : creator}, doc.author : { type : text, link : author}, _actions : {actions: [edit,delete,rename]} }) #set($options = { topFilters:'input type=hidden size=${colprop.size} name=doc.space value=Projects-KnowHow /', translationPrefix : xe.index., rowCount: 10, selectedColumn: doc.date, defaultOrder : desc }) #livetable(allprojectspages $collist $colprops $options) {{/velocity}} ### and a screenshot: http://xwiki.475771.n2.nabble.com/file/n5186389/list-forum.jpg And now I have 3 questions: 1) Why does the third column call xe.index.doc.creator ? doc.author also calls Last Author The creator is the user that created the page, while the author is the last user that edited the page. They can be two different users. There's no xe.index.doc.creator translation key in the default translation file, but you can add it following http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications I'll leave the other two questions for someone who knows the live table component better. Hope this helps, Marius 2) NewPage is a page created by me (in the Project-KnowHow space) to test the LiveTable and it works. But I don't want to see WebHome and List. Can I sort them out? Is there such a commanding? 3) Is there an easy way to make the Actions column visible for all registered users? Yes I know that in the http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro LiveTableMacro Description is written: _actions A special column to display a list of actions that can be performed by administrators on the matched documents. But it would be nice...otherwise all users have to open eg. NewPage before they can edit it. Maybe I can give Admin rights only for this page? --- All this points are little minor flaws. But it would be nice to fix them. Thx for help Aleks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem to build XWiki-Manager (2.3.1) in Eclipse
On Thu, Jun 17, 2010 at 10:41, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Thu, Jun 17, 2010 at 00:48, James Cuzella james.cuze...@alumni.mines.edu wrote: On Wed, Jun 9, 2010 at 7:47 AM, DarkVolbec lbep...@hotmail.com wrote: Yes you are right, thanks for the advise. Probably the blog module is more what I need. Now how can I build it in eclipse? :) -- View this message in context: http://xwiki.475771.n2.nabble.com/Problem-to-build-XWiki-Manager-2-3-1-in-Eclipse-tp5156754p5158537.html I think if someone who knows what they're doing could quickly run through and update the build debug documentation for Eclipse, that would be very helpful! I've been trying to get xwiki-enterprise working in Eclipse for some time now, and haven't had much luck. I'm no newbie to Eclipse or *nix, however, I am a newbie to maven developing *large* projects in Java. Why do you absolutely want to build xwiki-enterprise in Eclipse ? Jar projects why not but it's a lot easier to build xwiki-enterprise distribution in console with mvn command (see http://dev.xwiki.org/xwiki/bin/view/Community/Building). Especiallt if you are a *nix user. M2Eclipse use some early beta version of maven which probably have issue with some fancy things we do in xwiki-enterprise. I got lost in the sheer number of documents from which I had to pull instructions or configuration information from, all of which appeared to be using an older version of Eclipse. I'm still not sure where things went wrong, but I am sure that a single step-by-step setup document (that currently works) would definitely help. For debugging XE (not building a distribution of it) you should look at http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse if you don't need the WYSIWYG (it's not supported yet out of the box but you can probably tweak it a little to support it if you know well Eclipse and GWT). Thanks! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [Vote] Move the 'paste office content' feature from the import menu to the tool bar?
Hi, Currently the Import menu of the WYSIWYG editor has two entries: * 'Office Document' for importing office files * 'Office Content (Copy / Paste)' for pasting rich text (copied usually from office documents) We had a few complains from uses that were pasting the rich text directly in the edited document causing the editor to misbehave or getting unexpected content after save. When they were told to use the 'Office Content (Copy / Paste)' entry from the Import menu they seemed surprised Ideally the editor should catch the paste event and clean the pasted rich text on the fly before it is inserted in the edited document but currently there's no clean way to do this: access to the clipboard is restricted for security reasons and the paste event is not well supported in all major browsers. I recently committed a change to the WYSIWYG editor to allow putting any of the Import menu entries on the tool bar. (1) Should we enable the 'Office Content (Copy / Paste)' button on the tool bar by default in the standard XE distribution? (2) Should we remove the 'Office Content (Copy / Paste)' entry from the Import menu? I'm +1 for (1) and -0 for (2) because the Import menu would look awkward with just one entry. Note that it's not unusual to have a feature both in the menu and in the tool bar. Thanks, Marius ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Vote] Move the 'paste office content' feature from the import menu to the tool bar?
Hi, On Thu, Jun 17, 2010 at 11:47, Vincent Massol vinc...@massol.net wrote: On Jun 17, 2010, at 11:37 AM, Marius Dumitru Florea wrote: Hi, Currently the Import menu of the WYSIWYG editor has two entries: * 'Office Document' for importing office files * 'Office Content (Copy / Paste)' for pasting rich text (copied usually from office documents) We had a few complains from uses that were pasting the rich text directly in the edited document causing the editor to misbehave or getting unexpected content after save. When they were told to use the 'Office Content (Copy / Paste)' entry from the Import menu they seemed surprised Ideally the editor should catch the paste event and clean the pasted rich text on the fly before it is inserted in the edited document but currently there's no clean way to do this: access to the clipboard is restricted for security reasons and the paste event is not well supported in all major browsers. I recently committed a change to the WYSIWYG editor to allow putting any of the Import menu entries on the tool bar. (1) Should we enable the 'Office Content (Copy / Paste)' button on the tool bar by default in the standard XE distribution? +1 since it's way too hidden in the import menu and not logical for the majority of users. +1 too. (2) Should we remove the 'Office Content (Copy / Paste)' entry from the Import menu? +1 for me especially in view of (1) (ie people don't expect paste to be an import). I don't have a problem with a single menu entry (note that the Image menu also has a single entry). +1, I agree with Vincent, and me might have other types of import in the future (who knows?). Guillaume Thanks -Vincent I'm +1 for (1) and -0 for (2) because the Import menu would look awkward with just one entry. Note that it's not unusual to have a feature both in the menu and in the tool bar. Thanks, Marius ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Vote] Move the 'paste office content' feature from the import menu to the tool bar?
Hi, On Thu, Jun 17, 2010 at 3:07 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Hi, Currently the Import menu of the WYSIWYG editor has two entries: * 'Office Document' for importing office files * 'Office Content (Copy / Paste)' for pasting rich text (copied usually from office documents) We had a few complains from uses that were pasting the rich text directly in the edited document causing the editor to misbehave or getting unexpected content after save. When they were told to use the 'Office Content (Copy / Paste)' entry from the Import menu they seemed surprised Ideally the editor should catch the paste event and clean the pasted rich text on the fly before it is inserted in the edited document but currently there's no clean way to do this: access to the clipboard is restricted for security reasons and the paste event is not well supported in all major browsers. I recently committed a change to the WYSIWYG editor to allow putting any of the Import menu entries on the tool bar. (1) Should we enable the 'Office Content (Copy / Paste)' button on the tool bar by default in the standard XE distribution? (2) Should we remove the 'Office Content (Copy / Paste)' entry from the Import menu? +1 for both. Thanks. - Asiri I'm +1 for (1) and -0 for (2) because the Import menu would look awkward with just one entry. Note that it's not unusual to have a feature both in the menu and in the tool bar. Thanks, Marius ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs ___ 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 06/18/2010)
I am out of the office until 06/18/2010. Out Thursday...back Friday. Note: This is an automated response to your message users Digest, Vol 35, Issue 51 sent on 6/17/10 6:00:10. 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
Re: [xwiki-users] AUTO: MaryEllen Coleman/Poughkeepsie/IBM is out of the office. (returning 06/18/2010)
This is about to become a running joke :-) Guillaume On Thu, Jun 17, 2010 at 16:11, MaryEllen Coleman m...@us.ibm.com wrote: I am out of the office until 06/18/2010. Out Thursday...back Friday. Note: This is an automated response to your message users Digest, Vol 35, Issue 51 sent on 6/17/10 6:00:10. 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???
Jerome Velociter wrote: Hi Nithya, Manish Have you checked http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresources ? In particular : /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName} HTTP Method: PUT * Accepted Media types: o application/xml (Page element) o text/plain (Only page content) o application/x-www-form-urlencoded (allowed field names: title, parent, content) Is something not clear about it ? Not working ? Thanks, Jerome Hi Jerome, Thanks for the reply. I was able to create the page afterwards. Sorry for the impatience :) However, today I am into different but similiar situation. I need to create users in XWiki through REST Api. Is it possible? How to do it? Thanks, Manish -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-add-a-page-with-contents-in-xwiki-through-Rest-api-tp4520594p5192646.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
Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???
Hi. See below - xManish shresthaman...@gmail.com wrote: Jerome Velociter wrote: Hi Nithya, Manish Have you checked http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresources ? In particular : /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName} HTTP Method: PUT * Accepted Media types: o application/xml (Page element) o text/plain (Only page content) o application/x-www-form-urlencoded (allowed field names: title, parent, content) Is something not clear about it ? Not working ? Thanks, Jerome Hi Jerome, Thanks for the reply. I was able to create the page afterwards. Sorry for the impatience :) Sorry if my message felt harsh, that was not the intend :) However, today I am into different but similiar situation. I need to create users in XWiki through REST Api. Is it possible? How to do it? Currently, I'm not sure you can perform this as an atomic operation. Unless maybe your wiki runs with the implicit XWikiAllGroup setting (see http://jira.xwiki.org/jira/browse/XWIKI-2116 ) What you have to do is then use the object REST api ( http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HObjectresources ), creating a page with an object of class XWiki.XWikiUsers If you don't have the implicit XWikiAllGroup then you need to add an object of class XWiki.XWikiGroups with the created user as member, to XWiki.XWikiAllGroup document. I agree an API to directly hit and create users, under /wikis/{wikiName}/users would be nice. Regards, Jerome. Thanks, Manish -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-add-a-page-with-contents-in-xwiki-through-Rest-api-tp4520594p5192646.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