Re: [xwiki-users] The new GWT-based WYSIWYG editor doesn't support the syntax

2010-06-16 Thread Marius Dumitru Florea
On 06/15/2010 09:44 PM, Lee Chalupa wrote:

 Sorry, I'm getting tired.  The last post has an error in it.  It should say
 that I AM NOW getting the page syntax field. This field was not displaying
 in earlier tests.  However I'm only able to get one value in it.

Do you have:

xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0

in your xwiki.cfg file?

Hope this helps,
Marius


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


Re: [xwiki-users] Question about XWiki Office for OpenOffice

2010-06-16 Thread Vincent Massol
Hi Radek,

On Jun 16, 2010, at 10:03 AM, Radek Terber wrote:

 Hi all
 
 Thanks for good job - XWiki is very good platform.
 I have such question: Do developers plan to create XWiki Office Plugin (or
 similar) for OpenOfficeOrg?
 If you do not plan it, how many people would welcome this plugin?

Someone started working on this as a Google Summer of Code:
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/XOOXWikiintegrationwithOpenOffice2010

The work done is avail here:
http://gsoc.myxwiki.org/xwiki/bin/view/XWiki%20Integration%20With%20Open%20Office/

This project is now looking for people to work on it.

Thanks
-Vincent

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


[xwiki-users] [Feedback][UX] Action Menus

2010-06-16 Thread Ecaterina Valica
Hi,

More than 6 months have passed since we introduced the new action menus
http://platform.xwiki.org/xwiki/bin/view/Features/ActionBars(in XE 2.1).
If you want to make a comparison you can look at the old menus Toucan
http://code.xwiki.org/xwiki/bin/view/Skins/ToucanSkinskin has.

It would be great to have some feedback on the way the new menus
improved/messed the productivity/flow.
There are lots of aspects we need to take into considerations because XWiki
is used worldwide both by developers and by less experienced users.

Suggestions on how we can still improve the menus are very welcomed.

Thanks for participating in improving the User Experience for Open-Source
projects,
Caty
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Archive of Pages with Live Table Macro

2010-06-16 Thread Aleks87


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

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
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Archive-of-Pages-with-Live-Table-Macro-tp5181339p5186389.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] PDF Export of {code} sections

2010-06-16 Thread Alexander Pokahr
Dear all,

this issue is really a showstopper for us.
What I did now was adding two hacks to PdfExportImpl.java:

1) Remove call to JTidy in convertToStrictXHtml() and instead just
do a trim() on the html string.

2) Do not apply the user CSS rules if there are none (i.e. don't call
applyCSS() if css equals )

No I have somewhat better output. On the other hand, now the
generation of the table of contents doesn't seem to work anymore.
Strange.

Is there any chance that someone from the XWiki team will
investigate the issue any time soon? Otherwise we'll try to stick
to my current solution (not really satisfactory, but at least partially
does what we need). ;-)

Kind regars,
Alex


Alexander Pokahr schrieb:
 Hi Tomas, all,

 debugging XWiki in eclipse, I found at least part of the problem:
 In PdfExportImpl.convertToStrictXHtml() the page is converted
 to strict xhtml using jtidy. Unfortunately, jtidy also imposes its own
 indentation on the document, which effectively breaks any pre
 environment like the one generated by the code macro.

 I haven't used jtidy. Can it be configured to keep the original
 indentation and whitespaces of an input document?

 Cheers,
 Alex


 Thomas Mortagne schrieb:
   
 On Fri, Jun 11, 2010 at 17:22, Alexander Pokahr
 pok...@informatik.uni-hamburg.de wrote:
   
 
 Dear Thomas,

 thanks for your quick reply.
 I tried following the instructions at:
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel

 I even tried with very simple css snippets such as:
 h1
 {
   color: blue;
 }
 but it doesn't seem to have any effect on the PDF output.
 
   
 Actually maybe the issue you have is related to
 http://jira.xwiki.org/jira/browse/XWIKI-4869

   
 
 BTW, i was wondering why there is no pdf.css in my XWiki
 installation. I'm using XWiki Enterprise 2.1.1.
 
   
 I could not say sorry, i can't find it either in the latest versions.
 I guess the default css are somewhere else or maybe there is none by
 default.

   
 
 I have looked in the release notes to check that the PDF export
 hasn't changed in newer versions, right?

 Any ideas how I could debug this issue? Are the intermediary files
 during generation available somewhere?
 
   
 I don't think so. You would have to run XWiki in debug mode in Eclipse
 or something.

   
 
 Cheers,
 Alex


 On 11.06.2010 15:21, Thomas Mortagne wrote:
 
   
 On Fri, Jun 11, 2010 at 14:50, Alexander Pokahr
 pok...@informatik.uni-hamburg.de  wrote:

   
 
 Dear all,

 we are using XWiki for the project websites and online
 documentation of our open source projects and are
 (almost) very happy with it.

 For releasing distributions and for easy printing of multi-page
 documents, we would like to use the PDF export facility
 of XWiki. The problem is that the {code} snippets used
 often in our documentation are nearly unreadable in PDF.

 Here is an example (web page and PDF export):
 http://jadex-agents.informatik.uni-hamburg.de/xwiki/bin/view/Standalone+Platform+Guide/01+Introduction
 http://jadex-agents.informatik.uni-hamburg.de/xwiki/bin/export/Standalone+Platform+Guide/01+Introduction?format=pdf

 We browsed the documentation, but found it a little bit confusing.
 Can anyone please point us in the right direction for solving
 this issue or (even better) suggest a fix?

 
   
 The display of code macro is controlled by a css class, maybe it's
 missing in the css used with PDF export or it's not supported by PDF
 export.


   
 
 Kind regards and thanks in advance,
 Lars
 Alex


 ___
 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


