Hi,
is there a way to include an other macro in a html macro?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi community,
today I deleted a bunch of pages by accident by running buggy (self
written) code. Well, that can happen. What I found to be frustrating
was something else.
1) I had to be an administrator to restore a previously deleted page
from the recycle bin. I didn't find a way to give an ordinary user the
right to restore apart from granting admin privileges. Theres a
delete-right so the restore-right should just belong to that, I think.
2) If there's another (wrong) page in place you cannot easily restore
a formerly deleted page. You have to delete the current page first
before you get the recycle bin of that particular page - were you can
roll back to the correct (deleted) version. That's very unhandy since
I'll have to restore app. 30 pages by open page -> delete page ->
restore correct version.
So probably, I did something the wrong way but in case I was right the
way restoring works isn't pretty and can be further improved.
Cheers,
Mike
Hi,
In order to debug my connection too XE 2.2 from Word and because it is
impossible to tcpdump 127.0.0.1 on Windows I installed a proxy in
order to see what is wrong with my connection string.
Now that I want to reinstall XOffice_1_1_M2.exe I get the following message :
"Name:
From: http://xoffice.xwiki.org/xwiki/bin/download/Repository/WebHome/XWord1.1.zip…
"The required version of the .NET Framework is not installed on this computer."
************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Deployment.InstallAddInFailedException:
"The required version of the .NET Framework is not installed on this
computer."
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
at Microsoft.VisualStudio.Tools.Office.Runtime.SolutionInstaller.<>c__DisplayClass7.<Install>b__0()"
As I have .Net v1.0.3705, v1.1.4322, v2.0.50727, v3.0 and v3.5 which
version do I need to "register" (how would be nice too) to get XOffice
running ?
Thanks
Simon Glet
Hello,
I'm trying to get the value of a property in XWikiPreferences of type Database List that has mutiple-select capability. When I do $xwiki.getUserPreference("property_name"), it returns a string that is a representation of the value, so something like:
[Value1, Value2, Value4]
However, I need this to be a list so I can check if property.contains("Value4"). Is there an easy way to get a list from a preference, or do I need to go into the XWikiPreferences page, grab the object and get the value from there?
Thanks,
Joshua Rieken
System Software Developer
Reynolds and Reynolds
6700 Hollister | Houston, Texas 77040
office 713.718.1800 ext. 72459 | mobile 806.584.3004
Joshua_Rieken(a)reyrey.com
MAKING BUSINESS BETTER.
NOTE: The information contained in this e-mail is personal and confidential and may be protected by the attorney-client privilege and/or the work product doctrine. It is for the sole use of the intended recipient. Any review, reliance, or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
hello,
I have several spaces starting with a special charakter ÖGroup etc.
xwiki search doesn't find any attachements that are attached to groups
starting with Ö
when I try to search attachements limiting the search to ÖGroup I get the
following error:
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate
Velocity Macro for content
[$xwiki.jsfx.use("uicomponents/search/search.js", false)##
$xwiki.ssfx.use("uicomponents/search/search.css", true)##
## Disable the document extra data: comments, attachments, history...
#set($docextras = [])
#set ($rssmode = ("$!request.xpage" == 'plain'))
## ---------------
## Space filtering
## ---------------
#set($spaces = $xwiki.spaces)
#set($selectedSpace = "$!request.space")
## ---------------
## Space macros
## ---------------
#macro(spaceoption $space $selectedSpace)
<option value="${space}" #if($selectedSpace ==
$space)selected="selected"#end>$space</option>
#end
#macro(spaceselect $selectedSpace $spaces)
<select name="space" title="$msg.get('xe.search.bar.spaces.title')">
<option value="" #if($selectedSpace ==
'')selected="selected"#end>$msg.get('xe.search.bar.spaces.all')</option>
#foreach($space in $spaces)
#if (!$blacklistedSpaces.contains($space))
#spaceoption($space $selectedSpace)
#end
#end
</select>
#end
##
##
#set($text = "$!request.getParameter('text')")
#set($utext = $util.encodeURI($text))
##
{{html}}
<form action="" id="searchBar">
<div class="centered">
<input type="text" name="text" class="searchQuery #if($text ==
'') defaultText#end" #if($text == '')
value="$msg.get('xe.search.bar.query.tip')" #else
value="$xwiki.getXMLEncoded(${text})" #end
title="$msg.get('xe.search.bar.query.title')"/>
#spaceselect($selectedSpace $spaces)
<input type="submit" class="searchButton"
value="$msg.get('xe.search.bar.submit')"
title="$msg.get('xe.search.bar.submit.title')"/>
</div>
</form>
{{/html}}
##
#set($space = $selectedSpace)
#set($datedlist = $util.arrayList)
#if("$!text" == '')
## No search
#else
#set($text = $text.replaceAll("'", "''").replaceAll("%", "\\%"))
#set($nbitems = 50)
## ----------------------------------------------------------------------
## Exclude Blacklisted spaces ($blacklistedSpaces is set in xwikivars.vm)
## Also exclude WebPreferences.
## ----------------------------------------------------------------------
#set ($webClause = '')
#foreach ($blacklistedSpace in $blacklistedSpaces)
#set ($webClause = "${webClause} doc.space <> '$blacklistedSpace' and")
#end
#if(!$hasAdmin && !$isAdvancedUser)
#set ($webClause = "${webClause} doc.name<>'WebPreferences' and")
#end
## -----------------------------------------------------------
## Display only a given space if $request.space is defined
## -----------------------------------------------------------
#if("$!space" != '')
#set ($webClause = "${webClause} doc.space='$space' and")
#end
#macro(addelement $item $list)
#if($xwiki.hasAccessLevel('view', $context.user,
"${context.database}:${item}"))
#set($itemdoc = $xwiki.getDocument($item))
## All items will be sorted by the date; since the list is
obtained from several queries, we can't order in the HQL.
## Prefix all item names with the date for sorting the combined results.
#set($sdate = $xwiki.formatDate($itemdoc.date, 'yyyyMMddHHmmss'))
#set($sitem = "${sdate}${item}")
#if(!$list.contains($sitem))
#set($discard = $list.add($sitem))
#end
#end
#end
## -----------------------------------------------------------
## Search in the page names
## -----------------------------------------------------------
#set ($sql = "where $webClause upper(doc.fullName) like
upper('%$!text%') order by doc.date desc")
#foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
#end
## -----------------------------------------------------------
## Search in page content
## -----------------------------------------------------------
#set ($sql = "where $webClause upper(doc.content) like
upper('%$!text%') order by doc.date desc")
#foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
#end
## -----------------------------------------------------------
## Search in text fields (simple String properties)
## -----------------------------------------------------------
#set($sql= ", BaseObject as obj, StringProperty as prop where
$webClause obj.name=doc.fullName and prop.id.id = obj.id and
upper(prop.value) like upper('%$!text%')")
#foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
#end
## -----------------------------------------------------------
## Search in big text fields (textarea properties)
## -----------------------------------------------------------
#set($sql= ", BaseObject as obj, LargeStringProperty as prop where
$webClause obj.name=doc.fullName and prop.id.id = obj.id and
upper(prop.value) like upper('%$!text%')")
#foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
#end
#end
#set($list = $util.arrayList)
#foreach($item in $util.sort($datedlist))
## datedlist contains items prefixed with the date; strip the date
from the actual item name:
#set($ok = $list.add(0, $item.substring(14)))
#end
#if ("$!utext" != '')
#if($rssmode)
#set ($feed = $xwiki.feed.getDocumentFeed($list, $util.getHashMap()))
#set ($feedURI = $doc.getExternalURL("view"))
#set ($discard = $feed.setLink($feedURI))
#set ($discard = $feed.setUri($feedURI))
#set ($discard = $feed.setAuthor('XWiki'))
#set ($discard = $feed.setTitle($msg.get('xe.search.rss', [$text])))
#set ($discard = $feed.setDescription($msg.get('xe.search.rss', [$text])))
#set ($discard = $feed.setLanguage($context.language))
#set ($discard = $feed.setCopyright($xwiki.getXWikiPreference('copyright')))
$xwiki.feed.getFeedOutput($feed,
$xwiki.getXWikiPreference('feed_type', 'rss_2.0'))
#else
{{include document="XWiki.Results"/}}
#if($selectedSpace == '')
#set($rssURL = $xwiki.getURL($doc.fullName, 'view',
"xpage=plain&outputSyntax=plain&text=${utext}" ))
#else
#set($rssURL = $xwiki.getURL($doc.fullName, 'view',
"xpage=plain&outputSyntax=plain&space=${selectedSpace}&text=${utext}"))
#end
{{html}}
<a href="${rssURL}"><img
src="$xwiki.getSkinFile("icons/silk/feed.gif")" alt="RSS
icon"/>$msg.get("xe.search.rss", ["[$text]"])</a>
{{/html}}
#set($luceneSearch = "[[Main.LuceneSearch?text=$!utext]]")
{{info}}$msg.get('xe.search.lucene.try', [$luceneSearch]){{/info}}
#end
#end
{{velocity}}]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:118)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:43)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to
evaluate content with id [velocity macro]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:200)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:110)
... 93 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'searchDocuments' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with SQL
[select distinct doc.space, doc.name, doc.date from XWikiDocument as
doc where (doc.hidden <> true or doc.hidden is null) and
doc.space='ÖWM Logo' and upper(doc.fullName) like
upper('%manual.pdf%') order by doc.date desc]
Wrapped Exception: could not execute query at velocity macro[line 82, column 27]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
... 95 more
Caused by: com.xpn.xwiki.XWikiException: Error number 3223 in 3:
Exception while searching documents with SQL [select distinct
doc.space, doc.name, doc.date from XWikiDocument as doc where
(doc.hidden <> true or doc.hidden is null) and doc.space='ÖWM Logo'
and upper(doc.fullName) like upper('%manual.pdf%') order by doc.date
desc]
Wrapped Exception: could not execute query
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNamesInternal(XWikiHibernateStore.java:2306)
I tried to delete those spaces using the following macro:
{{velocity}}
#if ($request.space)
#if ($request.confirm == "1")
#foreach ($item in $xwiki.getSpaceDocsName($request.space))
* Deleting $item
$xwiki.getDocument("${request.space}.${item}").delete()\\
#end
#else
[[Confirm delete space
${request.space}>>$doc.fullName?space=${request.space}&confirm=1]]:
#foreach ($item in $xwiki.getSpaceDocsName($request.space))
* $item
#end
#end
#else
|=Space |=Action
#foreach($space in $xwiki.spaces)
|$space | [[Index>>Main.SpaceIndex?space=${space}]] -
[[Delete>>$doc.fullName?space=${space}]]
#end
#end
{{/velocity}}
--------------------
again the same problem caused by the special charakter:
---->
Failed to execute macro: velocity
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate
Velocity Macro for content [#if ($request.space)
#if ($request.confirm == "1")
#foreach ($item in $xwiki.getSpaceDocsName($request.space))
* Deleting $item $xwiki.getDocument("${request.space}.${item}").delete()\\
#end
#else
[[Confirm delete space
${request.space}>>$doc.fullName?space=${request.space}&confirm=1]]:
#foreach ($item in $xwiki.getSpaceDocsName($request.space))
* $item
#end
#end
#else
|=Space |=Action
#foreach($space in $xwiki.spaces)
|$space | [[Index>>Main.SpaceIndex?space=${space}]] -
[[Delete>>$doc.fullName?space=${space}]]
#end
#end]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:118)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:43)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:200)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:52)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:120)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5586)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5561)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:557)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:571)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to
evaluate content with id [velocity macro]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:200)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:110)
... 93 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getSpaceDocsName' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 0 in 0: Exception while execute query. Query statement =
[getSpaceDocsName]
Wrapped Exception: Exception while execute query. Query statement =
[getSpaceDocsName] at velocity macro[line 8, column 27]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:282)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
... 95 more
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 0:
Exception while execute query. Query statement = [getSpaceDocsName]
Wrapped Exception: Exception while execute query. Query statement =
[getSpaceDocsName]
at com.xpn.xwiki.XWiki.getSpaceDocsName(XWiki.java:5734)
at com.xpn.xwiki.api.XWiki.getSpaceDocsName(XWiki.java:1515)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
... 106 more
hi list,
when a user is member of several groups which group-permissions/rights are
used to access eg a site, the best one, or worst one, I can't see a system
here.
thx for your help
In XWiki it is very easy to create notifications for current user, but how I
can create notifications (watchlist jobs) for other users? For example, I,
as admin, want to create watchlist job for user "test"?
--
View this message in context: http://n2.nabble.com/Create-notifications-watchlist-jobs-for-other-users-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I get always "Your are not allowed to view this page".
However, I think the used account has enough rights.
It there a way to check which rights are missing?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi,
I am about to set up a glossar.
There is a page for each letter.
For this kind of page I would like to suppress the display of the standard doc title.
The page itself show the "letter". Is there a way to do so?
- letting the doc title empty is to poor. This may fail at further places
- putting the glossar in an own space and supplying an own stylesheet looks complicated
Any other ideas?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
We're using xwiki 2.03 and text with ampersands in it breaks the livetable filtering feature.
Is there any fix to properly escape the text that gets entered into the filtering fields on livetables or can anyone give me a pointer on where to start looking in order to fix this?
Thanks,
Radek Rekas
Hello XWikiers,
Today I met a short hang of our platform (also noticed by a nagios)
which seemed to say in the log:
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection,
pool exhausted
Is it right to raise the
<property name="connection.pool_size">2</property>
to
<property name="connection.pool_size">5</property>
in hibernate.cfg.xml?
thanks in advance
paul
I am using the LiveTable macro to build a table similar to the one in XWiki.Tableview. I have custom columns and I want to display a column's "pretty name" as its header, but I can't find a way to pass a column "pretty name" in the column properties or otherwise set the column header. The only way I've found to set this column header pretty name is to pass a translationPrefix option in the table options.
Is there any way to set the column headers to a "pretty name" without changing / creating translation keys in the core?
Joshua Rieken
System Software Developer
Reynolds and Reynolds
6700 Hollister | Houston, Texas 77040
office 713.718.1800 ext. 72459 | mobile 806.584.3004
Joshua_Rieken(a)reyrey.com
MAKING BUSINESS BETTER.
NOTE: The information contained in this e-mail is personal and confidential and may be protected by the attorney-client privilege and/or the work product doctrine. It is for the sole use of the intended recipient. Any review, reliance, or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Hi,
when using the Lucene Search I get a warning due to the usage of ..plugin.LucenePluginApi.getSearchResults
Is there a way to get rid of this warning?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi,
I am about to protect the xwiki as much as possible.
I disabled the xwiki space for unregistered users.
One effect is that text "search" in the search field no more disappears when it get focus.
The code for that functionality is in resources/js/xwiki.js
This file will not delivered to an unregistered user anymore.
On the other hand I do still see "sandbox" offered in the space selection of the search page.
Even when I disabled unregistered from view the sandbox space.
What is wrong with my approach?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Is there a way to very new pages before they go online?
I would like to check the first few pages/pages of self registered user before allowing them to go online directly
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi,
the xwiki admin contains a category named "programming".
All entries are empty. I do not have any idea what this page is good for.
What could I configure here?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Thank you Guillaume. It works.
I did not search well enought ...
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Guillaume Lerouge
> Envoyé : vendredi 19 février 2010 14:43
> À : XWiki Users
> Objet : Re: [xwiki-users] Editing goes to WYSIWIG instead of inline
>
> Hi Christophe,
>
> I guess your problem and the way to fix it is described on:
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
>
> - Click the first button ("CREATE THE DOCUMENT SHEET") to
> create the
> document sheet (the Page Design Sheet). This sheet
> determines how your
> page's objects will be rendered to the user. The document
> is automatically
> created.
> - Click on "View the sheet document"
> - Edit that page in Object edition mode
> - Using the menu on the right, add a XWiki.SheetClass
> object to the page
> - *Adding the XWiki.SheetClass object is important.
> It's because of
> this object that users will be sent to form edition
> mode when editing FAQ
> entries*
> - Click "Save & View"
>
> Guillaume
>
> On Fri, Feb 19, 2010 at 2:34 PM, PERINAUD Christophe <
> Christophe.PERINAUD(a)kbl-bank.com> wrote:
>
> > Hi all,
> >
> > I created few pages (class, sheet, template, etc) to let me
> have a template
> > for incidents management. My problem is that when i click
> on Edit it opens
> > the WYSIWIG editor and i would like to have the Inline
> Editor by default. If
> > i force the inline editor from the edit menu it works great.
> >
> > I have the same problem for the user's edition
> >
> > Christophe Périnaud
> > Hub Banking Support Application
> > KBL European Private Bankers S.A.
> >
> >
> >
> >
> --------------------------------------------------------------
> ------------------
> >
> > This e-mail is intended only for the addressee named above.
> It does not
> > bind the sender, except in the case of an existing written
> convention with
> > the addressee. This e-mail may contain material that is
> confidential and
> > privileged for the sole use of the intended recipient. Any
> review, reliance
> > or distribution by others or forwarding without express
> permission is
> > strictly prohibited and may be unlawful. If you are not the intended
> > recipient, please contact the sender and delete all copies.
> >
> > While reasonable precautions have been taken to ensure that
> this e-mail and
> > any attachments are free from any computer virus or similar
> defect, no
> > liability will be accepted in that respect. Anyone
> accessing this e-mail
> > must take their own precautions as to security and virus protection.
> >
> > KBL European Private Bankers S.A., 43 boulevard Royal
> L-2955 Luxembourg,
> > R.C.S. Luxembourg B 6395, T (352) 47 97 1
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello,
I tried XE 2.2-SNAPSHOT.27143 and have noticed one new error message in
xwiki.log, that was not in XE 2.2 stable release.
Deploy xwiki-enterprise-web-2.2-20100218.061341-347.war - OK
The message appears on importing default .xar Archive
(xwiki-enterprise-wiki-2.2-20100218.061341-348.xar).
I tried also snapshot 2749 - with the same effect.
2010-02-19 11:43:54,328 [Lucene Index Updater] ERROR lucene.AttachmentData
- error getting content of attachment
java.lang.NullPointerException
at
com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:145)
at
com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:145)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:80)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:296)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:237)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:171)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:153)
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99)
at java.lang.Thread.run(Unknown Source)
is it critical? It didn't occur before.
===
One more warning in log - it seems to be not very important...
2010-02-19 11:44:06,515
[http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences] WARN
interwiki.InterWiki - Unable to read conf/intermap.txt
==
We are working on XE 2.2 + jdk1.6.0_17 + Tomcat + Oracle 10g
Best Regards,
Alla
http://n2.nabble.com/file/n4597247/xwiki.log xwiki.log
--
View this message in context: http://n2.nabble.com/ERROR-lucene-AttachmentData-NullPointerException-tp459…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I created few pages (class, sheet, template, etc) to let me have a template for incidents management. My problem is that when i click on Edit it opens the WYSIWIG editor and i would like to have the Inline Editor by default. If i force the inline editor from the edit menu it works great.
I have the same problem for the user's edition
Christophe Périnaud
Hub Banking Support Application
KBL European Private Bankers S.A.
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hey,
I have a few questions on a variety of topics
1. Is there a method that returns the access rights for a given group? I tried to use method hasAccessLevel to return the access rights (at the group level) but it seems that the method only applies for users and not groups.
To expand on this thought, where are all the group names stored? I've been using hasAccessLevel using XWiki.{groupname} as the parameter, so I am not sure whether I am calling it right.
2. It seems that no one has addressed Mike Davis's question, but since I also need to do something similar to what he brought up, I'd like to bring it up again:
Mike Davis said:
"2) Is there a way to remotely access a sql 2005 database from an xwiki
script? A groovy wrapper for java jdbc or something. I want to query
the database and put the results in a livetable, but the db lives on a
completely separate server."
I understand that accessing files depends on the web server you are running xwiki on, but I am almost clueless on how to access information on another server from a web server. I'm not sure if I am asking the right people, but if someone would like to enlighten me, I'd greatly appreciate it.
3. Regarding Livetable, I need to create a (huge) table that includes the User field and well as the AllDocs field. What I am trying to do is create a table that will display the access rights for a given user and given document. Livetable is obviously the best option for this kind of task because of its organization, but it seems that I can only use one classname and either display AllDocs or Users on the livetable, not both.
Thank you,
Felix
Following velocity allows to create simpe xwiki document:
#set ($mydoc = $xwiki.getDocument("Sandbox.Test1"))
$mydoc.setContent("sdfsdf")
$mydoc.save()
But How can I create custom object?
http://hans.gerwitz.com/projects/snipsnap-to-xwiki
shows some ideas but I can't make it working for me.
Another (awkward) way would be executing external curl command.
How can I do this?
Thanks,
Valdis
Hi,
I did not find a "DeleteProperty" feature.
What is the reason?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi,
We are having problem with importing document from xwiki 1.9 into 2.1. (Most
of the data in 1.9 was previously imported from v1.7). Any insight will be
appreciated.
In the log file, there are SQL errors:
ERROR 2010-02-09 15:20:23,022 (Package.java:628) - Failed to save document
ABCD.System Management Plan (SMP)
WARN 2010-02-09 15:20:23,084 (JDBCExceptionReporter.java:77) - SQL Error:
1400, SQLState: 23000
ERROR 2010-02-09 15:20:23,084 (JDBCExceptionReporter.java:78) - ORA-01400:
cannot insert NULL into ("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")
ERROR 2010-02-09 15:20:23,084 (AbstractFlushingEventListener.java:301) -
Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: could not insert:
[com.xpn.xwiki.objects.BaseObject]
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
Thanks
Jin
Did some programmed a glossar for xwiki?
My impression is, this is not to complicated.
Did some programmed a forum for xwiki?
This looks much more complex to me.
However, maybe the commenting facility is suffient for a simple forum.
If yes, are you willing to share code?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Now I have more tricky question -- how to add custom object using Xwiki
REST service.
By browsing existing ones I assume, I can create linked custom object
using POST before, and get object id.
Then I add wiki document using PUT and set relation to previously
created object.
Is it right approach to test?
Are there more recommendations beside
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
Thanks,
Valdis
Hello,
I have problem with editing documents with the new WYSIWYG editor (page
syntax – XWiki 2.0) - on attempt to create a link to existing documents I
get a message “There was an error loading the data” – it looks like the
select from the xwikidoc table doesn’t work properly.
Log file: “Exception while searching documents with sql select distinct doc
from XWikiDocument doc where 1=1 and doc.author='XWiki.Admin' order by
doc.date desc” and
Oracle error “ORA-00932 inconsistent datatypes”. The full log files
attached.
Even so, if I switch to tab “All pages”, I can see the list of all existing
pages, but cannot select any of them.
Links creation with XWiki 1.0 syntax works fine.
Are there Oracle-specific workarounds or is it just a bug?
Our environment: XE 2.1.1 + JBoss 5 ( jdk 1.6 ) + Oracle 10g.
http://n2.nabble.com/file/n4556042/wysiwyg_editor.jpg wysiwyg_editor.jpg
http://n2.nabble.com/file/n4556042/server.log server.log
http://n2.nabble.com/file/n4556042/xwiki.log xwiki.log
Thanks,
Alla
--
View this message in context: http://n2.nabble.com/ORA-00932-inconsistent-datatypes-expected-got-clob-tp4…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
The Google Summer of Code 2010 is on and we'd like to propose some projects for XWiki.
Some of us have started with some ideas at http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
Please join us in proposing ideas.
Then once we have enough we'll decide which ones we keep and students will apply on the projects we'll have kept.
Thanks
-Vincent
Hi,
for a glossar I would like to create documents for each letter automatically.
I tried to use
#set ($newDoc = $xwiki.createDocument())
However, the var $newDoc will not assigned
What is wrong with that?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi there,
I,ve installed the XWIKI on my machine and started the webapp.
Then went to Sandbox's test page 1:
http://localhost:8080/xwiki/bin/view/Sandbox/TestPage1
There it is written that i have to click on the 'Edit' button but I
DONT SEE ANY BUTTON at all. Why is that? What's the problem?
Thank you!
Hi,
I have installed XOffice 1.1 M1 to edit files on my XWiki 2.1.1.
My previous XOffice tests were done against a stand alone jetty setup.
The Server URL was just a simple http://localhost:8090. Now that I
have deployed XWiki on Tomcat 6.0 I can't seem to figure out the
Server URL to enter in XWord. For now I use the URL
http://localhost:8090/xwiki-enterprise-web-2.1.1 in my browser to
login.
What am I missing ?
Thanks
Simon Glet
Hello,
I am rewriting the "todo" example list to be suitable for my company. I would like to show in the list the date of creation of the documents. How can i get it?
The code is something like:
<table id="todoTable" class="grid sortable filterable doOddEven" cellpadding="0" cellspacing="0" border="0">
<tr class="sortHeader">
<th class="unsortable selectFilter">Fecha</th>
<th>Resumen</th>
<th>Status</th>
<th>Persona</th>
<th>Pestaña</th>
<th class="unsortable selectFilter">Descripcion</th>
</tr>
#foreach ($todo in $todos)
<tr>
#set ($todoDoc = $xwiki.getDocument($todo))
#set ($todoObj = $todoDoc.getObject("XWiki.TodoClass"))
<td>[$todoObj.TargetDate>$todo]</td>
<td>[$todoObj.Resumen>$todo]</td>
<td>[$todoObj.Status>$todo]</td>
<td>[$todoObj.Persona>$todo]</td>
<td>[$todoObj.Pestana>$todo]</td>
<td>$todoObj.Descripcion</td>
</tr>
#end
</table>
So get from the todoobj the creation date.
Regards,
Francisco
--
Francisco Hernández Cuchí
Jefe de Servicios Sistemas de Información
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
C\ Paseo de la Castella 75
tlf: 913496844
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hi Stefan,
Yes you can. In my case, based on a user, its group and its rights, i display different links and pictures.
It's easy to do in the source of the panel that you want to customize
Ex:
#if($xwiki.exists("BankingLexicon.WebHome"))
<div style="margin-bottom: ${marginbottom}px">{image:lexicon.png|align=absmiddle|document=Panels.QuickLinks} [Banking lexicon>BankingLexicon.WebHome]</div>
#end
#if($xwiki.getUser().isUserInGroup("XWiki.GlobusAstreintes") && $xwiki.exists("Astreintes.WebHome"))
<div style="margin-bottom: ${marginbottom}px">{image:astreintes.png|align=absmiddle|document=Panels.QuickLinks} [Astreintes>Astreintes.WebHome]</div>
#end
You can also display or not a panel based on test :
#if ($xwiki.hasAdminRights())
#panelheader('Administrate')
#set($marginbottom=3)
<div style="margin-bottom: ${marginbottom}px">{image:new.png|align=absmiddle|document=Panels.Administrate} [Create new page/space>Panels.NewPage]</div>
#panelfooter()
#end
If the user does not have admin rights, nothing will be displayed
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de stefan bachert
> Envoyé : mercredi 17 février 2010 10:05
> À : users(a)xwiki.org
> Objet : [xwiki-users] Panels
>
> Is there a way to set panels different per user capability?
>
> Stefan Bachert
>
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen
> herausragenden Schutz gegen Massenmails.
> http://mail.yahoo.com
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Some of the transaction were very poor, ungrammatically and wrong
in panel wizard
e.g "WIEDERRUFEN" means "call again"
very likely the intent was to offer "cancel" which can be translated as "WIDERRUFEN" (means revoke, "what i have done was wrong")
(a better and more usual translation is "Abbrechen")
(WIEDER = again, WIDER = against, anti, contra, RUFEN = call, shout)
Is there a possibility to propose translations?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This release contains many important UI improvements of existing
features (xar import, user registration, comments, etc.), and
introduces the new Model API starting with a new EntityReference and
related tools to remove all String manipulations around documents and
attachment names.
Changes from XWiki Enterprise 2.1.2:
* New XAR Import UI
* UI for Deleted documents & attachments
* New Profile & WatchList UI
* New Registration page, new CAPTCHA implementation
* New Menu in Edit mode
* Comments UI improvements
o Preview comment
o Edit comment
* WYSIWYG and Rendering improvements
* General UI improvements
* Contextual wiki macros
* New Model module with Reference implementation
* Development improvements
* Office import improvements
* Blog improvement
* Dependencies upgrade
o Upgraded to Groovy 1.7
o Upgrade to GWT 2.0.0
* New zh_TW translation
* New user profile pages are created in XWiki Syntax 2.0
* Many bugfixes
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise22
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM22
Thanks
-The XWiki dev team
Is there a way to set panels different per user capability?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hey all,
I am trying to find a method that can return a list of groups that have a given access right to a given page. Is there a method(s) that allow me to do that? I'm aware that you can create an object of AccessRights onto a given page and filter in groups and users that have access rights to a given page, but only admins can see that. I need to generate a list of groups that have granted access so that when an unregistered user tries to log onto a page that he doesn't have access to, a list will be generated so that he can ask for membership to those groups.
Thank you,
Felix Wu
I checked my code and my problem now is that all is displayed well except carriage returns
So if i have some text in bold it's well displayed but all lines are displayed in only one string. Do i have to add/remove an option somewhere to not removed them ?
Also when i click on the Edit menu in the top bar, it opens the WYSIWYG editor. Is it possible with velocity to force the inline form editor ? (iT worked before but i guess i changed something somewhere ...)
Thanks
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Valdis Vitolinš
> Envoyé : lundi 15 février 2010 14:32
> À : XWiki Users
> Objet : Re: [xwiki-users] Display a well rendered field
>
> Standard ClassSheet template has simpler syntax:
> $doc.display("propertyname")
>
> e.g.
> {{velocity}}
> ## You can modify this page to customize the presentation of your
> object.
> ## At first you should keep the default presentation and just save the
> document.
> = Īsziņa $doc.name =
>
> #set($class = $doc.getObject('Custom.IszinaClass').xWikiClass)
> #foreach($prop in $class.properties)
> |$prop.prettyName| $doc.display($prop.getName())
> #end
> {{/velocity}}
>
> and it works seamlessly.
> Valdis
>
> > Thanks Valdis.
> >
> > >
> > > I check the class in the class editor and for this
> textarea, i don't see how to change the rendering. Is it in
> the class or in the call to display the field ? (i use
> $doc.display($fieldName, "view") )
> > >
> > > I use Xwiki 2.0.3
> > >
> > > > -----Message d'origine-----
> > > > De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> > > > De la part de Valdis Vitolinš
> > > > Envoyé : lundi 15 février 2010 13:03
> > > > À : XWiki Users
> > > > Objet : Re: [xwiki-users] Display a well rendered field
> > > >
> > > > It seems your default editor is WYSIWYG, but text field is
> > > > simple text.
> > > > You need to set textarea field to FullyRenderedText (Xwiki
> > > > 1.x version)
> > > > or WYSIWYG (2.x version) mode.
> > > >
> > > > Valdis
> > > >
> > > >
> > > > > Hello all,
> > > > >
> > > > > I have a class with text fields. When i want to display the
> > > > value of one of them, i only have a very long string.
> > > > > How can i display it with nice rendering (bold, colors,
> > > > etc) ? (In edit mode i have the WYSIWYG editor)
> > > > >
> > > > > Thank you
> > > > >
> > > > > Christophe Périnaud
> > > > > Windows Server 2003 SP2 in a VMWare instance
> > > > > Oracle 10g
> > > > > Java 1.6.0_12
> > > > > Xwiki 2.0.3 from the pack Jetty/HSQL
>
> ...
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
1. How the change a color on a ColorTheme (stefan bachert)
2. Readable only (stefan bachert)
3. How to put a user into a certain group (stefan bachert)
1. and 3. is resolved. My confussion was not to call "inline form" which means "execute this 'document'".
It is confussion to the beginners only to talk about view and edit mode.
There is at least an execute mode, too.
2. is considered to be a bug.
Thank you answering.
How can I reply answers from the digest list without ask a new question?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hello,
I have a problem with XWiki pages, which contains pictures.
The problem occurs with small and large sites.
Some images are not displayed.
Each page load shows another result.
An explicit loading of images with the contextmenu is possible.
When working with the Internet Explorer 7, the problem occurs much more
frequently than in Firefox 3.5
Best wishes
Norbert
[Germany]
--
View this message in context: http://n2.nabble.com/Lost-Pictures-on-XWIKI-Sites-tp4578892p4578892.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
How to put a user into a certain group?
I do not have any idea how tzo manage this (I downloaded XE 2.1.2)
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
I would like to have a wiki, which is readable only for unregistered users.
How can I get rid of the edit button (section) of headers?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi XWiki Users,
Please help the dev team solve a UI design dilemma. Your feedback is
very important, we really need the point of view of all categories of users.
The context:
We wish to get rid of the editor panels and integrate their
corresponding functionality in the editor itself. There are several
reasons for doing this (having all the editor functions in one place,
without depending on the panels that might or might not be in the
database, having the possibility to integrate the editors in view mode
without functionality loss, etc).
The proposals:
A) http://dev.xwiki.org/xwiki/bin/Design/ImprovedEdit#HVariantA
All the information from the side panels is inserted in the main editor
in semantically related places
- the language/translation can be chosen from the content menu
- the user can change the parent document by editing the hierarchy
- the included documents are listed above the content
- the document syntax can be selected from a field placed near the
content textarea; a link to the syntax help page is provided in the same
place. Note that the included documents and the page syntax are only
visible in the wiki editing mode. Users editing pages in wysiwyg are not
bothered with such details.
B) http://dev.xwiki.org/xwiki/bin/Design/ImprovedEdit#HVariantB
All the information from the side panels is grouped in an "Advanced
options" zone, hidden by default and displayable on the right. This
variant is highly similar to what we currently have in edit mode, with
the additional possibility to hide it to gain more horizontal space.
Please comment on these proposals, telling us which works better for
you. New ideas are also welcome.
Thanks in advance for your feedback, which will help us move forward.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
How the change a color on a ColorTheme?
I opened one of the ColorTheme. I dont have any idea to chance the color value.
In the XWiki doc is a screen dump of the ColorTheme with a button and some kind of color selector.
However, I never see this in my XWiki in life?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi everyone,
We're about to release XE 2.2 final tomorrow.
If you know of any critical/blocking issue that remains please let us know quickly so that we can fix it before the release.
Thanks a lot
-Vincent
Standard ClassSheet template has simpler syntax:
$doc.display("propertyname")
e.g.
{{velocity}}
## You can modify this page to customize the presentation of your
object.
## At first you should keep the default presentation and just save the
document.
= Īsziņa $doc.name =
#set($class = $doc.getObject('Custom.IszinaClass').xWikiClass)
#foreach($prop in $class.properties)
|$prop.prettyName| $doc.display($prop.getName())
#end
{{/velocity}}
and it works seamlessly.
Valdis
> Thanks Valdis.
>
> >
> > I check the class in the class editor and for this textarea, i don't see how to change the rendering. Is it in the class or in the call to display the field ? (i use $doc.display($fieldName, "view") )
> >
> > I use Xwiki 2.0.3
> >
> > > -----Message d'origine-----
> > > De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> > > De la part de Valdis Vitolinš
> > > Envoyé : lundi 15 février 2010 13:03
> > > À : XWiki Users
> > > Objet : Re: [xwiki-users] Display a well rendered field
> > >
> > > It seems your default editor is WYSIWYG, but text field is
> > > simple text.
> > > You need to set textarea field to FullyRenderedText (Xwiki
> > > 1.x version)
> > > or WYSIWYG (2.x version) mode.
> > >
> > > Valdis
> > >
> > >
> > > > Hello all,
> > > >
> > > > I have a class with text fields. When i want to display the
> > > value of one of them, i only have a very long string.
> > > > How can i display it with nice rendering (bold, colors,
> > > etc) ? (In edit mode i have the WYSIWYG editor)
> > > >
> > > > Thank you
> > > >
> > > > Christophe Périnaud
> > > > Windows Server 2003 SP2 in a VMWare instance
> > > > Oracle 10g
> > > > Java 1.6.0_12
> > > > Xwiki 2.0.3 from the pack Jetty/HSQL
...
Thanks Valdis.
I check the class in the class editor and for this textarea, i don't see how to change the rendering. Is it in the class or in the call to display the field ? (i use $doc.display($fieldName, "view") )
I use Xwiki 2.0.3
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Valdis Vitolinš
> Envoyé : lundi 15 février 2010 13:03
> À : XWiki Users
> Objet : Re: [xwiki-users] Display a well rendered field
>
> It seems your default editor is WYSIWYG, but text field is
> simple text.
> You need to set textarea field to FullyRenderedText (Xwiki
> 1.x version)
> or WYSIWYG (2.x version) mode.
>
> Valdis
>
>
> > Hello all,
> >
> > I have a class with text fields. When i want to display the
> value of one of them, i only have a very long string.
> > How can i display it with nice rendering (bold, colors,
> etc) ? (In edit mode i have the WYSIWYG editor)
> >
> > Thank you
> >
> > Christophe Périnaud
> > Windows Server 2003 SP2 in a VMWare instance
> > Oracle 10g
> > Java 1.6.0_12
> > Xwiki 2.0.3 from the pack Jetty/HSQL
> >
> >
> >
> --------------------------------------------------------------
> ------------------
> >
> > This e-mail is intended only for the addressee named above.
> It does not bind the sender, except in the case of an
> existing written convention with the addressee. This e-mail
> may contain material that is confidential and privileged for
> the sole use of the intended recipient. Any review, reliance
> or distribution by others or forwarding without express
> permission is strictly prohibited and may be unlawful. If you
> are not the intended recipient, please contact the sender and
> delete all copies.
> >
> > While reasonable precautions have been taken to ensure that
> this e-mail and any attachments are free from any computer
> virus or similar defect, no liability will be accepted in
> that respect. Anyone accessing this e-mail must take their
> own precautions as to security and virus protection.
> >
> > KBL European Private Bankers S.A., 43 boulevard Royal
> L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello all,
I have a class with text fields. When i want to display the value of one of them, i only have a very long string.
How can i display it with nice rendering (bold, colors, etc) ? (In edit mode i have the WYSIWYG editor)
Thank you
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi All,
Now i am working in xwiki to integrate xwiki application as portlet in
jboss portal.
I have placed the portlet.xml,portlet-instances.xml,xwiki-object.xml
inside the xwiki war and deployed in jboss portal. It deployed and portlet
also created.
But inside the portlet its throwing the exception "Xwiki context
initialization exception". The context not getting initialized.. How to fix
this issue??
I am using xwiki 2.1.1 war and xar respectively. I didnt worked with exo
portal yet.
I am using jboss portal 2.6 which supports jsr-168.
If anyone worked already and have a idea kindly guide.
Thanks in advance.
Thanks and Regards,
Nithya
--
View this message in context: http://n2.nabble.com/How-to-integrate-xwiki-as-jsr-168-in-jboss-portal-tp45…
Sent from the XWiki- Users mailing list archive at Nabble.com.
We are using LDAP authentication scheme and are trying to develop a feature wherein we can register any given user before he/she authenticates for the first time. This will allow us to add users to appropriate access control lists so that they are fully setup before they ever authenticate.
To do so, I was thinking of using Groovy to access the XWikiLDAPAuthServiceImpl class to perform functions such as first verifying that the LDAP uid is valid and then perform the actual creation using createUserFromLDAP() method call.
I am unable to get basic Groovy access to any method in the above class working. I would appreciate if someone could guide me with the basic skeleton to access the class or maybe even the actual authenticator object in the current context.
Thanks,
Milind
Hi. I am trying to understand and use RSS feed to watch the Main space and few specific pages in another space on our XWiki installation (version 2.1).
I am using Thunderbird as my RSS reader since I already use it for reading a bunch of other RSS feeds.
I am unable to get any meaningful feed when I enter the URL provided in the WatchListManager page (which is something like <hostname>/xwiki/bin/view/XWiki/WatchListRss?xpage=plain&outputSyntax=plain into Thunderbird.
To investigate the feed returned by the above URL, when I viewed the URL in Firefox (and I have authenticated with the XWiki in another tab), I see the correct list of feed items, but when I view the URL in Firefox as an unauthenticated user, the feed list is empty. So obviously user information is being passed to WatchListRss somehow.
The question is how do I authenticate as a specific user when using standalone or feed readers such as Thunderbird or Outlook-2007?
Does the feed URL have to be modified in any way?
Thanks,
Milind
Hi,
I am currently using XE 2.1.1 with Tomcat 6.0 and PostgreSQL.
In the upper right of the layout, just under the search box, there
should be links with all the configured languages but I can only see
"en". As I also configured "fr", shouldn't I also see a "fr" link ?
In the xwiki.cfg I have set :
xwiki.language.preferDefault=1
xwiki.language.forceSupported=0
In the Admin Preferences dialog I have set:
Multi Lingual = Yes
Languages = fr,en
Default Language = fr
When I login, the "fr" language is set but if I switch to "en" (by
clicking on the link), I can't go back to "fr" the same way. If I add
"?language=fr" to the current url the language changes.
Thanks
Simon Glet
Hello,
In ScriptMacro parameters description
http://code.xwiki.org/xwiki/bin/view/Macros/ScriptMacro#HSpecifyingextraJARs
It write that we can attach a jar in page and add it to classpath with
jars parameter
{{script jars="attach:some.jar"}}
When I do that, my page is never displayed: my browser waits and waits
page content
I try also
{{script jars="http://host/xwiki/bin/download/space/page/some.jar"}}
Then I have the following error:
Failed to execute macro: script
java.lang.NoClassDefFoundError: Could not initialize class
sun.net.www.protocol.http.HttpURLConnection
at sun.net.www.protocol.http.Handler.openConnection(Handler.java:44)
at sun.net.www.protocol.http.Handler.openConnection(Handler.java:39)
at java.net.URL.openConnection(URL.java:945)
at org.xwiki.classloader.internal.protocol.jar.JarURLConnection.getPermission(JarURLConnection.java:114)
at org.xwiki.classloader.internal.ResourceLoader$JarInfo.getJarFileIfPossiblyContains(ResourceLoader.java:533)
at org.xwiki.classloader.internal.ResourceLoader$JarInfo.getResource(ResourceLoader.java:429)
at org.xwiki.classloader.internal.ResourceLoader.findResource(ResourceLoader.java:356)
at org.xwiki.classloader.internal.ResourceLoader.access$400(ResourceLoader.java:89)
at org.xwiki.classloader.internal.ResourceLoader$ResourceEnumeration.fetchNext(ResourceLoader.java:811)
at org.xwiki.classloader.internal.ResourceLoader$ResourceEnumeration.hasMoreElements(ResourceLoader.java:792)
at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:27)
at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:36)
at sun.misc.Service$LazyIterator.hasNext(Service.java:255)
at javax.script.ScriptEngineManager.initEngines(ScriptEngineManager.java:107)
at javax.script.ScriptEngineManager.access$000(ScriptEngineManager.java:37)
at javax.script.ScriptEngineManager$1.run(ScriptEngineManager.java:80)
at java.security.AccessController.doPrivileged(Native Method)
at javax.script.ScriptEngineManager.init(ScriptEngineManager.java:78)
at javax.script.ScriptEngineManager.<init>(ScriptEngineManager.java:51)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.getScriptEngine(AbstractJSR223ScriptMacro.java:239)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluate(AbstractJSR223ScriptMacro.java:181)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluate(AbstractJSR223ScriptMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:200)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:137)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:50)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:120)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5586)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5561)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:557)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:571)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor337.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Hello,
I am testing XWiki (2.1.1, PostgreSQL, XP SP3) for our organisation and I am
running into some problems with the office import feature. The document and
am trying to import is an odt document with one line. This is the stack
trace I get :
8-Feb-2010 4:05:09 PM net.sf.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1'
2010-02-08 16:06:45,787
[http://localhost:8082/xwiki/bin/view/XWiki/OfficeImporterResults] ERROR
rterVelocityContextInit
ializer - Error while performing conversion.
org.xwiki.officeimporter.OfficeImporterException: Error while performing
conversion.
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeDocumentConverter.convert(DefaultOpenOfficeDocu
mentConverter.java:181)
at
org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentB
uilder.java:84)
at
org.xwiki.officeimporter.internal.DefaultOfficeImporter.importStream(DefaultOfficeImporter.java:125)
at
org.xwiki.officeimporter.internal.OfficeImporterVelocityBridge.importDocument(OfficeImporterVelocityBridge.ja
va:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:566)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:583)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:123)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: net.sf.jodconverter.office.OfficeException: could not complete
task
at
net.sf.jodconverter.office.ManagedProcessOfficeManager.execute(ManagedProcessOfficeManager.java:95)
at
net.sf.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:71)
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeDocumentConverter.convert(DefaultOpenOfficeDocu
mentConverter.java:178)
... 111 more
Caused by: java.util.concurrent.ExecutionException:
java.lang.reflect.UndeclaredThrowableException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at
net.sf.jodconverter.office.ManagedProcessOfficeManager.execute(ManagedProcessOfficeManager.java:90)
... 113 more
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy33.loadComponentFromURL(Unknown Source)
at
net.sf.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:58)
at
net.sf.jodconverter.office.ManagedProcessOfficeManager$2.run(ManagedProcessOfficeManager.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown
Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.star.loader.CannotActivateFactoryException: loading
component library failed: file:///C:/Program%20Fi
les/OpenOffice.org%203/program/../Basis/program/i18npool.uno.dll
at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182)
at
com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313)
at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:101)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:652)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:154)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:136)
... 9 more
I have checked that i18npool.uno.dll is on my system and it is at the
specified path. So how can I fix my problem ?
Thanks
Simon Glet
--
View this message in context: http://n2.nabble.com/Office-import-error-tp4537228p4537228.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I imported the new SVG macro that seems quite nice, but have some
difficulties with edition ...
Page XWiki.SVGMacro displays correctly the SVG, but edit button just fails
to do anything. In Firebug, I could find that it complains about "ModalBox
is not defined".
This is strange as a link is present is the html source on ModalBox :
<link rel='stylesheet' type='text/css'
href='/xwiki/bin/ssx/XWiki/ModalBox?language=en
<view-source:http://varsovie:8084/xwiki/bin/ssx/XWiki/ModalBox?language=en>'/>
If I follow the link to this ModalBox ssx in the firefox source view, it
shows well, but if I put same link in the browser url it just fails and
shows "page does not exist".
I'm using it with XE 2.0.3,
Best regards,
Jeremie
Our team has been using xwiki for several months, love it. I am still new
to xwiki, first post. Upgraded our 2.1 today on Windows 2008 r2 64bit.
Some errors have been seen in the past with registrations. I don't think
velocity is working correctly. When I configure the wiki for a new user -
without email registration, the new user is created correctly. If I turn
on email confirmation, it fails with this error in red letters;
Passwords are different or password is empty. - Yes, phat fingers have
been double checked, several times ;) If I try again, it says in red that;
User already exists.
It does create the new userid, inactive. When I check the users rights,
HOWEVER they have edit green checkmark in the Groups XWikiAdminGroup !
This does not happen without the java error below, for a new user without
the email confirmation.
2010-02-11 14:43:32,491 [http://wiki/xwiki/bin/register/XWiki/Register]
ERROR api.XWiki - Failed to create user
com.xpn.xwiki.XWikiException: Error number 11004 in 11: Exception while
creating user
Wrapped Exception: java.lang.NullPointerException
at com.xpn.xwiki.XWiki.createUser(XWiki.java:3495)
at com.xpn.xwiki.api.XWiki.createUser(XWiki.java:1183)
at com.xpn.xwiki.api.XWiki.createUser(XWiki.java:1156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
...
Wrapped Exception:
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPluginApi.sendMail(MailSenderPluginApi.java:166)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPluginApi.sendRawMessage(MailSenderPluginApi.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
I have java in the path;
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~1\java\jre6\bin;C:\PROGRA~1\java\jre6\lib;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~2\java\jre6\bin;C:\Program
Files (x86)\Java\jre6\bin;C:\Program Files
(x86)\Java\jre6\lib;C:\webroot\MySQLServer5.1\bin;C:\Program Files
(x86)\Java\jre6\bin\client;C:\Program Files (x86)\Java\jre6\bin;
Server Information Tomcat Version JVM Version JVM Vendor OS Name OS Version
OS Architecture
Apache Tomcat/6.0.20 1.6.0_17-b04 Sun Microsystems Inc. Windows Server 2008
R2 6.1 x86
Processors: 2
Processor speed: 2.3 GHz
Processor type: Intel(R) Xeon(R) CPU E5530
Physical memory: 2000 MB
Video driver: Microsoft Virtual Machine Bus Video Device
Kernel version: Windows Server 2008 R2 Enterprise, Multiprocessor Free
Product type: Advanced Server
Product version: 6.1
Service pack: 0
Kernel build number:7600
I will be glad to find any error, or try any suggestions. I have logging
on, and I did try debugging once also. What other information would be
helpful?
John Carter
Can somebody provide code snippet
how to got associated class name for documents in space
which have added custom objects?
e.g. this simply list different objects in space
{{velocity}}
#set($hql = "where doc.space='Custom' order by doc.name asc")
#set($results = $xwiki.searchDocuments($hql, 0, 0))
#foreach ($item in $results)
* [[$item]]
#end
{{/velocity}}
and I'd like to get class names for different types of listed
docs/objects
Thanks in advance,
Valdis
Hi all,
I've done some tests on the meeting manager using the todays builds (there is now XEM RC2).
The meeting manager application doesn't allow to save notes, to create new meetings.
- Organize a meeting doesn't show anything
- Edit the report, edit the tasks opens the inline editor - however no save / save and close shows any result.
... even it is not my main issue, I am not using the meeting manager yet (the task manager works fine)
Kind regards
mb
Hi all,
I am running the actual XEM snapshot (159) and tested some of the previous ones.
I am facing some (major) problems:
- The first line (the top menu line) shows the error message "Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Failed to evaluate content with id []<http://test01.myhost:8080/xwiki/bin/view/Main/>" Refreshing the page shows the menu line.
- The editor offers the xwiki 1.0 syntax only.
- The group editor doesn't show the added member / subgroup - even it has been added.
- Some generated links of the sub wiki pages are pointing to the main wiki.
Version 2.1.1 works fine.
Thanks
mb
Hello all,
I'm using the code macro as follows:
This statement, {{code language="c++"}}int number = 0;{{/code}}, is some example C++ code illustrating inline use of the code macro.
There are a couple of issues:
1.) This sentence renders with an extra newline after the code macro. However, when language="none" or no language attribute is used, no newline is inserted. Is this a bug and, if not, is there any way around it?
2.) The code macro when using language="c++" does not use a monospace font in some places, and this causes problems with alignment.
Any help is greatly appreciated. Don't worry, I do plan to contribute back to this wonderful project once I clear my plate a bit. :-)
Thanks,
Joshua
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.2 RC 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This release is mostly a bugfix and stabilization release.
Main changes from XWiki Enterprise 2.2 Release Candidate 1:
* Several bugfixes on WYSIWYG and rendering
* Several bugfixes on references refactoring
* Use current database instead of current document database in
Current*ReferenceResolver
* New user profile pages are created in XWiki Syntax 2.0
* New zh_TW translation
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise22RC2
Thanks
-The XWiki dev team
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.1.2
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Important bug fixes since 2.1.1:
* XWIKI-4712 : Account Validation always fails
* XWIKI-4615 : HTML export does not support Colibri skin
* XWIKI-4695 : [regression] Private RSS feeds with Basic
authentication does not work in some RSS clients
* XWIKI-4708 : Double URL decoding of the document name
* XWIKI-4709 : After editing a blog post and clicking "Preview" and
"Back to edit" you are taken to page editing instead of blog post
editing
* XWIKI-4717 : Empty table cells not parsed correctly
* XWIKI-4670 : WYSIWIG editor in Xwiki is slow under IE7
* XWIKI-4782 : Including a sheet in 2.0 syntax from a page in 1.0
syntax fails to display properly
* XWIKI-4866 : Wrong skins/resources URLs generated on path based subwiki
* XWIKI-4822 : Using XML symbols (<, >, &) inside the user's name
breaks various parts of the UI and causes the PDF export to throw
exceptions
* XWIKI-4665 : Pressing Meta+G (Jump to page) in the WYSIWYG editor
displays the popup inside the rich text area
* XWIKI-4871 : Message macro does not support non inline content
WYSIWYG:
* XWIKI-4733 : Link is duplicated after being edited
* XWIKI-4734 : Link changes style after being edited
* XWIKI-4777 : Page titles are not interpreted when displayed in the
Link dialog
* XWIKI-4197 : No default font name and font size in IE 6&7
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise212http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM212
Thanks
-The XWiki dev team
Greetings Folks,
I have setup XEM with application etc to deploy multiple wiki's and it is working a treat. Only one problem though. Most of our wiki instances are for private access only.
So under RIGHTS I have checked "Prevent unregistered users from viewing pages, regardless of the page or space rights" which works exactly how I would expect it too except for one thing, the style does not cary from the wiki onto the login page.
I am only new to the xwiki world, if somebody could point me in the right direction (documentation etc) that would be great.
Thanks
Ben
As title. Today, the page
http://www.xwiki.org/xwiki/bin/view/XWiki/ResetPassword
is not available, because of the permissions.
Error: This page requires programming rights to work, which currently isn't
the case. Please notify an administrator of this problem and try again later.
If this is intentional (which I doubt), shouldn't there at least be an
explanation on that page?
Kind regards, Joel
Hi,
could we use the logo of xwiki, modify it, then include it in our project logo?
Thanks,Allen
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
Hello,
I love yUML idea.
I start to used within yUML macro and I just failed on a bug:
In a page I put 2 UML diagrams, one use case diagram and one class diagram.
For class diagram I don't set type parameter as is it class by default.
I start to write class diagram: it is correctly generated
Then I add before shit class diagram a use case diagram: it is also
correctly generated.
But following class diagram becomes use case diagram
The work around was to add type parameter on my class diagram.
Regards,
Arnaud.
Hello,
I have a question regarding Tomcat and IIS. This has nothing to do with xwiki, but I thought I would ask. I'm getting a 401 error in IIS when trying to access XWiki. I setup IIS with the ISAPI_redirect.dll for tomcat. The "examples" directory works but "/xwiki" does not. It gives me this unauthorized access error.
Any ideas? IIS is on anonymous access.
Jared Parrish
Network Administrator
Travelhost, Inc.
972-556-0541 ext 152
I have an XEM 2.1.1 installation with two XE instances. Whenever I log into
either wiki instances and edit a page, I receive 403 forbidden for any URL
with "/xwiki/bin". Below are some of the URLs requested but fobidden.
/xwiki/bin/skin/resources/js/xwiki/widgets/modalPopup.css
/xwiki/bin/skin/resources/js/xwiki/widgets/jumpToPage.css
/xwiki/bin/skin/resources/uicomponents/widgets/confirmationBox.css
/xwiki/bin/skin/resources/uicomponents/widgets/notification.css
/xwiki/bin/skin/resources/js/xwiki/actionbuttons/actionButtons.js
This only occurs when the user account is created/registered in one of the
wiki instances. The user account used to administer the XEM instance is not
forbidden. I assume it has to do with the rights.
Thank you in advance and please let me know if you need any more
information.
Jared
I'd like to show different links in panel depending on Xwiki user's
Company field.
Following code does this
#set($myCompany='')
#set($obj=$xcontext.getUser())
#set($objdoc = $xwiki.getDocument($obj))
#set($myCompany = $objdoc.company)
$myCompany
Though when wiki document is opened in inline editing mode,
variable is shown in input text field.
To test this, put code in document then open it in inline mode.
This seems related to standard xwiki behavior.
How it could be solved in different way?
Valdis
Hi,
I was wondering if xwiki had right-to-left (for languages like arabic)
support, and if not, where it was on the roadmap.
I've search around, only found a reference to a jira ticket that doesn't
seem to exist anymore..
Thanks,
Patrick
Hello,
I have added the blog catagories widgit on the sidebar of my site. When I click on one of the blog catagories as an administrator, I can see the list perfectly fine.
However, If I try as an unregistered user, I get the following error. I have given unregistered users permissions to view Blog.CatagorySheet. Almost seems like there is an error parsing the permissions.
Any help would be greatly appreciated.
Thanks,
org.xwiki.rendering.macro.MacroExecutionException: Failed to get content for Document [CategorySheet]
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:143)
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:49)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:120)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5696)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5671)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:569)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:583)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:123)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1949)
at com.xpn.xwiki.util.Util.getWeb(Util.java:231)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.isSuperUser(XWikiRightServiceImpl.java:869)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:626)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:308)
at com.xpn.xwiki.doc.DefaultDocumentAccessBridge.hasRight(DefaultDocumentAccessBridge.java:571)
at com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isDocumentViewable(DefaultDocumentAccessBridge.java:491)
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:135)
... 89 more
_________________________________________________________________
Check your Hotmail from your phone.
http://go.microsoft.com/?linkid=9708121
Hello list,
I thought I'd report the few issues I met with 2.2m2 which seems to be
otherwise very nice to run.
If you create a new document by triggering edit then try to switch to
source... It does nothing and shows the following in the server console:
> SEVERE: gwtrpc: IncompatibleRemoteServiceException in the
> processCall(String) method.
> com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
> Parameter 0 of is of an unknown type 'java.lang.String/2004016611'
> at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:
> 277)
> at
> com
> .xpn
> .xwiki
> .wysiwyg
> .server
> .XWikiRemoteServiceServlet
> .processCall(XWikiRemoteServiceServlet.java:52)
> at
> com
> .google
> .gwt
> .user
> .server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 637)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 717)
> at
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 290)
> at
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com
> .xpn
> .xwiki
> .wysiwyg
> .server
> .filter
> .XWikiContextInitializationFilter
> .doFilter(XWikiContextInitializationFilter.java:87)
> at
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
> at
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:
> 118)
> at
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
> at
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com
> .xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
> 68)
> at
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
> at
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com
> .xpn
> .xwiki
> .web
> .SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:
> 295)
> at
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
> at
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com
> .xpn
> .xwiki
> .web
> .SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
> 112)
> at
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
> at
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org
> .apache
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 233)
> at
> org
> .apache
> .catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 191)
> at
> org
> .apache
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org
> .apache
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 567)
> at
> org
> .apache
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 109)
> at
> org
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 293)
> at
> org
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 849)
> at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint
> $Worker.run(JIoEndpoint.java:454)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException: java.lang.String/
> 2004016611
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at
> com
> .google.gwt.user.server.rpc.RPC.getClassFromSerializedName(RPC.java:
> 657)
> at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:
> 274)
> ... 32 more
>
I get the same exception anytime I try to edit in Safari
(the above one was in Camino)
paul
1) Is there a way to search/create objects using XMLRPC? I can get and update pages and attachments, but I want to be able to create or query objects of classes that I have created. I'm using perl if anyone has code samples. I saw there is a search function on the confluence API but I couldn't get the syntax correct and it wasn't clear if it can access objects: http://confluence.atlassian.com/display/CONFDEV/Remote+API+Specification#Re…
2) Is there a way to remotely access a sql 2005 database from an xwiki script? A groovy wrapper for java jdbc or something. I want to query the database and put the results in a livetable, but the db lives on a completely separate server.
Thanks!
-Mike
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/
See attached. A user is receiving this error every time they are pasting text. Any ideas?
Jared Parrish
Network Administrator
Travelhost, Inc.
972-556-0541 ext 152
See attached. A user is receiving this error every time they are pasting text. Any ideas?
Jared Parrish
Network Administrator
Travelhost, Inc.
972-556-0541 ext 152
For Xwiki custom objects there is no need to add XWiki.TagClass object
for wiki document.
How easy it could be adjusted to not add XWiki.TagClass object for these
documents,
or it isn't worth to investigate/do that?
Valdis
Hello all,
I saw in the xwiki.org documentation that to have auto numbered sections, i have to modify xwikivars.vm.
Is there a way to do the same but from the browser by editing the skin for example ?
Else do i have to add this code in each document ?
#set ($context.tocNumbered = true)
#set ($context.tocData = $tdoc.getTOC(2, 6, true))
Regards,
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello everyone,
I've been facing issues importing .xar packages into the new XWiki 2.2 rc 1.
The original XWiki was XWiki 2.1.1 stable. The upgrade to XWiki 2.2 rc 1
went fine.
However, when I import, all the .xar files attached to the import page
disappear.
Refresh, log out & log in does not help at all.
Only, a tomcat restart helps in getting back the "Available Packages" list
on the import page.
Then the import works just fine.
Has this been reported already.Thank you all.
I'm investigating issue http://jira.xwiki.org/jira/browse/XWIKI-4724
Now I can generate right PDF using separate FOP with additional
configuration files and invocation parameters.
Though I don't know, how to invoke it in such way from Xwiki.
Do you have any suggestions/ideas?
Valdis
For custom application I need to add more properties
for ../xwiki/bin/edit/XWiki/XWikiUsers?editor=class
Is it acceptable/recommended way or other (more complicated?) approach
would be better?
Do you have any experience?
Thanks in advance,
Valdis
I noticed that if I create a new blog entry with the same title as an
existing entry in that same category the old one will be wiped out. Is this
expected behavior or a bug? Using xwiki 2.04.
daniel
--
View this message in context: http://n2.nabble.com/New-blog-entry-overwrites-old-tp4475221p4475221.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Has anyone used this extension? If so, how do you implement it. There is no
documentation on how to implement this extension and I would like to try it
out.
--
View this message in context: http://n2.nabble.com/JSPwiki-2-Xwiki-extension-tp4514844p4514844.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
After migrating our XWiki from 1.8.3 --> 2.1.1 we notices that the "Jump
to page"-feature is only working with pages made with the old xwiki/1.0
syntax.
When I create a new page with syntax to 2.0, the "Jump to Page" is not
displayed anymore in the Quick Links panel.
As soon as I change the page syntax back to 1.0, the "Jump to page" is
displayed again.
It should work also with xwiki/2.0 syntax, shouldn't it?
I don't know if this is from importance but we use a fully customized
skin based on toucan. So maybe we have missed something in the migration.
Any help or hint is very much appreciated.
Thanks.
Reto
If I embed a nabble forum in the xwiki....
The users registered in xwiki, do they have automatic access to the nabble forum,
I do not want anonymous forum members, but rather a 0ne:One relationship and preferably single signon
Hi,
I'm trying to use the panelheader() and panelfooter() macros inside my htmlheader.vm file however the boxes that get displayed do not have the skin's colour scheme applied to them. They appear correctly but in plain white instead of the blue tint that has been setup for the toucan skin.
I have dug through the panel application and through the css files however I haven't been able to find what tints the panel backgrounds.
Can anyone point me in the right direction on either how to apply the blue tint to the background or what files to look at?
Thanks,
Radek
Hi all,
I use method parseGroovyFromPage() to instantiate an object from a Groovy
class stored in a page.
It works well, but now I would like to forbid multiple executions of this
class. To do so, I changed it to be a singleton, setting the constructor as
private.
Of course, now, parseGroovyFromPage() returns that the object can't be
instantiated ... As the call to the constructor is inside this method, I
can't change it to just call getInstance().
Are there any workarounds, or other ways to achieve this ?
Thanks,
Jeremie
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.2 Release Candidate 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first and hopefully last release candidate for the 2.2
version. This release is mostly a bugfix and stabilization release.
Changes from XWiki Enterprise 2.2 Milestone 2:
* Bug fixes and improvements on new XAR Import UI and User Profile UI
* UI improvements on tag applications
* WYSIWYG and Rendering bugfixes and improvements
* Fixed files handlers leak on Lucne plugin
* Many other bugfixes and improvements
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise22RC1
Thanks
-The XWiki dev team
Hi,
I'd like to know if there is a way to delete a document (in velocity or
groovy) without putting in in recycle bin ? (equivalent of "shift-delete").
I have to regularly delete (for tests) documents with heavy attachments, and
it's quite long ... And I don't care about retrieving them later.
Thanks,
Jeremie
Hi All
I am trying to set up XE to use an Oracle 10 XE database using a
Tomcat but I seem to be missing some important point I downloaded the
war file to set it up followed the instructions in the setup pages,
have had issues with getting it to parse files and have now got to
here where I seem to be connecting to my database but not getting it
to function
I am an Oracle DBA and do work with Oracle Middleware, so am familiar
with much of the concepts, not so much with Hibernate and Tomcat
This is the error I am seeing
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter
Server details are
Centos 5.4 32bit
Apache Tomcat/5.5.23
Oracle 10 database
Xe xwiki-core-2.1.1.jar
OpenJDK Runtime Environment (build 1.6.0-b09)
I have a IBM Java 1.6 jre installed that I could use, should I use
that instead or will this work with OpenJDK
Any help appreciated
Hibernate.cfg.xml
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Please refer to the installation guide on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some
shared lib directory
2) Uncomment the properties below for your specific DB (and
comment the default
database configuration if it doesn't match your DB)
-->
<!-- Generic parameters common to all Databases -->
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Oracle configuration.
Uncomment if you want to use Oracle and comment out other
database configurations.
Note: the 2 properties named
"hibernate.connection.SetBigStringTryClob" and
"hibernate.jdbc.batch_size". They are required to tell
Oracle to allow CLOBs larger than
32K. -->
<property
name="connection.url">jdbc:oracle:thin:@websrv01:1521:XE</property>
<property name="connection.username">SomeUser</property>
<property name="connection.password">SomePassword</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
</session-factory>
</hibernate-configuration>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Hi,
I'm using XWiki Enterprise 2.1.1 which is fully configured in UTF-8. I
noticed that when creating a page from an Office presentation, the
resulting page incorrectly displays the accented characters in the
french version of the presentation's navigation bar.
The main page has a correct content type with a UTF-8 charset but the
Iframe displaying the preso
(/xwiki/bin/download/SPACE/PAGE/presentation.zip/output.html) has an
incorrect charset of ISO-8859-1 even though the content of output.html
is in UTF-8.
Is this a known issue? Any way to correct it?
Mathias.
All,
Is there a way to hide content by group within XWiki? For example, if I
wanted a panel to show a link that only group "foo" has access to, how
could I make it so only users with group "foo" see the link in the panel
(because only group "foo" has access to the page/space that the link
ponits to)?
Rick