One more precision. Given that the problem is due to the fact of having
an '@' in the 'n' last characters of a document. 'n' being the number of
'@' in your document.
If you really want to create a wiki page with a lot of '@', just add a
paragraph of text at the end of your document and you will be safe.
Ludovic
Ludovic Dubost a écrit :
>
> Hi,
>
> This is due to a bug in JRCS with too many '@' in a document.
> Sometimes it might break the archive.
> Either you fix the archive by adding an '@' around the end of your
> document where there is only one '@' where they should be 2 '@@'
> Either you don't care about your version history and you can delete
> the XWD_ARCHIVE field in your database for the document that has the
> problem.
>
> Then you need to not have too many '@' in a document until you upgrade
> to a more recent version of XWiki which has the fixed JRCS lib. You
> can't just upgrade the libs because the package names have changed.
> We haven't yet released an official version of XWiki which does not
> have this problem.
>
> Ludovic
>
> David Delbecq a écrit :
>> Hello,
>>
>> The xwiki here has awfully broken on a webpage. The content we get
>> instead of the page is as shown bottom. We are using XWiki Version
>> 0.9.840 on top of a mysql installation. We are wondering what this mean.
>> Only suspectable problem is this part "Parse error at line 393, column
>> 248. Encountered: oma.be", oma.be being our domain name, i guess there
>> is a @ before that the parser don't like. But we don't have any damn
>> idea
>> - what parser
>> - where this is in document (we can't edit the file)
>> - how to fix it
>>
>> requesting help, no idea what is going down.
>>
>> Error number 3202 in 3: Exception while reading document
>> Direction.QuifaitquoiIrm
>> Wrapped Exception: exception setting property value with CGLIB (set
>> hibernate.cglib.use_reflection_optimizer=false for more info) setter of
>> com.xpn.xwiki.doc.XWikiDocument.setArchive
>> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
>> reading document Direction.QuifaitquoiIrm
>> Wrapped Exception: exception setting property value with CGLIB (set
>> hibernate.cglib.use_reflection_optimizer=false for more info) setter of
>> com.xpn.xwiki.doc.XWikiDocument.setArchive
>> at
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:646)
>>
>> at
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
>>
>> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
>> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
>> at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
>> at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
>> at
>> com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
>> 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:214)
>>
>> 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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
>>
>> at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
>>
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
>>
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>
>> at java.lang.Thread.run(Thread.java:534)
>>
>>
>> Wrapped Exception:
>>
>> org.hibernate.PropertyAccessException: exception setting property value
>> with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more
>> info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
>> at
>> org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:203)
>>
>> at
>> org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:173)
>>
>> at
>> org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2900)
>>
>> at
>> org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
>>
>> at
>> org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:510)
>>
>> at org.hibernate.loader.Loader.doQuery(Loader.java:419)
>> at
>> org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
>>
>> at org.hibernate.loader.Loader.loadEntity(Loader.java:1312)
>> at
>> org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116)
>> at
>> org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101)
>> at
>> org.hibernate.persister.entity.BasicEntityPersister.load(BasicEntityPersister.java:2461)
>>
>> at
>> org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:350)
>>
>> at
>> org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:331)
>>
>> at
>> org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:113)
>>
>> at
>> org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:167)
>>
>> at
>> org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79)
>>
>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
>> at
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:575)
>>
>> at
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
>>
>> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
>> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
>> at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
>> at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
>> at
>> com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
>> 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:214)
>>
>> 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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
>>
>> at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
>>
>> at
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
>>
>> at
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>
>> at java.lang.Thread.run(Thread.java:534)
>> Caused by: net.sf.cglib.beans.BulkBeanException: Error number 3003 in 3:
>> Exception while manipulating the archive for doc
>> Direction.QuifaitquoiIrm
>> Wrapped Exception: Parse error at line 393, column 248. Encountered:
>> oma.be
>> at
>> com.xpn.xwiki.doc.XWikiDocument$$BulkBeanByCGLIB$$9e5f0943.setPropertyValues()
>>
>> at
>> org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:200)
>>
>> ... 48 more
>> Caused by: com.xpn.xwiki.XWikiException: Error number 3003 in 3:
>> Exception while manipulating the archive for doc
>> Direction.QuifaitquoiIrm
>> Wrapped Exception: Parse error at line 393, column 248. Encountered:
>> oma.be
>> at
>> com.xpn.xwiki.doc.XWikiDocument.setArchive(XWikiDocument.java:479)
>> ... 50 more
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> 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
>>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
Hello,
The xwiki here has awfully broken on a webpage. The content we get
instead of the page is as shown bottom. We are using XWiki Version
0.9.840 on top of a mysql installation. We are wondering what this mean.
Only suspectable problem is this part "Parse error at line 393, column
248. Encountered: oma.be", oma.be being our domain name, i guess there
is a @ before that the parser don't like. But we don't have any damn idea
- what parser
- where this is in document (we can't edit the file)
- how to fix it
requesting help, no idea what is going down.
Error number 3202 in 3: Exception while reading document
Direction.QuifaitquoiIrm
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document Direction.QuifaitquoiIrm
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:646)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
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:214)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Wrapped Exception:
org.hibernate.PropertyAccessException: exception setting property value
with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more
info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:203)
at
org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:173)
at
org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2900)
at
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:510)
at org.hibernate.loader.Loader.doQuery(Loader.java:419)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1312)
at
org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116)
at
org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101)
at
org.hibernate.persister.entity.BasicEntityPersister.load(BasicEntityPersister.java:2461)
at
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:350)
at
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:331)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:113)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:167)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:575)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
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:214)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Caused by: net.sf.cglib.beans.BulkBeanException: Error number 3003 in 3:
Exception while manipulating the archive for doc Direction.QuifaitquoiIrm
Wrapped Exception: Parse error at line 393, column 248. Encountered: oma.be
at
com.xpn.xwiki.doc.XWikiDocument$$BulkBeanByCGLIB$$9e5f0943.setPropertyValues()
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:200)
... 48 more
Caused by: com.xpn.xwiki.XWikiException: Error number 3003 in 3:
Exception while manipulating the archive for doc Direction.QuifaitquoiIrm
Wrapped Exception: Parse error at line 393, column 248. Encountered: oma.be
at
com.xpn.xwiki.doc.XWikiDocument.setArchive(XWikiDocument.java:479)
... 50 more
I have a space where users dont have to login/register to view/edit/delete.
However when I assign the rights view,edit and delete to the space, the user
is still required to login to delete a page in the space (they can view and
edit fine without logging in). If I also include "admin" which I dont want
to do, the user no longer needs to log in to delete the page.
Has anyone else seen this problem?
Duke
Hi!
I'm working on some cool functionality, so that if you click on a "category"
option from the first database-driven selection list, the second select list
loads with keyed "subcategory" options.
Right now, there are two problems that occur just after the form is posted:
1) The page is not recalling the first value selected. For some reason,
the "#if ($selectvalue == $loadlist) ..." section below is always evaluated
to false. I've tried variable :) approaches so far, without success.
2) The page should also be executing Velocity's if ... else code for the
second query and load the subcategory options properly at this point, but it
does not. Instead, the 2nd select box is displayed without ANY options.
Current code:
<script language="JavaScript" type="text/javascript">
<!--
function loadSubcats(theForm) {
var jsloadlist = document.getElementById("selcat").value;
var actiongoto = "../apps/dblcattest?catkey=" + jsloadlist;
document.location = actiongoto;
return (document.location);
theForm.submit();
}
//-->
</script>
<form method="POST" onSubmit="document.location=loadSubcats(this); return
false">
<%
loadlist = request.getParameter("catkey");
if (!loadlist) {loadlist = "null" };
%>
1 Dependent Category Selection Test
<select id="selcat" name="selcat" onchange="loadSubcats()">
#set ($hqlcat = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='Doc.NavCatClass' and obj.name not like '%ClassTemplate' order
by doc.fullName")
#foreach ($item in $xwiki.searchDocuments($hqlcat))
#set ($optcat = $xwiki.getDocument($item))
#set ($selectvalue = $optcat.name)
#if ($selectvalue == $loadlist)
#set ($recall = "selected")
#else
#set ($recall = "")
#end
<option value="$selectvalue" $recall>${optcat.title}</option>
#end
</select>
<br>
<select id="selsubcat" name="selsubcat">
#if (${loadlist} == "null")
{
<option value="error">--</option>
}
#else {
#set ($hqlsubcat = ", BaseObject as obj, StringProperty as prop where
obj.name=doc.fullName and obj.className='Doc.NavSubCatClass' and obj.name
not like '%ClassTemplate' and obj.id=prop.id.id and prop.id.name='parentkey'
and prop.value='${catkey}' order by doc.fullName")
#foreach ($item in $xwiki.searchDocuments($hqlsubcat))
{
#set($optsubcat = $xwiki.getDocument($item))
<option value="${optsubcat.name}">${optsubcat.title}</option>
}
#end
}
#end
</select>
</form>
Any ideas? Many thanks in advance!
Danielle
_________________________________________________________________
Got something to buy, sell or swap? Try Windows Live Expo
ttp://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://exp…
Hi,
I'd like to change my skin but by defining the skin as described in the
documentation doesn't works...
By starting I need to change only the logo, so I've created the RomaSkin
with the following lines:
@import "xwiki.css";
@import "wiki.css";
@import "page.css";
@import "rss.css";
/* Logo */
#xwikilogo img {
background-image: url("http://www.OrienTechnologies.com/roma/roma_logo.gif
");
}
But nothing appears. Why? Thanks
bye,
Luca Garulli
Blogging on: http://zion-city.blogspot.comhttp://www.RomaFramework.org - The new way to build applications
http://www.Pro-Netics.com (member of Orixo.com - The XML business alliance)
http://www.OrienTechnologies.com - Light ODBMS, All in one JDO solution
You may wish to limit editing access to your front page.
No serious damage, but I wouldn't like for people I sent there to be
confused, even by a little harmless tampering.
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141
Ludovic,
No dish can please everyone. I would like to say something in balance.
I have used XWiki for over one year, I respect and appreciate the XWiki team very much! I have built several XWiki sites and they all are used by many. (especially our EITC2006 site)
Every time we have a problem, we found support. That is why I could convince my team to keep using XWiki. I really enjoy seeing the growth and improvements of XWiki.
Yes, we need more features, we need better performance, we need better look and feel, but 'we' will make it happen. I could not make contribution in codes, but I have been telling lots of people about XWiki. A growing community will produce a strong Open Source solution. From what I have seen, I know this is the right place to be.
Keep up the good work. Thanks a lot.
Best regards,
Wei-hsing Wang
NicheUSA, LLC
-------------- Original message ----------------------
From: Ludovic Dubost <ludovic(a)xwiki.com>
>
> Paul,
>
> I am myself dismayed about your attitude and your lack of respect of
> Open Source developers.
> You might be one of these people that like Open Source much more because
> it's free and because you can dig into other's people knowledge and
> creations at will than because you can participate and help enhance and
> improve it.
>
> I'm really sorry that you lack of implication (although you have been
> following the users and developers list since you have got 7 of your
> questions answered without having help answer to any of the other's
> users questions) have made you not notive that despite what you think
> XWiki has made a lot of progress.
>
> You would have seen that there is an XWiki 0.9.1252 which has many
> improved features like:
> - TinyMCE based WYSIWYG editor compatible with the XWiki syntax done
> by a Google Summer of Code student
> - Backlinks support
> - Improved API with write-API and many new functions helping write web
> sites
> - A charting Wizard done by a Google Summer of Code student
> - Multi Wiki support like no other wiki
> - An XPath based Query language done by a Google Summe of Code student
> - A cluster mode contributed by TripAdvisor.com
>
> You would also have seen that a Google Summer of Code is in the works with:
>
> - Support JCR for storage with a migration path from hibernate database
> storage
> - A AJAX form editor
> - A new XWiki 1.0 skin implementing the Usability recommandations
> worked on last year
> - A P2P Replication protocol allowing to work Offline and run XWiki on
> multiple servers
>
> It's sad that you haven't seen that we are trying hard to build a long
> lasting Open Source Wiki able to tackle tomorrow's Wiki challenges. And
> this not only takes code, documentation, but also the ability to invest
> steadily in XWiki. I've personnally spent 2 years without any salary
> working on XWiki as I created my own company. Thanks to users and
> companies that better understand Open Source and our approach than you
> do, we now have been able to hire close to 10 people to work on XWiki
> and on projects based on XWiki. Close to 40 companies have trusted our
> services to ask us to help them build solutions on top of XWiki.
> Hundreds of companies are using XWiki for free. XWiki has been selected
> for France State funded research project on Collaboration on P2P and
> Mobility environements.
>
> Also it's funny that I've received the same day as your email
> congratulations and credits from the Sibelius-Academy in Finland which
> has been using XWiki for the Music History Web Site
> (http://muhi.siba.fi/ -> it's in Finnish). Apparently they have been
> able to tweak the XWiki look and feel better than you did.
>
> I'm mainly sorry for you that you don't realize that Open Source
> development means tons of hours of hard work shared with a community
> which of course is free to use it or to use something else. But I tend
> to believe that the minimum that users of Open Source software should
> have is respect for developers sharing their work with a community. I
> just hope that you will learn this while joining the TWiki community
> which I have a lot of respect for as I've been using and contributing to
> TWiki for 3 years before writing XWiki.
>
> We'll take the positive out of your nasty email, which I'm sure is due
> to frustration at not finding what you needed from XWiki (a free lunch
> ?). We'll try to learn from it to improve our documentation, developer
> guides (anybody wanting to help ?), our code quality and architecture.
>
> I realize that this email might sound a little aggressive towards you,
> but sometimes it's good to set things straight.
>
> Good luck for you in the future. I just hope you'll be a better user and
> contributor of TWiki.
>
> Ludovic
>
> Paul Dlug a écrit :
> > We just completed a conversion from XWiki to TWiki because of the
> > numerous limitations of XWiki (really awful to understand permissions
> > system, slow pace of development, lack of plugins, horrid look and
> > feel, etc.). We initially tried to convert the syntax to TWiki using
> > perl with Parse::RecDescent. Since the grammar is rather unstructured
> > and regex/exception based this isn't an easy thing to do. We were
> > successfully in hacking up a version of XWiki/Radeox that outputs the
> > XWIki syntax as TWiki syntax. Since this uses the native structures
> > inside the original java code the conversion is much cleaner.
> >
> > If anyone else is migrating from XWiki to TWiki let me know if you'd
> > like the code to batch convert the whole wiki at once. I'm happy to
> > save others the pain of doing this themselves.
> >
> > As an aside, I am dismayed at the slow progress of XWiki in the time
> > we have been using it (over a year and a half). I was also quite
> > appalled when I started digging into the code to this, it's messy,
> > undocumented, and rife with duplicate logic.
> > ------------------------------------------------------------------------
> >
> >
> > --
> > 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
>
>
>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I am trying to make XWiki work with UTF-8. I found the necessary
settings in the following document:
http://www.xwiki.org/xwiki/bin/view/Dev/CharactersSets
This seems to work fine. I can edit a text and eg. insert geman
"umlaute". But as soon as I edit this text with the WYSIWYG Editor, the
"umlaute" are replaced with some kind of question mark.
Any idea how to fix this?
Thanks,
Michael
- --
Michael Redinger
Zentraler Informatikdienst (Central IT Services)
Universitaet Innsbruck
Technikerstrasse 13 Tel.: ++43 512 507 2335
6020 Innsbruck Fax.: ++43 512 507 2944
Austria Mail: Michael.Redinger(a)uibk.ac.at
BB98 D2FE 0F2C 2658 3780 3CB1 0FD7 A9D9 65C2 C11D
http://homepage.uibk.ac.at/~c102mr/mred-pubkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFE9FG4D9ep2WXCwR0RAufsAJ4hYUb4Z/ryxY7iA82hBnwfVpHEtwCcCWnZ
HB7C5UADL9u7qviV4bLO0I0=
=wHnP
-----END PGP SIGNATURE-----