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:
I'm looking at access logs and found that my site through all historical
development has 3 blog RSS feeds:
Main/BlogRss - not linked from anywhere but created in 2005
Blog/GlobalBlogRss - linked from global site RSS feed (another is
WebRSS)
Blog/BlogRss - linked from Links panel.
Probably two of them could be removed (i.e. set redirect for some time,
and remove later),
but which one conforms to standard?
Valdis
Community,
Here is my problem:
We've been hosting an instance of XWiki for almost a year now, and things
have been going swimmingly, until....
I recently came to do some updates on content, etc..... Previously,
everything worked well both from the localhost, and accessing through WWW.
However now, no matter where I request the webapp from, it's always taking
an infinite amount of time waiting for the login page to load, rending EVERY
functionality of the Wiki useless, as no one can login, and nothing can be
accessed.
I tried accessing using IE8, and FireFox, both with no success. IE simply
says it's waiting for the page to load forever, FireFox tries for a few
seconds then returns an error as follows:
"The page isn't redirecting properly.
Firefox has detected that the server is redirecting the request for this
address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to
accept
cookies."
Now, I had some difficulty with cookies and XWiki before, so I tried playing
around with the cookie settings in both browsers to see if this had any
different result. I tried setting BOTH browsers to accept ALL cookies, and
the same result is produced, IE waits forever, and FireFox quits and gives
me the above message.
I'm not sure what is causing this, or why all of a sudden this is happening.
Seems to me things were working as recently as last week. I did do a Java
update earlier in the day, but I don't think this should have any bearing on
XWiki.
It's being served by Tomcat, which also houses another webapplication, which
can be successfully loaded from both browsers instantaneously. So the
problem should not be with the server.
Also, I haven't done a Microsoft Update in a while, but I don't think this
should have any relevance either.
Running:
- xwiki-enterprise-web-1.6.1
- apache-tomcat-6.0.16
- XP Pro x64 SP2 @ 2.0GHz, with 2Gb RAM
- IE8 & FireFox v3.5.2
Please, community, any help would be greatly appreciated. This is a
game-breaker for us here at my company, as no one wants to spend the time to
re-create the entire Wiki from scratch if this cannot be resolved.
--
View this message in context: http://n2.nabble.com/Problem-Wait-for-login-page-FOREVER-cookies-tp4805163p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I have enabled the editcomment in my xwiki.cfg file.
xwiki.editcomment=1
xwiki.editcomment.mandatory=0
xwiki.editcomment.suggested=1
It works fine, it is a smart feature.
Now, I want to disable it for a specific Space of the wiki.
In the Admin Guide, I found the following :
"You can use the special fields in *XWikiPreferences* object instead of edit
*xwiki.cfg*. These fields are: *editcomment*, *editcomment_mandatory*, *
editcomment_suggested* and *editcomment_hidden*."
Is it possible to apply theses special fields in the WebPreferences of a
space ? When I edit the XWiki object, I do not see any editcomment field. Do
I have to add it ? Is there any document that describes this ?
Thank you for your help.
Maxime
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.3 Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is first milestone of the XWiki Enterprise 2.3 version.
Main changes from 2.2.3:
* New annotation feature
* New color theme editor
* Anonymous commenting with captcha
* Lots of bugs fixes
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise23M1
Thanks
-The XWiki dev team
Hello xwiki experts,
I've been enjoy an xwiki 2.2m2 for a while but the collaborative
features are some rudimentary and I've been considering xwiki
workspaces. Do I have chance to migrate one to the other by simply
uploading the xar? The xws pages don't state a compatibility chart and
seem to talk about xwiki 1.7, quite a bit older!
thanks in advance
paul
Hello,
i am trying to convert our existing Wiki to Xwiki.
To reach this goal, i am trying to export the existing data into an xar
file hat i can import into xwiki.
What i am missing is a description of the xml file format.
Where can i find this?
Thanks for help
Thomas
Hi. I couldn't find the user interface to delete older version of any given attachment. This would be useful when the attachment size is substantially large such as a video clip for which typically only the recent version is relevant and not the older ones. At the same time I am not looking for the option that would prevent versioning of attachments across the board, because for attachments such as powerpoint data, we need to be able to retrieve previous versions for analysis.
Thanks,
Milind
Hi! I need to export all of the content of an xwiki space (about 200 pages +
attachments) for migration into another repository. Is there an efficient
way that I can do the following:
1. Save all pages with their name in RTF or HTML format
2. Have a fast view of all Attachments to download onto a hard disk
What would be the best approach?
Mary Ellen
--
View this message in context: http://n2.nabble.com/Migrating-articles-out-of-xwiki-tp4786215p4786215.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I created new data type (class, sheet, template document) and I created
several documents of this type. Then I created document with livetable macro
to list documents in table format. All is working well, but first row in
table is template document.
How can I filter template document from table?
Any help appreciated
Regards
Frantisek
--
View this message in context: http://n2.nabble.com/Livetable-tp4744002p4744002.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Could you please point me to possible root of the following problems:
1) Null pointer exception in formatDate() method during
Main.RecentChanges page rendering (it looks like $rcDt variable is null for
one of the records, this is for scripts from
xwiki-enterprise-wiki-2.2.2.xar). Full stack trace attached in
http://n2.nabble.com/file/n4783806/RecentChangesStackTrace.txt
RecentChangesStackTrace.txt
2) A weird look&feel of the ManageGroups, ManageUsers and
ManageRights ( http://n2.nabble.com/file/n4783806/ManageRightsBroken.JPG
ManageRightsBroken.JPG ,
http://n2.nabble.com/file/n4783806/ManageGroupsBroken.JPG
ManageGroupsBroken.JPG and
http://n2.nabble.com/file/n4783806/ManageUsersBroken.JPG
ManageUsersBroken.JPG page-captures correspondingly)
Re-importing xwiki-enterprise-wiki-2.2.2.xar did not help.
From the recent modifications made I can point out only the following
* Set up 80(publicly available)->8080(where the XWiki is installed)
port forwarding at firewall level
* Restricted guest users from accessing the site and from
registering
Notes about environment
* XWiki Enterprise Core/UI 2.2.2
* Most of users with LDAP Authentication + Several users with
non-LDAP authentication
* CentOS release 5.4 (Final)
* Following errors on startup
Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could
not find jdbc-stdext Java extension for this JVM
/usr/bin/rebuild-jar-repository: error: Could not find jndi Java
extension for this JVM
/usr/bin/rebuild-jar-repository: error: Some detected jars were
not found for this jvm
/usr/bin/rebuild-jar-repository: error: Could not find jaas Java
extension for this JVM
/usr/bin/rebuild-jar-repository: error: Some detected jars were
not found for this jvm
* XWiki cannot access file xwiki.log because of permission denied
Regards,
Roman
--
View this message in context: http://n2.nabble.com/Null-pointer-exception-in-formatDate-on-rendering-Main…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have a previous version (not sure which one anymore, but it is a few
months old, not more) of XWiki Enterprise installed as standalone (my IT
supplier is crap, I know) and I would like to upgrade to the latest version
(i.e keeping the layout changes I made, which are light ones, but more
importantly all the pages created already!).
Is it possible?
Thanks in advance,
Xavier
Hey all,
Why is the limit on the number of characters for the attachments on the xwiki only 26 characters? Is there a way to change the maximum number of characters displayed by the attachment? If there's no solution yet, it would be helpful if we knew enough information so we could fix it ourselves and contribute back to the community.
Also, is there a JIRA for the deletion of the underscores and spaces for attachments? We would like to know when it is planned to get fixed and if possible, some information on this bug so that we could, again, work on it ourselves, and contribute back accordingly.
Thanks,
Felix
Hello xwikiers,
is there a way in the syntax 2.0 to invoke a table-sum? I found this
feature particularly nice in the earlier version.
thanks in advance
paul
Hi ,
I followed instructions for short url on Tomcat
(http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs)
But some errors appear when I add
" <servlet>
<servlet-name>defaultSkins</servlet-name>
<servlet-class>org.mortbay.jetty.servlet.Default</servlet-class>
<init-param>
<param-name>relativeResourceBase</param-name>
<param-value>skins</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>defaultSkins</servlet-name>
<url-pattern>/skins/*</url-pattern>
</servlet-mapping>"
I don't understand what you mean with "In Tomcat, the default servlet does
not accept a parameter for changing the resource base, so you will need to
write another default servlet" and how do it.
Thanks
--
View this message in context: http://n2.nabble.com/Short-Url-On-Tomcat-tp4777324p4777324.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
I want to create a skin/ theme in xwiki.
Or else is it possible to apply the existing skin of xwiki like nightfall,
nature through program in xwiki?
My requirement i have to create a theme and apply the theme to xwiki
through some xml rpc?
Is it possible? is there any code snippets?
Kindly help me.
Thanks,
Nithya.
--
View this message in context: http://n2.nabble.com/How-to-create-a-skin-theme-in-xwiki-through-xml-rpc-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there,
I'm wondering wether there is something like a space-template
wherefrom all other spaces are inheriting.
What I'd like to achieve:
I do have a little piece of Velocity-code showing all documents within a space.
So I *could* put that piece of code into every spave I've created (and
will be created), however, since I'm lazy, I'd rather put it into some
kind of space-template where all other spaces are inheriting from.
Could somebody please point me into the right direction?
TIA
Gregor
--
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi
Hi there,
just now I tried to upload an image into my blog: It's a jpg-image
having 132KB of size.
It shows up when editing the blog, however, when previewing or after
saving, it only shows a "broken picture"
Am I missing something here?
XWiki is 2.2.2, running on a MySQL 5
TIA
Gregor
--
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi
Hi,
def vPublishDate = "2008/10/28 12:00:00"
vObjArticle.set("publishDate",vPublishDate)
But when I look at the page it shows
31/03/0034 12:00:00
Any explanation how to handle dates with groovy for xwiki?
Gerritjan