[xwiki-users] Cannot delete page.

2010-06-16 Thread michael.ebbage
We run an xwiki for our internal development team (  version
2.2.4.28034). It's not a major concern, but the document index points to
'dead' pages. Either they don't exist anymore or they're inaccessible?

One example is Build 6.2.35/0 - Issues Resolved.

Build 6.2.35 is the space name, 0 - Issues Resolved is the page
name. It always appears on the Document Index, but it doesn't seem to
exist. Using most of the page delete snippets I've seen, they use a
syntax similar to:

{{groovy}}
print  [[to delete+xwiki.getURL(Space.Page, delete)+]]
{{/groovy}}

Or

[delete page$xwiki.getURL(Space.Page, delete)]

Both of the above work (delete the page and remove from the index page)
for a 'normal' page, but not my 'dead' page.

Any help would be greatly appreciated.

Best regards,
Michael


 
NorthgateArinso 
Thorpe Park
Thorpe Road
Peterborough
Cambs. PE3 6JY
UNITED KINGDOM

Phone: +44 (0)1733 316090
Fax: +44 (0)1733 588000
E-mail: michael.ebb...@northgatearinso.com
mailto:michael.ebb...@northgatearinso.com 
URL: www.northgatearinso.com http://www.northgatearinso.com/ 





 


NorthgateArinso is a trading name of NorthgateArinso UK Limited |
Peoplebuilding 2 | Maylands Avenue | Hemel Hempstead | Herts, HP2 4NW |
UNITED KINGDOM 
Company registered number: 1587537 | Place of registration: England

The information contained in this email and any attached file is
confidential and may be legally privileged. It is intended solely for
the addressee. If you are not the addressee, you must not disclose,
copy, distribute or use the contents in any way that may be unlawful. If
you have received this mail in error please notify the sender and delete
it immediately. NorthgateArinso UK Limited cannot be held liable for
incomplete or corrupted transmission, delay in receipt or any errors or
omissions in the content of the email, as a result of the transmission.
No rights can be derived from this email. NorthgateArinso UK Limited has
taken reasonable precautions to ensure no viruses are present in this
email, NorthgateArinso UK Limited cannot accept responsibility for any
loss or damage arising from the use of this email or attachments.


 Please consider the environment before printing this e-mail  


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


Re: [xwiki-users] The new GWT-based WYSIWYG editor doesn't support the syntax

2010-06-16 Thread Lee Chalupa

Yes.nbsp; Just checked it again. 
nbsp; 
Leenbsp; 
nbsp; 

 Original Message  Subject: Re: The new GWT-based WYSIWYG 
editor doesn't support the syntax From: Marius Dumitru Florea [via XWiki] 
lt; ml-node+5185153-232865382-164...@n2.nabble.com gt; Date: Wed, June 16, 
2010 1:15 am To: Lee Chalupa lt; lchal...@seelink.org gt; On 06/15/2010 09:44 
PM, Lee Chalupa wrote: gt; gt; Sorry, I'm getting tired. nbsp;The last post 
has an error in it. nbsp;It should say gt; that I AM NOW getting the page 
syntax field. This field was not displaying gt; in earlier tests. 
nbsp;However I'm only able to get one value in it. Do you have: 
xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0 in your xwiki.cfg file? Hope 
this helps, Marius gt; gt; lee 
___ users mailing list [hidden 
email]  http://lists.xwiki.org/mailman/listinfo/users 


View message @ 
http://xwiki.475771.n2.nabble.com/The-new-GWT-based-WYSIWYG-editor-doesn-t-support-the-syntax-tp5135766p5185153.html
  To unsubscribe from Re: The new GWT-based WYSIWYG editor doesn't support the 
syntax, click here . 

-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/The-new-GWT-based-WYSIWYG-editor-doesn-t-support-the-syntax-tp5135766p5186958.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] The new GWT-based WYSIWYG editor doesn't support the syntax

2010-06-16 Thread Lee Chalupa

Marius thanks for your time. 
nbsp; 
I give up.nbsp; Afternbsp;threenbsp;days, I have no more time to spend on 
this. 
nbsp; 
How do I salvage the data that is in the wiki?nbsp;nbsp;I'm going to blow 
this thing away. 
nbsp; 
Is my data lost withnbsp;it? 
nbsp; 
Leenbsp; 
nbsp; 

 Original Message  Subject: RE: The new GWT-based WYSIWYG 
