Hi, I'm new at this. I've been trying to figure out a way to write some
example wiki pages that explain the XWiki syntax better to my users.
However, the XWiki engine always seems to want to interpret the markup
rather than showing it as a literal.
For example, if I do:
{code}
1.1 This is how to create a heading
{code}
The "1.1" is not visible on the page, and the heading is rendered fully
styled. This also happens with markup such as "#includeTopic". You can
see an example of the problem here as well:
http://www.xwiki.org/xwiki/bin/view/Main/TuTAddSearch
Is there any way to really make XWiki ignore a block of text?
Thanks in advance,
- Peter Flynn
Hi,
I know how to export a single page but I'd like to know if it's possible to
export a full space or even a full wiki in PDF?
Thanks
-Vincent
___________________________________________________________________________
D�couvrez une nouvelle fa�on d'obtenir des r�ponses � toutes vos questions !
Profitez des connaissances, des opinions et des exp�riences des internautes sur Yahoo! Questions/R�ponses
http://fr.answers.yahoo.com
Sorry to post so soon on same problem, but I haven't solved it yet.
I would like to add users to my wiki who are registered as members of
xwiki.org. The reason for this is to allow them to log in once, and
then be able to edit all the wikis of which they are members, instead
of remembering a new login for each wiki.
I am entering the users in the Group Object as xwiki:XWiki.loginName
where the loginName is the user's login at xwiki.org.
I found the FAQ on creating a new group HowDoICreateNewGroups, and
followed the instructions. I now have a new group, and have
successfully added users to it.
Then I go to the Preferences page, and make a new rights rule that
gives privileges to the new group. For ex. I select the group, select
view/edit and Allow.
This doesn't work. The user cannot log into the wiki. I think the
problem may be the syntax I am using for the user name. Can someone
give me the correct syntax?
Is there some other way to do this?
Finally, perhaps this isn't possible, and I should just make the
users log into more than one wiki?
thanks, --elli
Hello,
I need to automatically set rights for a page with Velocity
I have some ideas on the way to do this : get the list of rights already set
for the page, check/modify them and eventually add more rights entries if
necessary.
The code will be something like :
#set($rightindex=0)
#set($rightsobjectslist=$doc.getObjects("XWiki.XWikiRights"))
#foreach($rightsobject in $rightsobjectslist)
current rights n°$rightindex are : groups=$rightsobject.groups
,users=$rightsobject.users , levels=$rightsobject.levels ,
allow=$rightsobject.allow;
##check if rights_0 exists and modify it
#if ($rightindex==0)
#set($userobject=$xwiki.getDocument("XWiki.aXWikiUser").getObject("XWiki.XWi
kiUsers",0))
#set($rightsobject.users=$userobject.name)
modified users for rights_0 = $rightsobject.users
(...)
#end
##check if rights_1 exists and modify it
#if ($rightindex==1)
(...)
#end
#set($rightindex=$rightindex+1)
#end
#if($rightsobjectslist.size==1)
## create missing rights
#end
$doc.saveDocument()
My problem with this code is that the value of $rightsobject.users doesn't
change ! It is "XWiki.XWikiGuest" before the #set($rightsobject.users=...)
and it still is "XWiki.XWikiGuest" after ( instead of "XWiki.aXWikiUser" )
If somebody can help, it would be nice
Thanks
Yan
Bonjour
j'essaie de lié xwiki à annuaire open ldap, et je rencontre un problème la
requete aboutie bien au serveur ldap mais elle retourne une erreur 5 au niveau
du serveur. Mais aucune sur la page de xwiki.
La documentation xwiki sur ce sujet n'est vraiment pas trés explicite je me pose
un question a quoi coreespond le parâmètre
xwiki.authentication.ldap.fields_mapping
Ma conf ressemble a ça
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication=form
xwiki.authentication.validationKey=totototototototototototototototo
xwiki.authentication.encryptionKey=titititititititititititititititi
xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
xwiki.authentication.useip=true
xwiki.authentication.ldap.server=intran0x.frec.bull.fr
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=o=yyy,c=sss
xwiki.authentication.ldap.bind_DN=cn=xxxx,o=yyyy,c=sss
xwiki.authentication.ldap.bind_pass=pouet
xwiki.authentication.ldap.UID_attr=uid
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=cn,ldap_dn=dn
y a t'il quelque choses que j'ai oublié, ou en trop sachant que l'erreur que me
renvoie le serveur et une erreur 5?
Une autre question y a t'il un moyen que xwiki me retourne des erreurs par
explemple errur d'authntification, ou d'avoir une debugage pour ldap?
Y t'il d'autre documentation sur ldap?
Merci d'avance
Pascal
Hi,
I'd like to know if there is a well documented command to backup a
XWiki avoiding to work directly with database commands :-)
Maybe a Maven2 plugin ? ;-)
Xavier
--
Email: xavier(a)warzee.fr
Blog: http://warzee.fr
Hi,
I have used the xwiki-db-0.9.2-pgsql.sql(from xwiki site) for my
postgresql database in xwiki-0.9.841(in Java 1.4.2/Tomcat 5.0.28)
successfully.
Recently I upgraded to the latest source code (now I am using Java 1.5_6
and Tomcat 5.5.16) but I started to have the following errors when I
access xwiki. I am still using the previous xwiki db I created:
java.sql.SQLException: ERROR: column xwikidocum0_.xwd_title does not exist
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
ecutorImpl.java:1365)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
Impl.java:1160)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
va:172)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:387)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
Jdbc2Statement.java:328)
My question is: are there any db schema changes since 0.9.481 and where
can I find a new db schema?
thanks
-Jimmy
Dear all,
I tried to used Jabber macro on my server like this :
#jabber("moghrabi(a)jabber.objectweb.org")
It seems not working on the ObjectWeb server.
We use Wildfire 2.6.
do you know why ?
Regards
--
Xavier MOGHRABI - Consortium ObjectWeb
Jabber: moghrabi(a)jabber.objectweb.org
Phone: +33 4 76 61 52 35
Hi, I've been asking too much questions today, but I ran into the wysiwyg
bug and everything is nuts in my wiki.
1. I can't edit the categories in my blog. I click on edit categories, but
all I get is a blank box. I also can't delete the blank boxes I have added.
2. I want to change the color blue, for color green on the title 1 of the
wiki, can this be done. I have clicked on the new skins link, but it seems
the page doesn't exist.
Thanks,
O.
Hi, i was trying to edit my menu and I have made a mistake somewhere cause I
got this in the sidebar...
Error number 4001 in 4: Error while parsing velocity page
Main.WebHomeWrapped Exception: Encountered "0" at line 5, column 53.
Was expecting one
of: "," … ")" … <WHITESPACE> ...
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page Main.WebHome Wrapped Exception: Encountered "0" at line 5,
column 53. Was expecting one of: "," … ")" … <WHITESPACE> ...
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:152) at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(
XWikiRenderingEngine.java:204) at com.xpn.xwiki.XWiki.include(XWiki.java:2181)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:541) at
sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(
Method.java:585) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(
UberspectImpl.java:267) at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(
ASTReference.java:175) at
org.apache.velocity.runtime.parser.node.ASTReference.render(
ASTReference.java:220) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
ASTIfStatement.java:70) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
ASTIfStatement.java:89) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:244) at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:146) at com.xpn.xwiki.XWiki.parseTemplate(
XWiki.java:985) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:98) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148) at
org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:421) at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) 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:252) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173) at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java:127) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173) at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213) at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:876) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.apache.velocity.exception.ParseErrorException: Encountered "0" at line
5, column 53. Was expecting one of: "," … ")" … <WHITESPACE> ...
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:214) at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:146) at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(
XWikiRenderingEngine.java:204) at com.xpn.xwiki.XWiki.include(XWiki.java:2181)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:541) at
sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(
Method.java:585) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(
UberspectImpl.java:267) at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(
ASTReference.java:175) at
org.apache.velocity.runtime.parser.node.ASTReference.render(
ASTReference.java:220) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
ASTIfStatement.java:70) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(
ASTIfStatement.java:89) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:244) at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(
XWikiVelocityRenderer.java:146) at com.xpn.xwiki.XWiki.parseTemplate(
XWiki.java:985) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:98) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148) at
org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:421) at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) 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:252) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173) at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java:127) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173) at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213) at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:876) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684) at java.lang.Thread.run(
WHAT IS THIS, CAN YOU GUYS PLEASE HELP ME FIX IT?
THANKS.