When was executing process of upgrading xar-file in my wiki
(etvc.mtxwiki.org) - my comp was stopped and process not finished. Now I
cannot repeat import of xar-file because of import-page is not accessible
... All other preference pages also.
Is it possible totally to re-create this wiki - etvc.mtxwiki.org? (all
important content are backuped).
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-re-creating-wiki-tp7033904p703390…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Je suis absent(e) du bureau jusqu'au 27/11/2011
bonjour
pour tout problème lié à l'inventaire,
Ayant un problème sur mon numéro personnel, me contacter au 06 17 61 21 91
Remarque : ceci est une réponse automatique à votre message "users Digest,
Vol 52, Issue 55" envoyé le 11/26/2011 1:00:02 PM.
C'est la seule notification que vous recevrez pendant l'absence de cette
personne.
Hi Oracle users!
My environment: Windows2003, Glassfish 3.1.1, OracleXE 10.2
Today I tried to upgrade XE from 3.1 to 3.2 and on first-time loading I got
error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3
in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
xwiki:XWiki.XWikiPreferences
Wrapped Exception: $Proxy148 cannot be cast to oracle.sql.CLOB
...
I created a jira issue: http://jira.xwiki.org/browse/XE-1032 with detailed
description and full log.
Maybe somebody tried upgrade on OracleXE? What results you get (maybe its
only my problem)?
--
Best regards
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/XE-Upgrade-to-3-2-on-Oracle-failed-tp6900…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of
XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
XWiki Enterprise Manager 3.3 Milestone 2. The highlights of this release
are:
* a new user interface for the extension manager
* new features for the Application Within Minutes aspect
* a new and improved FAQ application has been committed in the platform,
although it's not bundled by default in XE
* support for exporting PDF documents for CJK languages
* a new rendering transformation that can be used to check the status of
any link encountered in the wiki
And on the developers' front:
* support for dependency Providers, as defined in JSR330
* a Disposable interface for singleton components which can be used to
release resources when a component is being unregistered
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise33M2
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
> On 11/24/2011 12:29 PM, Crowd Covered wrote:
>
>> Hi guys,
>>
>> Looks like I've run into a zombie bug: having two similar headings on
>> pages
>> included into one page gives exception when exporting to PDF.
>> I've checked JIRA and there it is marked fixed in 1.4:
>> http://jira.xwiki.org/browse/**XWIKI-2124<http://jira.xwiki.org/browse/XWIKI-2124>
>> .
>>
>> Can anyone confirm a zombie bug or hint me what I might be doing wrong?
>>
>
> What version are you using?
> There's also http://jira.xwiki.org/browse/**XWIKI-5910<http://jira.xwiki.org/browse/XWIKI-5910>which should have fixed the problem for good. XWIKI-2124 only fixed it when
> headers are involved.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
I'm using 2.7. Now trying to update to 3.3 M2, having some errors with
migration like "[main] ERROR o.r.Reflections - given scan
urls are empty. set urls in the configuration". But that's an offtopic
here. Will come back after trying on 3.3.
Mine problem was with headers in fact.
Hi guys,
Looks like I've run into a zombie bug: having two similar headings on pages
included into one page gives exception when exporting to PDF.
I've checked JIRA and there it is marked fixed in 1.4:
http://jira.xwiki.org/browse/XWIKI-2124.
Can anyone confirm a zombie bug or hint me what I might be doing wrong?
Thanks,
Andrey
Hello,
I was trying to edit a page in Chrome browser but i can't reach
nextline by pressing Return key.
In Internet Explorer works fine. Any idea about the situation?
Thanks.
--
--
LUCIAN TUDOSA
SUCEAVA
Telefon: 0745 32 89 83
Email: lucian.tudosa(a)gmail.com
Hi. I have configured a private wiki in which the reigstration is
disabled so that only an admin user can register new users.
How can I configure xwiki to automatically send an email with
connection details, username and password to the new registered user's
email address?
--
Fita Adrian
Hi,
I am having difficulty locating the source of an error where the
contents of a TextArea property for a custom class object on a page
ends up rendering in a WYSIWYG box as wiki syntax (as in, displaying
the actual code in one long paragraph). "Corrupt" is probably not the
right word for this, as I'm sure it's something I'm doing wrong...
Simple explanation:
1) User clicks a button to add a new instance of a class to the page,
which also enters the Inline Editing mode. User pastes content into a
WYSIWYG editor and saves the page. After save, the TextArea property
shows up correctly in view mode with $doc.display(), with headings,
formatting, etc...
2) Something happens - I cannot yet reproduce it, but I'm sure the
user is doing something.
3) The object starts displaying the property as a single block of text
with embedded wiki syntax, mostly what looks like custom parameters
containing the formatting info, such as:
(% class="MsoNoSpacing" %) (% class="tagChar" style="font-size: 12pt;" %)
etc...
Even in inline edit mode, the contents of the WYSIWYG box have been
replaced with this block of code, which does not appear with the
actual formatting - just the raw code.
Looking into the page history, there is a version of the page saved
right before the property becomes "corrupt." So something must be
happening to trigger the conversion of the TextArea content into wiki
syntax, which then gets saved over the original data.
The pages the user is using have multiple objects of the same class,
all displaying their TextArea properties in a table. The majority of
the time, it displays perfectly. This only applies to some objects on
the page - though sometimes all objects on a page will simultaneously
exhibit this behavior.
The pages also contain buttons to create a new object, as well as a
button to delete each object individually.
I have one reliable method of producing this error. I used to have the
"delete this object" button display while in Inline Edit mode -
clicking it while in that mode would cause to entry to "convert." I
suppressed the button from displaying unless in view mode, which
removed this cause of the error - but there is still some other
mechanism for generating the same behavior.
Here's an example of the delete button code which I can use to cause
similar behavior:
#set($delurl = "/xwiki/wiki/$doc.getWiki()/objectremove/$doc.getSpace()/$doc.getName()?classname=Sandbox.TestClass&classid=$obj.getNumber()&xredirect=$doc.getURL()")
<input
type="image"
onclick="location.href='$delurl'"
value="Delete"
title="Delete"
style="float:right;"
src="/xwiki/resources/icons/silk/cross.gif" />
Any ideas on what's happening?
Thanks much,
aaron
Hi,
I'm trying hard to update from XE 3.1M2 to stable 3.2 without success. I get
the very same error from http://jira.xwiki.org/browse/XE-1037:
Wrapped Exception: Error number 3201 in 3: Exception while saving document
xwiki:XWiki.XWikiUsers
Wrapped Exception: Error number 3211 in 3: Exception while updating archive
XWiki.XWikiUsers
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{docId=495778886,
version2=6, version1=1}]
...
...
root cause:
org.postgresql.util.PSQLException: Bad value for type long : <?xml
version="1.0" encoding="UTF-8"?>
<xwikidoc>
<web>XWiki</web>
<name>XWikiUsers</name>
<language></language>
<defaultLanguage>en</defaultLanguage>...
The same happens for other docs also, like:
<xwikidoc>
<web>Scheduler</web>
<name>WatchListHourlyNotifier</name>
<language></language>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<parent>XWiki.WatchListClass</parent>
I have done nothing but following the default upgrade instructions, using
the new 3.2 war, with the database schema I was running without problem with
the 3.1M2. I'm running on Jboss 4.3.2 with Postgres 8.3 on CentOS 5.6.
Do you have any idea of what's going on? Any parser problem? Every major
release since now I've updated without problems, excepting this one.
Regards,
--
Ramon Gomes Brandao
--
View this message in context: http://xwiki.475771.n2.nabble.com/ERROR-XWikiRCSNodeContent-Upgrade-to-3-2-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to "execute" a page from another page.
The "executed" page has some groovy and velocity, does some queries, and as
output attaches a computed file to itself (and outputs some success or error
message to page content).
"Executing" it means just showing the page, as a result the attachment gets
increased version.
Now I want to do the same but calling it from another page. This is what I
did :
xwiki.getDocument('Space.MyPageToExecute').getRenderedContent()
This returns my success message, but nothing gets attached. Is there any
chance that this could work ? I checked the rights of my user (set correct
user in context before the setAttachment()) but I could not make it work ...
Am I forced to write my page as a groovy class to achieve this ?
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Executing-a-page-from-another-page-tp7019…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I wonder how it would be possible to add RSS link(s) to the livetable
components ?
First I though it could be great to use the Tags Rss, but in fact the ideal
solution would be to have a link with rss feed with exact same filters (tag,
filters) and ordering than the currently configured livetable component (so,
maybe re-using the LiveTableResultsMacros but with an rss parameter).
I had a look on macros.vm, but it seems most of the work is done by a
widget, so it seems difficult to customize ...
What do you think about it ?
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Adding-RSS-links-to-Livetables-tp7019912p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am struggling to import content from another wiki.
My previous wiki used markdown syntax, I converted the markdown syntax to XHTML
via pandoc. The output validates as XHTML 1.0 Transitional, but when I try to
convert it to xwiki syntax the conversion fails.
1. Does anyone have any ideas why this is failing?
2. Are there better ways to import wiki content?
Thanks, Jesse
In velocity, what is the way to get the list of tags for a given document?
I could look at the code which implements my current skin, because it shows tags,
but I don't know where that is.
I found these pages, but they didn't help:
http://www.xwiki.org/xwiki/bin/view/Main/Tagshttp://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
I have a livetable showing documents, and I want to show the tags for the document
as a table column.
--chris
Hi,
I'm converting a XML file into XWiki pages with a structured object, my problem is that the XML file might contain elements with problematic text
I have a XSLT that gives me a velocity script (like below)
{{velocity}}
##Creating a ATE Question and Answer document programatically
#set($ATEPrefix = "CdLSATE")
#set($ATEDocName = $ATEPrefix+'TE'+1001)
#set($newATEQA = $xwiki.getDocument("CdLSATEPublic.$ATEDocName"))
##Set a title
$newATEQA.setTitle("Teeth Exfoliation")
##Set parent of document to Public ATE Questions and Answers
$newATEQA.setParent("CdLSATEPublic.CdLSATEPublicQAs")
##This is how you can use a template
$newATEQA.setContent('{{include document="CdlsatdCode.CdLSATEPublicQATemplate"/}}')
##Create a new object on the document
#set($newATEQAObject = $newATEQA.newObject("CdlsatdCode.CdLSATEPublicQAClass"))
##Set a field to a particular value
$newATEQAObject.set("AlphabetSort","TE")
$newATEQAObject.set("subject","Teeth Exfoliation")
$newATEQAObject.set("question","Is early loss of baby teeth something to be concerned about, indicative of a bigger problem, or related to CdLS?")
$newATEQAObject.set("language","en")
$newATEQAObject.set("CountryCode","us")
$newATEQAObject.set("answer","
It is normal for children, especially girls, to lose their lower two front teeth from 4.5 years old to 5.5 years old. 4.5 years is early, but can be considered normal. There seems to be quite a variety of times when children with CdLS find themselves loosing their primary or baby teeth. Children with CdLS can have their primary teeth fall out either early or, more often, late. If the child is four years old and there are no other underlying medical complications, such as, hypothyroidism, hypophosphatsia, etc., then I would not be too concerned about losing the teeth. If there were many teeth, including molars that are getting loose, then further investigations would be indicated.
DM/ TK 7-13-10
SEE ALSO: Teeth Grinding 1 Teeth Grinding 2 Teeth Growth Teething")
$newATEQAObject.set("SACApproved",1)
$newATEQA.save()
{{velocity
$newATEQAObject.set("question","...") and $newATEQAObject.set("answer","...") give me challeges
Some text elements (not this example) will contain characters or combination of characters that will have a effect;
- on the script not being valid; the " (double bracket) character
- having a XWiki 2.0 meaning; "--" , "**" but intending something else
Help appreciated...
Gerritjan
One more tonight...
It seems that I am unable to use the built-in TOC macro for wiki
content which is generated dynamically from a Class Sheet {{include}}.
I assume this is because the TOC macro is rendered before (or
simultaneously with) the include macro which actually displays the
objects on the page, so as far as the TOC macro knows, there are no
wiki headings on the page (yet) to create an outline from.
Does anyone have any suggestions on how to parse through the final
rendered output of the wiki page to generate a table of contents for
dynamically generated wiki content? If I'm missing something with the
existing macro, that would be great...
What I am looking to do is write some code (preferably in a panel, I
think), which creates a TOC-style index of all the wiki-syntax
headings contained on the fully rendered page, after the content has
been generated from TextArea properties of a set of attached objects
to the page.
I have written custom display code that loops through every object of
a custom class attached to a page and then displays some of that
objects properties in a series of collapsible div's. Each object
contains two TextArea properties - one for WYSIWYG data, and one for
plain text, which would be formatted in wiki syntax. The result is a
list of each objects name with an expandable <div> full of the
wiki-rendered content contained in the TextArea properties. I would
like to generate a TOC which "reads through" that content and comes up
with a list of only the relevant headings under each displayed
"object"
For example, on a page with 3 objects, the custom display code in the
Class Sheet results in this (the wiki syntax appears fully rendered,
obviously):
Object 1 Name - Click to expand
******Hidden until clicked********
==Heading 2==
===Heading 3===
Normal text, etc...
Object 2 Name - Click to expand
******Hidden until clicked********
==Heading 2==
===Heading 3===
Normal text, etc...
Object 3 Name - Click to expand
******Hidden until clicked********
==Heading 2==
===Heading 3===
Normal text, etc...
I would like the TOC to return:
Object 1
Heading 2
Heading 3
Object 2
Heading 2
Heading 3
Object 3
Heading 2
Heading 3
Even when all the div's are initially collapsed/hidden. It would be
ideal if the TOC was clickable and went to the relevant anchor...
I can obviously use getValue() with each TextArea property to return a
string with that objects wiki syntax - but I don't have an easy way to
parse that string to only return the heading levels...
Any guidance would be appreciated.
Thanks,
aaron
Hi,
we are students on university and we are working on research grant.
We would like to use xwiki as foreground for our datamining project.
The system will collect and evaluate information about robotics
topics and then upload them to xwiki. Here will be users able to
comment, add anotations and tags and then system will teach from
these information and modify it's learning algorithm.
user name r3cop
Pavel Jurka
Hi,
- There seem to be some bad displays when a page title contains '<' or '>'.
Display is correct in browser title bar, it is also correct in main content
area, in hierarchy, but not in page title. For a page with title "TestTest >
test", generated html looks like this :
<div id="hierarchy">
TestTest > test
</div>
<div id="document-title">
TestTest* &*gt; test
</div>
The bad trick is that the "&" of ">" gets replaced by "&" ...
- as a side question, is there a way to easily do the equivalent of velocity
"$escapetool.html($text)", but in {{groovy}} ? I use mainly groovy in my
pages, and would like to avoid passing parameters between groovy and
velocity just for this one use-case ...
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Characters-or-bad-display-in-page-title-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I received this reply when posting to the users(a)xwiki.org mailing list.
Is the list working?
-------- Forwarded Message --------
From: Mailer-Daemon <Mailer-Daemon(a)gedi.pt>
To: adrian.fita(a)gmail.com
Subject: NDN: [xwiki-users] How to display only activities in activity
stream from spaces
Date: Tue, 15 Nov 2011 19:57:38 +0000
Sorry. Your message could not be delivered to:
bneves,TeleGEDI (The name was not found at the remote site. Check that the name has been entered correctly.)
--
Fita Adrian
Hi.
In the main space, after login, any user can see the activities from all
the spaces. I want the Activity Stream to display activities only from
the spaces that the user has access to. How can I do this?
Thanks,
--
Fita Adrian
Hello!
If I have in some class a boolean property, how I can get date&time of its
last modification (date when ONLY this property was modified last time)
inside my code?
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/get-date-time-of-some-class-property-modi…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I tried to use native rendering method as it suggests in the Formula
Macro Extension page, that is to
* Install A TeX package
* Install ImageMagick
* Sure that latex, dvips, convert can be called from cmd
And then add "macro.formula.renderer=native" into xwiki.properties.
But it doesn't work, and there are the same problems as a earlier post
"*Formula* *Macro* - *native* renderer issue
<http://markmail.org/message/ij2fl6muxoyl3xzx>", namely infinite loading...
Anyone any ideas?
Thanks!!!