editor doesn't support the syntax From: lchal...@seelink.org Date: Wed, June 
16, 2010 10:19 am To: Marius Dumitru Florea [via XWiki] lt; 
ml-node+5185153-232865382-164...@n2.nabble.com gt; 
Yes.nbsp; Just checked it again. 
nbsp; 
Leenbsp; 
nbsp; 

 Original Message  Subject: Re: The new GWT-based WYSIWYG 
editor doesn't support the syntax From: Marius Dumitru Florea [via XWiki] 
lt; ml-node+5185153-232865382-164...@n2.nabble.com gt; Date: Wed, June 16, 
2010 1:15 am To: Lee Chalupa lt; lchal...@seelink.org gt; On 06/15/2010 09:44 
PM, Lee Chalupa wrote: gt; gt; Sorry, I'm getting tired. nbsp;The last post 
has an error in it. nbsp;It should say gt; that I AM NOW getting the page 
syntax field. This field was not displaying gt; in earlier tests. 
nbsp;However I'm only able to get one value in it. Do you have: 
xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0 in your xwiki.cfg file? Hope 
this helps, Marius gt; gt; lee 
___ users mailing list [hidden 
email]  http://lists.xwiki.org/mailman/listinfo/users 


View message @ 
http://xwiki.475771.n2.nabble.com/The-new-GWT-based-WYSIWYG-editor-doesn-t-support-the-syntax-tp5135766p5185153.html
  To unsubscribe from Re: The new GWT-based WYSIWYG editor doesn't support the 
syntax, click here . 

-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/The-new-GWT-based-WYSIWYG-editor-doesn-t-support-the-syntax-tp5135766p5186999.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] The new GWT-based WYSIWYG editor doesn't support the syntax

2010-06-16 Thread Marius Dumitru Florea
On 06/16/2010 06:29 PM, Lee Chalupa wrote:

 Marius thanks for your time.
 nbsp;
 I give up.nbsp; Afternbsp;threenbsp;days, I have no more time to spend on 
 this.
 nbsp;
 How do I salvage the data that is in the wiki?nbsp;nbsp;I'm going to blow 
 this thing away.

You can export all your wiki pages as a XAR archive (see the Export 
section in the wiki administration page) which you can later import in a 
different XWiki Enterprise instance. Note that the XAR is in fact a zip 
archive and contains XML files describing each of your wiki pages.

Alternatively you can do a database dump, if you database supports it.

Hope this helps,
Marius

 nbsp;
 Is my data lost withnbsp;it?
 nbsp;
 Leenbsp;
 nbsp;

  Original Message  Subject: RE: The new GWT-based WYSIWYG 
 editor doesn't support the syntax From: lchal...@seelink.org Date: Wed, June 
 16, 2010 10:19 am To: Marius Dumitru Florea [via XWiki]lt; 
 ml-node+5185153-232865382-164...@n2.nabble.comgt;
 Yes.nbsp; Just checked it again.
 nbsp;
 Leenbsp;
 nbsp;

  Original Message  Subject: Re: The new GWT-based WYSIWYG 
 editor doesn't support the syntax From: Marius Dumitru Florea [via 
 XWiki]lt; ml-node+5185153-232865382-164...@n2.nabble.comgt; Date: Wed, 
 June 16, 2010 1:15 am To: Lee Chalupalt; lchal...@seelink.orggt; On 
 06/15/2010 09:44 PM, Lee Chalupa wrote:gt;gt; Sorry, I'm getting 
 tired.nbsp;The last post has an error in it.nbsp;It should saygt; that I 
 AM NOW getting the page syntax field. This field was not displayinggt; in 
 earlier tests.nbsp;However I'm only able to get one value in it. Do you 
 have: xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0 in your xwiki.cfg file? 
 Hope this helps, Mariusgt;gt; lee 
 ___ users mailing list [hidden 
 email]  http://lists.xwiki.org/mailman/listinfo/users


 View message @ 
 http://xwiki.475771.n2.nabble.com/The-new-GWT-based-WYSIWYG-editor-doesn-t-support-the-syntax-tp5135766p5185153.html
   To unsubscribe from Re: The new GWT-based WYSIWYG editor doesn't support 
 the syntax, click here .

___
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

2010-06-16 Thread James Cuzella
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.

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.

Thanks!
___
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???

2010-06-16 Thread xManish


Nithya Vembu wrote:
 
 But i dont getting clear idea, how can i create a page under space with
 some contents.. and i am not getting any good samples for xwiki rest api.
 
 ...
 
  Kindly anyone give me idea how rest will get differentiate in xwiki
 manner..
 
  Can anyone give me a code snippet for this requirement so that i can
 improve my progress in my project..
 
  Any help greatly appreciated.
 
  Thanks in advance.
 
 Regards,
 Nithya.
 

Hi,
Did you happened to find the solution to your problem? 
If yes, would you please share 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-tp4520594p5188695.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