Hello,
Recently we have ran into a problem where it's impossible to restore page
from orphaned pages list by any means. Page is listed in the root of the
space where it has been created if looking at document tree.
The are several weird thing about it:
1) If editing the page, proper parent value appears in the parent input box
2) the children of this page are able to properly render the link hierarchy
at the top of the page
I have checked the logs, they are clear from errors (at least from those
that might be related to this issue).
Any thoughts what might cause the page to get into such state? Any way to
fix this without having to re-create the page?
Thanks,
Roman
--
View this message in context: http://n2.nabble.com/Unable-to-restore-page-from-orphaned-list-even-though-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I want to parse XML attachments to a page and display the data in a table or list on the page. Does this functionality exist? Just checking before I write my own code.
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:…
Reading the archive of this list, it seems that the MindMap application does
not work because the Freemind applet is not included in the core of xwiki
(mail from Julien Hervouet, 3 sept 2009).
Does this mean that the Mindmap application is withdrawn ? Is there a
workaround ?
I would be thankful if somebody can give an answer.
Maxime
Hi All,
I am in the search and implementation of changing the xwiki theme
programmatically.
I made my xwiki theme Nighfall/Nature and trying to change my theme as
default through program.
Below i have given my code snippet. its running successfully and the
parameters changing in xwiki as we mentioning here. But the color theme
combo box is not changing and the theme not changing in the xwiki even after
restarting the server.
******************************************************************************
String loginUrl =
"http://localhost:8090/xwiki/bin/Save/XWiki/XWikiPreferences";
HttpState initialState = new HttpState();
HttpClient client = new HttpClient();
client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
client.setState(initialState);
PostMethod method = new PostMethod(loginUrl);
method.addParameter("XWiki.XWikiPreferences_0_title","Testing title");
method.addParameter("XWiki.XWikiPreferences_0_meta",
"context.language");
method.addParameter("XWiki.XWikiPreferences_0_showLeftPanels", "1");
method.addParameter("XWiki.XWikiPreferences_0_leftPanels", "1");
method.addParameter("XWiki.XWikiPreferences_0_showRightPanels",
"1");
method.addParameter("XWiki.XWikiPreferences_0_rightPanels",
"Panels.QuickLinks,Panels.MyRecentModifications");
method.addParameter("XWiki.XWikiPreferences_0_webcopyright",
"copyright");
method.addParameter("XWiki.XWikiPreferences_0_version",
"openURL('http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation',
'_blank'); return false < a
href='http://www.xwiki.org/xwiki/bin/view/Main/Documentation'>Documentation
'");
method.addParameter("XWiki.XWikiPreferences_0_skin",
"XWiki.DefaultSkin");
//method.addParameter("XWiki.XWikiPreferences_0_colorTheme", "");
method.addParameter("XWiki.XWikiPreferences_0_colorTheme",
"ColorThemes.Default color theme");
method.addParameter("XWiki.XWikiPreferences_0_stylesheet",
"style.css");
method.addParameter("XWiki.XWikiPreferences_0_stylesheets",
"style.css");
method.addParameter("xcontinue",
"/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Presentation&space=XWiki");
method.addParameter("xredirect",
"/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Presentation&space=XWiki");
method.addParameter("classname", "xwiki.xwikiPreferences");
method.addParameter("formactionsac", "Save");
int statusCode = client.executeMethod(method);
******************************************************************************
Is there any solution. Kindly suggest is there any idea..
Thanks,
Nithya.
--
View this message in context: http://n2.nabble.com/Creating-skin-theme-through-httpclient-tp4813624p48136…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
After I read the votes and the comments I realized what keywords define
better the XWiki logo.
Based on these I could say that I changed my initial opinion about new logo
design.
So, the look of the new logo must be defined by:
"engineering"
"angular with little-to-no round elements"
"rectangle-based"
"simple to remember and also with good micro-logo/poster potentiality"
"collaborative writing"
"digital"
"dynamic"
"inviting"
"collaboration"
"feeling of joy"
"simple and scalable"
"familiarity"
"colorful"
"structuring documents"
All the proposals are great!
Based on the keywords gathered and my personal point of view, my votes go
for:
0.3 - 4A
0.2 - 4C
0.5 - 12E
(with adjustments for each of them)
Ciprian.
Hi Anca,
I've modified the script under AnnotationCode.Macros page so that the
URL takes into consideration the Web Application Context path instead
of an hard-coded "xwiki". The xar file is available at
http://jira.xwiki.org/jira/browse/XAANNOTATIONS-3 as an attachment.
This seems to solve the issue for a simple XWiki installation where
the webapp is named something other than "xwiki". However, this might
not work in a multi-wiki XEM setup since URL in a multi-wiki
environment can be setup in one of two ways. Any suggestions..
Also, looks like there is another anomaly when we use the Annotations
application with XWiki Syntax 1.0. Sometimes, the text on the Page
that was "highlighted" for adding an annotation, is surrounded by the
XWiki Syntax 2.0 HTML macro as follows:
{{html clean="false" wiki="true"}}highlighted text{{/html}}
This is found to be the case for text which has been rendered through
velocity in the Page source. eg. In the Page, I used
$xwiki.getWebAppPath(). This renders molecule/ which is the name of my
webapp. However, when I annotate this rendered text molecule/ it turns
into {{html clean="false" wiki="true"}}molecule/{{/html}}
automatically.
>
> Message: 5
> Date: Sat, 27 Mar 2010 02:03:24 +0200
> From: Anca Luca <ancapaula.luca(a)xwiki.com>
> Subject: Re: [xwiki-users] Annotations feature not working
> To: users(a)xwiki.org
> Message-ID: <4BAD4B4C.5050409(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Dilipkumar,
>
> I'm pretty sure I know where the issue is coming from (because your wiki is
> running at localhost:8080/molecule/ and the annotations code is trying to
> connect to localhost:8080/xwiki/) and I'll fix it asap.
>
> Can you please report this issue on
> http://jira.xwiki.org/jira/browse/XAANNOTATIONS ? Thanks a lot.
>
> Happy xwiki-ing,
> Anca
>
>
>
> On 03/26/2010 06:59 PM, Dilipkumar Jadhav wrote:
>> Hello folks,
>> I've installed the latest XWiki Enterprise2.3 ML1 and this is a fresh
>> install. However, ran into difficulties with the annotation feature.
>> When I save an annotation using the "Add Annotation" feature, the
>> annotations do not get saved. There is no symbol that is generated
>> next to the text that I was trying to annotate. Also, I get an error
>> at the bottom of the Page which states: No Host matches server name
>> localhost
>>
>> I used the firebug plugin to find out what events were getting fired.
>> Following is the stack trace:
>>
>> POST: http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/anno…
>> Code: 400
>> No Host matches server name localhost
>> localhost:8080
>>
>> Server Apache-Coyote/1.1
>> Transfer-Encoding chunked
>> Date Fri, 26 Mar 2010 06:09:39 GMT
>> Connection close
>> Request Headersview source
>> Host localhost:8080
>> User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.8)
>> Gecko/20100202 Firefox/3.5.8
>> Accept text/javascript, text/html, application/xml, text/xml, */*
>> Accept-Language en-us,en;q=0.5
>> Accept-Encoding gzip,deflate
>> Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
>> Keep-Alive 300
>> Connection keep-alive
>> X-Requested-With XMLHttpRequest
>> X-Prototype-Version 1.6.1
>> Content-Type application/x-www-form-urlencoded; charset=UTF-8
>> Referer http://localhost:8080/molecule/bin/view/Main/
>> Content-Length 275
>> Cookie username=obD1aIklU0E_; password=FS1YvSKKiX8_; rememberme=false;
>> validation=12faf980e85d2f5a1216a4c7e320a4bd
>> Pragma no-cache
>> Cache-Control no-cache
>>
>> Parameters application/x-www-form-urlencoded
>> annotation help
>> author XWiki.Admin
>> date Fri Mar 26 01:32:31 EDT 2010
>> selection WebHome
>> selectionContext WebHome
>> selectionOffset 0
>> Source
>> selectionOffset=0&selectionContext=WebHome&selection=WebHome&date=Fri%20Mar%2026%2001%3A32%3A31%20EDT%202010&author=XWiki.Admin&annotation=help
>>
>> XML Parsing Error: no element found Location:
>> moz-nullprincipal:{833f3ffa-8712-4980-aff7-a4aabf47426e} Line Number
>> 1, Column 1:
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
Hi,
Is there a code snippet (groovy or Velocity) to attach a file (jpg and/or gif) to a document?
The files are stored in a directory on my Mac os X computer
Gerritjan
Hi Anca,
Thank you for your prompt attention to this issue.
I've created a JIRA issue at
http://jira.xwiki.org/jira/browse/XAANNOTATIONS-3
Have a great day ahead!!!
Message: 5
Date: Sat, 27 Mar 2010 02:03:24 +0200
From: Anca Luca <ancapaula.luca(a)xwiki.com>
Subject: Re: [xwiki-users] Annotations feature not working
To: users(a)xwiki.org
Message-ID: <4BAD4B4C.5050409(a)xwiki.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Dilipkumar,
I'm pretty sure I know where the issue is coming from (because your wiki is
running at localhost:8080/molecule/ and the annotations code is trying to
connect to localhost:8080/xwiki/) and I'll fix it asap.
Can you please report this issue on
http://jira.xwiki.org/jira/browse/XAANNOTATIONS ? Thanks a lot.
Happy xwiki-ing,
Anca
On 03/26/2010 06:59 PM, Dilipkumar Jadhav wrote:
> Hello folks,
> I've installed the latest XWiki Enterprise2.3 ML1 and this is a fresh
> install. However, ran into difficulties with the annotation feature.
> When I save an annotation using the "Add Annotation" feature, the
> annotations do not get saved. There is no symbol that is generated
> next to the text that I was trying to annotate. Also, I get an error
> at the bottom of the Page which states: No Host matches server name
> localhost
>
> I used the firebug plugin to find out what events were getting fired.
> Following is the stack trace:
>
> POST:
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/annot
ations?media=json
> Code: 400
> No Host matches server name localhost
> localhost:8080
>
> Server Apache-Coyote/1.1
> Transfer-Encoding chunked
> Date Fri, 26 Mar 2010 06:09:39 GMT
> Connection close
> Request Headersview source
> Host localhost:8080
> User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.8)
> Gecko/20100202 Firefox/3.5.8
> Accept text/javascript, text/html, application/xml, text/xml, */*
> Accept-Language en-us,en;q=0.5
> Accept-Encoding gzip,deflate
> Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive 300
> Connection keep-alive
> X-Requested-With XMLHttpRequest
> X-Prototype-Version 1.6.1
> Content-Type application/x-www-form-urlencoded; charset=UTF-8
> Referer http://localhost:8080/molecule/bin/view/Main/
> Content-Length 275
> Cookie username=obD1aIklU0E_; password=FS1YvSKKiX8_;
rememberme=false;
> validation=12faf980e85d2f5a1216a4c7e320a4bd
> Pragma no-cache
> Cache-Control no-cache
>
> Parameters application/x-www-form-urlencoded
> annotation help
> author XWiki.Admin
> date Fri Mar 26 01:32:31 EDT 2010
> selection WebHome
> selectionContext WebHome
> selectionOffset 0
> Source
>
selectionOffset=0&selectionContext=WebHome&selection=WebHome&date=Fri%20Mar%
2026%2001%3A32%3A31%20EDT%202010&author=XWiki.Admin&annotation=help
>
> XML Parsing Error: no element found Location:
> moz-nullprincipal:{833f3ffa-8712-4980-aff7-a4aabf47426e} Line Number
> 1, Column 1:
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
*************************************
Hi xwikiers,
We just found an important regression in 2.2.3 in the rights
management user interface.
This bug prevents rights to be correctly saved unless you manually
select either groups or users radio button first. See
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise223.
Work is in progress to fix it, a 2.2.4 will be released ASAP.
Really sorry about that :(
Thanks
--
Thomas Mortagne
Hello folks,
I've installed the latest XWiki Enterprise2.3 ML1 and this is a fresh
install. However, ran into difficulties with the annotation feature.
When I save an annotation using the "Add Annotation" feature, the
annotations do not get saved. There is no symbol that is generated
next to the text that I was trying to annotate. Also, I get an error
at the bottom of the Page which states: No Host matches server name
localhost
I used the firebug plugin to find out what events were getting fired.
Following is the stack trace:
POST: http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/anno…
Code: 400
No Host matches server name localhost
localhost:8080
Server Apache-Coyote/1.1
Transfer-Encoding chunked
Date Fri, 26 Mar 2010 06:09:39 GMT
Connection close
Request Headersview source
Host localhost:8080
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.8)
Gecko/20100202 Firefox/3.5.8
Accept text/javascript, text/html, application/xml, text/xml, */*
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
X-Requested-With XMLHttpRequest
X-Prototype-Version 1.6.1
Content-Type application/x-www-form-urlencoded; charset=UTF-8
Referer http://localhost:8080/molecule/bin/view/Main/
Content-Length 275
Cookie username=obD1aIklU0E_; password=FS1YvSKKiX8_; rememberme=false;
validation=12faf980e85d2f5a1216a4c7e320a4bd
Pragma no-cache
Cache-Control no-cache
Parameters application/x-www-form-urlencoded
annotation help
author XWiki.Admin
date Fri Mar 26 01:32:31 EDT 2010
selection WebHome
selectionContext WebHome
selectionOffset 0
Source
selectionOffset=0&selectionContext=WebHome&selection=WebHome&date=Fri%20Mar%2026%2001%3A32%3A31%20EDT%202010&author=XWiki.Admin&annotation=help
XML Parsing Error: no element found Location:
moz-nullprincipal:{833f3ffa-8712-4980-aff7-a4aabf47426e} Line Number
1, Column 1: