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