Re: [xwiki-users] How to add a panel to all the spaces using the Panel Wizard

2010-06-03 Thread Anca Luca
Hi Abel,

You'd need to go to administer wiki (global menu top left) and then from 
the admin page choose panel wizard. That should set it wiki-wide.

Have fun,
Anca

On 06/03/2010 04:21 AM, Abel Solórzano Astorga wrote:
 Hi,

 I want to add a panel to my xwiki site using the Panel Wizard. I can add a
 panel to a space, but I want to add a panel to all the spaces (like the Main
 Navigation Panel). I know that I can add the panel to all the spaces one by
 one. But if I add a space I need to add the panel to the new space. Is there
 I way to add the panel for all the spaces. How can I do that ?

 Thanks,

 Abel
 ___
 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 panel to all the spaces using the Panel Wizard

2010-06-03 Thread Vincent Massol

On Jun 3, 2010, at 3:21 AM, Abel Solórzano Astorga wrote:

 Hi,
 
 I want to add a panel to my xwiki site using the Panel Wizard. I can add a
 panel to a space, but I want to add a panel to all the spaces (like the Main
 Navigation Panel). I know that I can add the panel to all the spaces one by
 one. But if I add a space I need to add the panel to the new space. Is there
 I way to add the panel for all the spaces. How can I do that ?

When you set panels in the admin for the whole wiki they're available in all 
spaces. However spaces can override that information.

Thanks
-Vincent

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


Re: [xwiki-users] XWiki Manager - Instance throws Failed to initialize the XWiki context. Exception

2010-06-03 Thread Marius Dumitru Florea
On 06/02/2010 11:29 PM, Jared Pearson wrote:
 Whenever I click the Wiki Page... menu item from the Link menu on
 the WYSIWYG editor I get an There was an error loading the data
 message displayed.  Upon closer examination of the requests being
 made, the server is returning a 500 error with Failed to initialize
 the XWiki context with an inner exception of The wiki server1 does
 not exist.

 I have an XEM 2.3.28624 installation with two XE instances set up
 using Path-based resolution.  This error is occurring in both XE
 instances.

 Steps Taken
 1. visit the wiki
 http://server1/xwiki/wiki/mywiki/view/Main/NewPage
 2. click the edit link
 3. click the Link button on the toolbar
 4. click the Wiki Page... menu item

 The dialog box appears with the error message. A request was made to
 the URL below with a 500 response.
 http://server1/xwiki/resources/js/xwiki/wysiwyg/xwe/WikiService.gwtrpc

 Stack trace
 javax.servlet.ServletException: Failed to initialize the XWiki context.
   
 com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:154)
   
 com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
   
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
   
 com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
   
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)

 root cause
 com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki server1
 does not exist

It detects the current wiki as being server1 instead of xwiki (the 
main wiki). The WYSIWYG editor is loaded from 
http://server1/xwiki/resources/js/xwiki/wysiwyg/xwe/ for any wiki and 
all further GWTRPC requests have their URLs relative to this one. As you 
can see the service URL doesn't contain information about the wiki and 
it's fine because the XWiki context initialized in the servlet filter 
doesn't have to point to a specific wiki. Whenever the editor needs 
information from a wiki it sends the wiki names as a parameter to the 
service method.

The problem is that XWiki defaults on domain-based multiwiki when 
information about the wiki is not provided in the URL path.

Thomas, WDYT?

Thanks,
Marius

   com.xpn.xwiki.XWiki.getXWiki(XWiki.java:496)
   
 com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:140)
   
 com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
   
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
   
 com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
   
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
 ___
 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] Using XWiki to create large and structured documentation

2010-06-03 Thread Radek Terber
Hi

Thanks for quick response. It sounds very nicely.
I try to modify XE to satisfy my requests ant then eventually publish the
result.



