Hi,
Users are pasting HTML generated by various apps into their docs and
then aren't able to render to pdf. I found that attempting to save a
document with the following content to pdf results in a 0 byte file:
<table>
<tr>
<td nowrap></td>
</tr>
</table>
Looking at the log:
org.xml.sax.SAXParseException: Attribute name "nowrap" associated with
an element type "td" must be followed by the ' = ' character.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.applyXsl(PdfExportImpl.java:164)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.convertXHtmlToXMLFO(PdfExportImpl.java:147)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:79)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:108)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:122)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportToPDF(PdfExportImpl.java:112)
at com.xpn.xwiki.XWikiService.renderPDF(XWikiService.java:894)
[...]
I realise that nowrap is not valid xhtml, but I would have thought
that jTidy (which I believe you are using for the html -> xhtml
conversion) would map it to nowrap="nowrap" or style="white-Space:
nowrap;". Apparently not..
Can anyone suggest a workaround?
Regards,
Robin
Hi,
Is anyone comfortably running the email notification plugin?
I'm seing quite a lot of strange behaviour.
For example, if I understand correctly, the plugin is supposed to
programatically create a new class, and add an instance of that class
to the user's page when they first create a subscription.
Looking at the database after subscribing to a page, I can see some
new properties but they don't seem to be associated with any objects
(and they have an ID of 0, which I'm guessing isn't healthy):
select * from xwikiproperties order by abs(XWP_ID) desc;
+-------------+-------------------------------+--------------------------------------------+
| XWP_ID | XWP_NAME | XWP_CLASSTYPE
|
+-------------+-------------------------------+--------------------------------------------+
[...]
| -512550 | groups |
com.xpn.xwiki.objects.StringProperty |
| -512550 | levelsye |
com.xpn.xwiki.objects.StringProperty |
| -512550 | allow |
com.xpn.xwiki.objects.IntegerProperty |
| 0 | subscribedDocuments |
com.xpn.xwiki.objects.DBStringListProperty |
| 0 | subscribedWebs |
com.xpn.xwiki.objects.DBStringListProperty |
| 0 | schedulerName |
com.xpn.xwiki.objects.StringListProperty |
+-------------+-------------------------------+--------------------------------------------+
select XWO_NAME, XWO_ID from xwikiobjects where XWO_ID='0';
Empty set (0.00 sec)
Would we perhaps expect to see something like this if the call to
doc.addobject() is failing somewhere?
After manually adding an instance of the email notification object to
my user page things
seem to be working, so far.
Regards,
Robin
>From: Ludovic Dubost [ mailto:ludovic@xwiki.com
<mailto:ludovic@xwiki.com> ]
>Subject: Re: [xwiki-users] {pre} tags not working
Hi Ludovic,
>Is this in a normal wiki page edit or using forms (in the blog for
example).
>I've never heard anything about {table} turning to HTML. It seems
>similar. I could guess that the editing renders the content before
>puting it in the form. Have you modified the "Edit" template, maybe in
>your skin ?
I may have misunderstood your question. I'm still in the 'beginner'
stages with XWiki and am not the person who originally set it up at our
site, so I'm not familiar with all of the internals.
I have more information on my problem with the {pre} tags.
When we add new pages to our XWiki, we use an entry form on the left
Menu bar. The code for adding the new page is:
<div class="xwikimenulinks">
#includeTopic("XWiki.XWikiCommonJavascript")
<form action="" id="newdoc">
<input type="hidden" name="parent" value="Main.WebHome" />
<input type="hidden" name="template" value="XWiki.ArticleClassTemplate"
/>
<input type="hidden" name="sheet" value="1" />
<input type="hidden" name="webname" value="Main"/>
<input type="hidden" name="name" value=""/>
<input type="text" name="title" value="" size="18"/>
<input type="button" value="Add this item" onclick='if
(updateName(this.form.title,this.form.name)) { action="../../inline/" +
this.form.webname.value + "/" + this.form.name.value;
this.form.submit(); }' />
</form>
</div>
What I learned on Friday, 1/13, is that I can get {pre} to work on new
non-existent pages by doing these steps:
1. create a new XWiki entry using the form above
2. on the new page, place a link to a non-existent XWiki page such as:
[My New Page>Main.MyNewPage]
3. save the new page
4. click on the blue question mark next to "My New Page" to edit the
referenced page
I will get a different edit page, the one with "Basic Syntax" (XWiki
syntax) along the right column. If I enter {pre} tags in this editor,
they seem to work?! I think this may be the difference in the forms
used, and I think this may be the question you originally asked?
John
Hello!
I am trying to use xwiki with the oracle 9i database, but I cannot locate jdbcOraWrapper distribution from http://l3x.net/imwiki/.
Could someone help me?
Thanks in advance.
Hello
I'm using xWiki Version 0.9.840 and try to delete some Blog-Categories.
There is no problem to create and edit the categories. But how do I
delete a Blog-Category?
Thanks
Ralph
Hi,
I have been customizing xWiki for my engineering intranet. I frequently get redirected to the logon page. Sometimes the logon page also returns back to the logon page itself. Ofcourse, I am typing the right user-id and password:)
Following are the errors I am noticing on Tomcat console. Could anybody help me out.
Thanks,
Raghu
19:18:14,420 WARN Thread-4 http://localhost:8080/xwiki/bin/view/Engineering/Web
Home XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie MAZLCA1Z37XSC
8JEXTTZK3WRW0FKPNP3 in session A2420429EAE234F907B95F822D24FA38 for request with
cookie R9YT000PAM4JPSHAALDFZTOFFJYQT3KV
19:18:40,167 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:18:40,187 WARN Thread-4 http://localhost:8080/xwiki/bin/login/XWiki/XWikiLog
in RequestUtils:createActionForm:177 - No FormBeanConfig found under 'loginerror
'
19:18:43,351 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:18:50,051 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:18:52,404 WARN Thread-4 http://localhost:8080/xwiki/bin/login/XWiki/XWikiLog
in RequestUtils:createActionForm:177 - No FormBeanConfig found under 'loginerror
'
19:19:11,722 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'view'
19:19:20,825 WARN Thread-4 http://localhost:8080/xwiki/bin/view/Engineering/Web
Preferences XWikiStatsServiceImpl:addCookie:474 - Setting cookie KWBZFWECBAX1TYV
Y1MFM7BLMQVG533X0 for name visitid with domain null and path / and maxage -17653
8
19:19:20,825 WARN Thread-4 http://localhost:8080/xwiki/bin/view/Engineering/Web
Preferences XWikiStatsServiceImpl:findVisit:314 - Found visit with cookie MAZLCA
1Z37XSC8JEXTTZK3WRW0FKPNP3 in session A2420429EAE234F907B95F822D24FA38 for reque
st with cookie KWBZFWECBAX1TYVY1MFM7BLMQVG533X0
19:20:11,228 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:20:11,228 WARN Thread-4 http://localhost:8080/xwiki/bin/login/XWiki/XWikiLog
in RequestUtils:createActionForm:177 - No FormBeanConfig found under 'loginerror
'
19:20:14,603 WARN Thread-4 RequestUtils:createActionForm:177 - No FormBeanConf
ig found under 'login'
19:20:35,543 WARN Thread-4 http://localhost:8080/xwiki/bin/login/XWiki/XWikiLog
in RequestUtils:createActionForm:177 - No FormBeanConfig found under 'loginerror
'
Suppose I design a skillset application. I create a PersonClass, define its properties, and create Sheet and Template. I also create a SkillClass and do similar things.
I would like to link these two and I have an option of making PersonClass the parent of SkillClass (while creating object/doc of skills).
I could also redesign PersonClassSheet to add a sql to retrieve a person's skills and render them in a table.
My question now is, how to I ensure Person editing page does not include the Skill table?
Should I create a new page (PersonSkill) that includes PersonClassSheet and SQL+Table layout instead of modifying PersonClassSheet?
To take it little further, if I have page with list of Persons, how do I link above new PersonSkill page to corresponding Person entry in the table?
Thanks, Patrick
--
View this message in context: http://www.nabble.com/Forms-t942303.html#a2441887
Sent from the XWiki- Users forum at Nabble.com.
Hello,
I found a strange behaviour. The following scenario: our production xwiki environment runs on jboss 4.0.2/MySQL 4.1. The development environment runs on my PC using jboss 4.0.3SP1/MySQL 5.0. When I create a dump from the database on my PC and restore this dump on the production database, I still don't see the new objects. This only happens when we do a full shutdown/restart of jboss.
We also saw that the memory utilisation of XWiki went up the more pages are viewed. This makes me think there is a caching mechanism in place. That's fine, but can this be overruled? The Jboss production machine runs other applications as well, and I don't want to fully restart the server.
Thanks,
Joep Janssen
Hello everyone.
I am trying to get the xwiki-exo war to run on the eXoPlatform. I am running eXov1.0.1(tomcat5) with xwiki-exo-0.9.840.war.
I have:
- read and followed the xwiki install instructions for eXo.
- deployed xwiki.war into the exoplatform webapps folder.
- made the changes to the xwiki.cfg and hibernate.cfg.xml.
When I start tomcat, the eXoplatform starts up properly and it also loads xWiki portlet. When I try to access the xwiki directly or through the portal I get Hibernate ObjectDoesNotExist exceptions for various xwiki objects.
Does anyone know what version of eXoplatform actually works with xWiki?
I am beggining to beleive that this deployment configuration does not actually work.
Many thanks
Scott.