All,
I have a few questions concerning the readiness of xwiki for production:
- how 'production-ready' is xwiki in the actual version?
- are there any known issues which can affect the production (load,
leaks, ...)?
- there are links which generates a stack trace (e.g.
http://www.xwiki.org/xwiki/bin/view/Mai ) . Is there a way to define a
general error page so that any stack trace is caught by this page (and
can be hidden)?
Thanks
Yves
Hi all,
I know that this question is not a functionality question, but it affects
directly the usability of Xwiki, especially to convince non-programmers to
use wiki. Then, here it goes:
Using the xwiki syntax to build tables, I find the resulting code a little
unreadable once it is not allowed to insert line breaks.
I tried to insert HTML comments to solve the problem, but it did not work.
I put the code just below to illustrate my point. Is there any way for doing
something like the third way?
a) How it is:
{table}
Header 1|Header 2
A value|A Value
A value|A Value
A value|A Value
{table}
b) the way I tried:
{table}
Header 1|Header 2
A value|A Value
<!-- cleanning the code -->
A value|A Value
<!-- cleanning the code -->
A value|A Value
{table}
c) how I would like to see:
{table}
Header 1|Header 2
A value|A Value
A value|A Value
A value|A Value
{table}
Rodrigo Paes
PHD Student - Computer Science - PUC-Rio - <mailto:rbp@les.inf.puc-rio.br>
rbp(a)les.inf.puc-rio.br
Messenger - <mailto:r0drigopaes@hotmail.com> r0drigopaes(a)hotmail.com
Web-page: <http://www.teccomm.les.inf.puc-rio.br/rodrigo/>
http://www.teccomm.les.inf.puc-rio.br/rodrigo/
"Só existem duas certezas na vida: a morte e os impostos"
I've noticed that activating the always authenticate on viewing feature in the
XWiki preferences prevents unregistered users from accessing all pages,
including the registration page. Is there a way to hide content from uregistered
users and allow new users to register?
Thanks
- Mark Lichman
I performed a raw install: installed xwiki version 0.9.840 fresh on a Fedora Core Linux box with mySQL 4.0.26 and Tomcat 5.02. After I finally figured out how to install mySQL everything went smoothly. My wiki is up and running, and I started using it and building pages.
But I noticed that everything I was doing is as the user: XWikiGuest. I want to create user accounts, and disable editing for anonymous guests. So, I click on "register" it takes me to a completely blank page. Just exactly like the blank pages you have when you've got a page and haven't put anything on it yet. So, I click on "edit this page" and it looks exactly like I'm editing a normal page - in fact it lets me edit the page. But no way to register new users.
So, I go to the user's page: xwiki/bin/view/XWiki/XWikiUsers and it is completely blank too. Exactly like the above, I can edit it and do what I want on it, but no user stuff. So, I go back to my main page and click on "log in" and I try out the Admin password that is advertised on the support site user: "Admin" password: "admin" - and no dice. It grinds away for 1 split second and gives me back my log-in screen with the words I just typed in missing. No errors, nothing about bad passwords, nothing.
I looked all over the documentation and couldn't find anything helpful.
Ever seen this problem before? Is there something somewhere on the documentation site that I could paste into those two pages, using "edit page" to make them work?
Thanks
Kevin Miller
Please pardon me for asking, but I couldn't find a good answer for this in
the archive or in the FAQ.
On Main.WebHome and on just about every other page I get the nice left0side
menu. When I click on the various categories on the left, such as News or
Personal, it takes me to a page which shows the recent extracts for that
category, and the page title for all of these pages is Blog.Category.
Unfortunately, the left-sde menu is missing from all Blog.Category page
instances. How can I add it back in?
Also, is there any way to list all the links that have been created but do
not yet have their own pages? I will often just put brackets around
something with the intention of getting back to it later, but sometimes I
forget where they were. On the same note, is there any way to get a list of
all pages that have been created?
Thanks in advance!
Randy
Hi all,
Using XWiki 0.9.840 I get systematically the error below when trying to
export any document to PDF. Do you have any idea about it? I tried both
UTF-8 and ISO-8859-1 encodings and I got the same result. The XML
conversion works fine.
Stéphane
================================
com.xpn.xwiki.XWikiException: Error number 12003 in 12: XSL
Transformation Failed
Wrapped Exception: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
at com.xpn.xwiki.pdf.impl.PdfExportImpl.applyXsl(PdfExportImpl.java:176)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.convertXHtmlToXMLFO(PdfExportImpl.java:154)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:86)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:115)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:129)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportToPDF(PdfExportImpl.java:119)
at com.xpn.xwiki.XWikiService.renderPDF(XWikiService.java:969)
================================
--
Stéphane Laurière
slauriere(a)mandriva.com
Hi.
I've tried to create a blog exactly as described in tutorial, but I get
an error just after first step i.e. after 'save' or even 'preview' of
Test.BlogMacro page containing
#set($page = Blog.WebHome)
#includeForm("Test.BlogMacro")
The error is
Error number 4001 in 4: Error while parsing velocity page Test.BlogMacro
Wrapped Exception: Encountered "Blog" at line 1, column 14. Was
expecting one of: "[" ? "(" ? ? "true" ? "false" ? ? ? "{" ? "!" ?
Do you have any suggestions? Where to begin to look?
I'm using xwiki version 0.9.793.
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi,
I try to display a document inlined of another one:
snippet from my CountryClassSheet:
<table border="1" cellspacing="0" cellpadding="2">
#foreach($prop in $class.properties)
<tr>
<td> *${prop.prettyName}* </td>
#if ($prop.name == "region")
<td>
#includeTopic("YlaTst.Sicilia")
</td>
#else
<td>$doc.display($prop.getName())</td>
#end
</tr>
#end
The problem is that the including document itself is included instead
of the YlaTst.Sicilia document ! It's inlined only once without
recursion.
What's wrong here?
Yves
Hi,
I have a class with a database list property which should give the
possibility to make a relation to another document. To achieve this I
put following hibernate query string to the property definition:
select obj.name from BaseObject as obj where
obj.className='MyApp.MyClass'
Now when I create a new object I can edit all other fields except the
one with the database list. Is there any problem with my hibernate
query? Btw, I found the query string in the Demo.RelationalFormDemo
class on the xwiki site. Additional question: what it the BaseObject
table? Is it changing depending on the context?
Thanks
Yves
Excellent, thanks!
Now, if there is just a way to add a toc, at least at the section level this
will be quite an acceptible work around.
- Mark
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Thursday, September 22, 2005 2:16 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] replicate sectional editing behavior
Lichman, Mark Eugene wrote:
> Ok, I've gotten the first part (including all children in a page) with the
> following:
>
> #set($sql = "where doc.parent = '${doc.web}.${doc.name}'")
> #foreach($item in $xwiki.searchDocuments($sql))
> #includeTopic($item)
> #end
>
> Not sure how to do the rest.
>
>
To add a link:
#set($sql = "where doc.parent = '$doc.fullName'")
#foreach($item in $xwiki.searchDocuments($sql))
#set($itemdoc = $xwiki.getDocument($item))
<a href="$itemdoc.getURL("edit")">edit this section</a>
#includeTopic($item)
#end
To add a form field to create a new section.. Another solution could be
to automatically name pages using a counter and use the parent page name..
<form action="">
<input type="hidden" name="parent" value="$doc.fullName" />
Add a section: <input type="text" name="name" value="new section name" />
<input type="button" value="Go"
onclick='action="../../edit/${doc.web}/" + this.form.name.value;
this.form.submit();' />
</form>
Ludovic
> - Mark
>
>
> -----Original Message-----
> From: Lichman, Mark Eugene
> Sent: Thursday, September 22, 2005 12:28 PM
> To: xwiki-users(a)objectweb.org
> Subject: [xwiki-users] replicate sectional editing behavior
>
>
> I'd like to replicate sectional editing behavior. I think a possible way to do
> this is:
>
> 1. create a parent page and include all child pages,
> 2. for each child include a link to the edit page
> 3. add a class at the bottom of the parent page to create a new section, maybe
> automatically creating the link to the new sections edit page
>
> Is this possible? Could someon help me figure out how to do this, i.e. how to
> include all child page in a parent and create the necessaryv class.
>
> Thanks Much,
>
> - Mark Lichman
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Ok, I've gotten the first part (including all children in a page) with the
following:
#set($sql = "where doc.parent = '${doc.web}.${doc.name}'")
#foreach($item in $xwiki.searchDocuments($sql))
#includeTopic($item)
#end
Not sure how to do the rest.
- Mark
-----Original Message-----
From: Lichman, Mark Eugene
Sent: Thursday, September 22, 2005 12:28 PM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] replicate sectional editing behavior
I'd like to replicate sectional editing behavior. I think a possible way to do
this is:
1. create a parent page and include all child pages,
2. for each child include a link to the edit page
3. add a class at the bottom of the parent page to create a new section, maybe
automatically creating the link to the new sections edit page
Is this possible? Could someon help me figure out how to do this, i.e. how to
include all child page in a parent and create the necessaryv class.
Thanks Much,
- Mark Lichman
Can someone explain how to change the xwiki logo in the upper left
corner of the pages so that all of them will be changed? I also want to
remove that gradient blue bar out of there so I can just put my company
logo on it and not worry about it looking funky. Is it really as
difficult as the howto on the xwiki.org site suggests or has someone
developed a quick and dirty howto on this? I am new at CSS and
inevitably will break something if I go messing with the skins.
Peace be with all of you,
Tim Suter
Is it possible to have different permissions on a object Vs the page
the object lives on?
For example, if I have an instance of a custom class attached to a
page, can I allow users to edit the page, but prevent them from
editing (or even viewing) the object?
Matt
Hi there,
I think this is a way. For example I can limit the display to 5 by
"count=5". How can I set it to include description? "full=true"
doesn't seem to work.
Thanks in advance.
Howard
I'd like to replicate sectional editing behavior. I think a possible way to do
this is:
1. create a parent page and include all child pages,
2. for each child include a link to the edit page
3. add a class at the bottom of the parent page to create a new section, maybe
automatically creating the link to the new sections edit page
Is this possible? Could someon help me figure out how to do this, i.e. how to
include all child page in a parent and create the necessaryv class.
Thanks Much,
- Mark Lichman
Also, this file has some of the different interface items labeled
http://pause-java.com/xwiki/doc/doc-xwiki.jpg
Even if you don't know css, all that's needed to change the color at least is
the line background-colo: #(6 digit html color code, check the net to see color
codes)
- Mark Lichman
-----Original Message-----
From: kenk(a)ucar.edu [mailto:kenk@ucar.edu]
Sent: Thursday, September 22, 2005 11:53 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Re: Xwiki Logo
> Can someone explain how to change the xwiki logo in the upper left
> corner of the pages so that all of them will be changed?
go to this page:
http://<yourdomain.com>/xwiki/bin/view/XWiki/MySkin
and look at the attachments, you see the graphic. And on 'Edit this skin'
you'll see the style.css for logo and other things. Maybe that border too, but
I don't know css either.
To modify the logo
- Make your new logo (the default logo size is 150x40)
- Drop the file into ../xwiki/skins/default
- modify the last line of style.css file to have your logo filename
To modify the background color of the heading bar (make it white say)
- in xwiki.css add the folowing line to the #banner
background-color:#ffffff;
if you want to change the height of the top heading/banner/logo
- in xwiki.css modify #banner height for the desired pixel height
easiest way to ensure consistent display of the logo if you want to change the
logo size is
- modify the following line in header.vm
<img src="$logourl" alt="XWiki" width="150" height="40"/>
to have the proper width and height of your logo. Make sure that the height is
no bigger than the banner height in xwiki.css
- Mark Lichman
Note: if your logo width is smaller than the default, you will likely have a
tiled logo display unless you remove background doubling. Cheap way to solve
this for all browsers is to shrink the logo size in header.vm
-----Original Message-----
From: Tim Suter [mailto:tsuter@cait.org]
Sent: Thursday, September 22, 2005 11:34 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Xwiki Logo
Can someone explain how to change the xwiki logo in the upper left
corner of the pages so that all of them will be changed? I also want to
remove that gradient blue bar out of there so I can just put my company
logo on it and not worry about it looking funky. Is it really as
difficult as the howto on the xwiki.org site suggests or has someone
developed a quick and dirty howto on this? I am new at CSS and
inevitably will break something if I go messing with the skins.
Peace be with all of you,
Tim Suter
Hi
I'm looking for a way to define some kind of associations between
classes. Let me explain by an example what I mean exactly:
I want to collect structured data for countries and its regions. To
achieve this I define to classes, CountryClass and a RegionClass (incl.
the sheets and templates). Now the user should be able to create new
country objects _and_ he should have the possibility (in the form
itself) to define which regions belong to a country.
I tried to achieve this by adding a database list property to the
country class with an appropriate hibernate query which selects all
region documents. This let the user select one or more regions for a
country. This is fine so far but
- Is there any more general or a better way to achieve this associations
(e.g. without hibernate queries)?
- How can I adapt my ClassSheet so that the selected region associations
are hyperlinked to the appropriate region objects?
Thanks
Yves
I am trying to enable LDAP authentication against an OpenLDAP server and
need some advice on how to get this up and running. Can someone help me
out?
Heres the content of the authentication portion of my xwiki.cfg file in
following the configuration instructions here:
http://www.xwiki.org/xwiki/bin/view/Dev/LDAPIntegrationAD
You will note that I have asked some questions throughout the file.
xwiki.authentication=form
xwiki.authentication.validationKey=totototototototototototototototo
xwiki.authentication.encryptionKey=titititititititititititititititi
xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
xwiki.authentication.useip=false
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=ldap.cait.org
xwiki.authentication.ldap.port=389
#xwiki.authentication.ldap.check_level= <? Wasn't sure of what this
should be. Need more info on what this is and does.>
xwiki.authentication.ldap.base_DN=ou=People,o=cait.org
#xwiki.authentication.ldap.bind_DN= <blank for anonymous access What's
the proper way to indicate 'blank'?>
#xwiki.authentication.ldap.bind_pass= <blank for anonymous access>
#xwiki.authentication.ldap.UID_attr=uid
The ones I have commented out are also commented out currently in the
config file. Should I comment some out or change others?
Tim
This time I deleted something in the database to get rid of my rogue page (see
previous threads). Since then the attachments made with the form
{attach:file.ext} do not work. Instead of making the link it just shows the
name of the file.
I get this error message in the logs:
23:15:57,855 INFO [Engine] StandardContext[/xwiki] Velocity [error] RHS of
#set statement is null. Context will not be modified. [line 6, column 1]
Where should I look to get the attachment back at work? Do you know?
Thanks.
Marc
I am new to XWiki.
This post is related with my previous one (Cannot recover a page).
I want to remove the attachment which is caused problems. Now I get this
page (displayed with header xwiki this time).
To me it looks like Hibernate does not find it. However, how come is this
attachment listed here then?? How can I remove it?
Thanks.
Marc
---------------
Un problème est apparu en essayant de réaliser cette action. Veuillez
contacter le support si cela se reproduit
Information détaillée:
Error number 3233 in 3: Exception while deleting attachment
Le_reglement_de_la_salle_informatique.png of document Cours.INFO8
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#-1460361804]
com.xpn.xwiki.XWikiException: Error number 3233 in 3: Exception while
deleting attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#-1460361804]
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1647)
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1525)
at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514)
at com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
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:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)