2010/6/2 Caleb James DeLisle calebdeli...@lavabit.com



 Radek Terber wrote:
  Hi all
 
  I test the XWiki, and I thing this is the best wiki software freely
  available this days.
 :)
  But I have such idea how to use XWiki to create
  documentation.
 
  My idea is to create similar document's structure, as Office programs
  allows: to have one master document, which collects (= includes)
 See {{include}} macro
 http://code.xwiki.org/xwiki/bin/view/Macros/IncludeMacro20

  sub-documents, each starting  with chapters with certain level (level 1 -
  for example). The sub-documents can (opptionally) contain next
 sub-documents
  at lowest levels.
 
  My requests for such structure are:
 
 - each documetnt MUST have it's parent - e.g. the parent is mandatory,
 the parent must exist ant must not be deleted until at least one child
 exists. The only exception with no parent is root level document -
 which
 could be the space itself (or a section - if anything like that
 exists
 in XWiki)
 Rules like this are not enforced but you can override the page creation and
 deletion
 templates and add checks.

 - the sub-pages could be put to any place in master document
 You could auto generate {{include}} macros using
 velocity/groovy/python/ruby/php code
 which queries the database.

 - wiki should allow to combine text with sub-pages,
 - in each page, link to it's children should exist - in ideal case
 links
 to all children collected on single place (at top of page for
 example), and
 at place, where it is put in the document
 Links generated by a script which runs a query. See snippets in
 code.xwiki.org

 - wiki should allow to process entire such page's structure in case it
 creates document index or summary - index should contain headers from
 all
 included pages
 - it would be perfect if links between pages stay preserved in
 exported
 documents
 If links are auto-generated then the code which makes them could detect
 export
 action and switch to using external links (http://yoursite...)

 - the entire page's tree (with links to direct view/edit particular
 pages) should be available as quick-navigation component
 Have you looked at XWiki.AllDocs? Is that what you're looking for?

 - the wiki could provide complex look (preview...) to entire such
 document, including content index
 - the wiki should allow to export entire master document to usuall
 formats (pdf, rtf...), including content index etc...
 - previous tree things could be created for any point of page's tree -
 it
 is not necessary to create it only for root page, but for every
 sub-page
 too
 
  It it possible to create this with XWiki?

 Yes, some of the requirements will require some scripting but the X in
 XWiki
 stands for eXtensable.


 Caleb

  Thanks for responses.
  ___
  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] XWiki Manager - Instance throws Failed to initialize the XWiki context. Exception

2010-06-03 Thread Thomas Mortagne
On Thu, Jun 3, 2010 at 10:39, Marius Dumitru Florea
mariusdumitru.flo...@xwiki.com wrote:
 On 06/02/2010 11:29 PM, Jared Pearson wrote:
 Whenever I click the Wiki Page... menu item from the Link menu on
 the WYSIWYG editor I get an There was an error loading the data
 message displayed.  Upon closer examination of the requests being
 made, the server is returning a 500 error with Failed to initialize
 the XWiki context with an inner exception of The wiki server1 does
 not exist.

 I have an XEM 2.3.28624 installation with two XE instances set up
 using Path-based resolution.  This error is occurring in both XE
 instances.

 Steps Taken
 1. visit the wiki
 http://server1/xwiki/wiki/mywiki/view/Main/NewPage
 2. click the edit link
 3. click the Link button on the toolbar
 4. click the Wiki Page... menu item

 The dialog box appears with the error message. A request was made to
 the URL below with a 500 response.
 http://server1/xwiki/resources/js/xwiki/wysiwyg/xwe/WikiService.gwtrpc

 Stack trace
 javax.servlet.ServletException: Failed to initialize the XWiki context.
       
 com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:154)
       
 com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
       
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
       
 com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
       
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)

 root cause
 com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki server1
 does not exist

 It detects the current wiki as being server1 instead of xwiki (the
 main wiki). The WYSIWYG editor is loaded from
 http://server1/xwiki/resources/js/xwiki/wysiwyg/xwe/ for any wiki and
 all further GWTRPC requests have their URLs relative to this one. As you
 can see the service URL doesn't contain information about the wiki and
 it's fine because the XWiki context initialized in the servlet filter
 doesn't have to point to a specific wiki. Whenever the editor needs
 information from a wiki it sends the wiki names as a parameter to the
 service method.

 The problem is that XWiki defaults on domain-based multiwiki when
 information about the wiki is not provided in the URL path.

 Thomas, WDYT?

Yes that's exactly how it's working. Domain based multiwiki is never disabled.

What you can do is to add server1 as alias of the main wiki in
XWiki/XWikiServerXwiki wiki descriptor, that way you will indicate
that alias server1 is supposed to go to wiki xwiki.


 Thanks,
 Marius

       com.xpn.xwiki.XWiki.getXWiki(XWiki.java:496)
       
 com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:140)
       
 com.xpn.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
       
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
       
 com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
       
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
 ___
 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




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


[xwiki-users] Administrator cannot add new, cannot assign user to group...

2010-06-03 Thread Radek Terber
Hi all

I have such problem:
I have pure installation of XWiki with imported the default XAR, which is
offerred after installation. When I log in ad Administrator, I cannot add
new user in admin pages - i get only empty screen after click on Add user.
I cannot add user to group too - i Cant select any user. New group was
created sucesfully.
Any experiments with permissions (even enable all permissions for all
groups/users including ungegistered) was unsuccessfull.

Thanks for any pointer.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Wanted Macros

2010-06-03 Thread Vincent Massol
Hi XWiki lovers,

If you're interested in seeing some macros developed and available for your 
wiki, please edit this page and add macros you'd like to see:
http://dev.xwiki.org/xwiki/bin/view/Design/NewMacros

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


[xwiki-users] navigator tree

2010-06-03 Thread Zuzana Zapletalova
Hi xWiki users,

I am quite new in using xWiki and I am very satisfied with it, but I can't 
solve one problem. I want to create some navigator which will have a tree 
structure. I found a SpaceExplorer Aplication and a source code of a tree, it 
works fine when I paste the code into a page, but when I paste it to a panel 
(because I would like to use the tree for navigation), it works but not very 
well. The tree isn't perfectly structured and what is worse, there is some 
error on the server. In Firefox there is a message: Server failed:internal 
error, IE: there is a message: Error on the line 81, but in a log I didn't find 
anything wrong. When I remove this panel everything is OK.

In documentation I have read that panels use wiki syntax 1.0 maybe this is the 
reason why it doesn't work fine. But I don't know how to solve it.

I will be very glad for any point. Thanks a lot

Zuzana

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


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

2010-06-03 Thread Lee Chalupa

Sorry if this is a double post. I was informed that my last post was not
accepted since I was not subscribed to this mailing list.

Does anyone know what this message means? I recently converted from 1.4 to
2.3 of Enterprise and now when I try to create a new page, I get this
message.



The new GWT-based WYSIWYG editor doesn't support the syntax of the current
document: xwiki/2.0.



I've searched xwiki documentation including FAQ but I can't find anything on
this subject.

Does this xwiki application document error messages someplace?

I'm stuck. Can someone give me some ideas on where to look for answers.

Lee

-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/The-new-GWT-based-WYSIWYG-editor-doesn-t-support-the-syntax-tp5135766p5135766.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 panel to all the spaces using the Panel Wizard

2010-06-03 Thread Abel Solórzano Astorga
Thanks a lot Vincent, that is exactly what is happening.



On Thu, Jun 3, 2010 at 10:29 AM, Vincent Massol vinc...@massol.net wrote:


 On Jun 3, 2010, at 6:18 PM, Abel Solórzano Astorga wrote:

  Thanks for your answers,
 
  I added the panel as Anca explained. It appears on some of the spaces.
 But
  it doesn't appears on others. The spaces where the panel doesn't appears
  where changed previously. That is what you mean when you told that spaces
  can override information Vincent ? Is there something else I can do to
 add
  the panel to all the spaces?

 Go to the WebPreferences page of the said space. Edit using the object
 editor and edit the XWikiPreferences object, look for Right Panels or
 Left Panels fields and ensure they are empty.

 Thanks
 -Vincent
 
  Thanks for your patience :)
 
  On Thu, Jun 3, 2010 at 12:56 AM, Vincent Massol vinc...@massol.net
 wrote:
 
 
  On Jun 3, 2010, at 3:21 AM, Abel Solórzano Astorga wrote:
 
  Hi,
 
  I want to add a panel to my xwiki site using the Panel Wizard. I can
 add
  a
  panel to a space, but I want to add a panel to all the spaces (like the
  Main
  Navigation Panel). I know that I can add the panel to all the spaces
 one
  by
  one. But if I add a space I need to add the panel to the new space. Is
  there
  I way to add the panel for all the spaces. How can I do that ?
 
  When you set panels in the admin for the whole wiki they're available in
  all spaces. However spaces can override that information.
 
  Thanks
  -Vincent
 ___
 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] Hyperlink in Word/Excel file to Xwiki page fail to open

2010-06-03 Thread Milind Kamble
Hi. We are running XE-2.1.1 over Glassfish and recently one of our end users 
reported that when he clicked on a hyperlink in a MS-Word document that pointed 
to a page in our XE instance, MS-Word indicated in the status bar that Word is 
preparing to go to this link and then reports an error Unable to open 
http://example.com/xwiki/bin/view Cannot download the information you 
requested. The expectation is that clicking on the click should simply 
dispatch the URL to the default browser. The URL of course opens without issue 
in all browsers.

We did some research and experiments and found out that the above error only 
shows up for URLs that are not world-readable i.e. those that need 
authentication.

We read through the MS-KB article http://support.microsoft.com/kb/838028/ and 
believe that the Office-2003 app itself is doing/attempting to fetch the 
content of the URL.

Does any one have a clue how to make Office2003 (Word, Excel, PPT, Visio etc.) 
to simply handoff the URL to the browser instead of doing anything fancier?

I am posting this query on this forum because I suspect XE might also be 
involved in this because it must be responding to the OPTIONS command and 
participating in the MS Office Discovery Protocol.


Thanks,
Milind


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