When I address XWiki on a virtual site from outside the local net, the
function getURL returns a full string prefixed with 'http://'. If I work
from the local net with its true URL (http://server:8080/xwiki), this
function returns short URL beginning with '/xwiki/'.
As a result of this, the standard space control HTML code on the main page
is generated invalidly as velocity tries to convert textual URLs to links.
The same situation exists on several XWiki pages, e.g., Blog.
I studied the page source (/xwiki/bin/edit/Main/Spaces?&editor=wiki) and
found the following:
##...
{{html wiki="true"}}
##...
<div class="spSpaceName">[[${space}>>${space}.WebHome]]</div>
<div class="xshowonhover spSpaceActions">
## Link to the space index.
$xwiki.getURL('Main.SpaceIndex', 'view',
$xwiki.getSkinFile('icons/silk/book_open.gif')
The first link is programmed with [[ ... ]], but the second link is
programmed directly as . In the second link, the getURL() producing
'http://' prefixed result blows the HTML code out.
The remedy was simple: {{html wiki="false"}} and replace [[ ... ]] by . But
this exists on a lot of XWiki pages and should be corrected everywhere.
Why the getURL() gives different results depending on the way to access the
site? Is there a configuration parameter or any other method to correct
this.
On the xwiki.org site, the getURL obviously gives the necessary URL
beginning with '/xwiki'.
The problem exists on different XWiki versions (2.0 and later) on fresh
installations.
May be I should announce this as an error in XWiki sources to be corrected?
--
View this message in context: http://n2.nabble.com/getURL-returns-full-URL-with-http-prefix-on-a-virtual-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hey all,
The TWiki syntax doesn't seem to fully support HTML elements like <pre>, <u>, <nop>, and links (they aren't rendered at all or rendered incorrectly). However, basic syntax minus these tags such as <verbatim>, bullets, etc, work. Enabling these HTML elements is essential because we are migrating documents from the twiki and need them to be rendered correctly.
We've added twiki 1.0 to the xwiki.cfg file and selected the syntax in the edit UI, but I read on the mailing list that the syntaxes aren't entirely implemented yet. So are html elements simply not supported yet, and if not, what do I need to do to enable them?
Thanks,
Felix
Hi,
I tried to call a macro passing a text which contains both, single and double qoutes
{{macro para='this is "Developer's Guide" in german' /}}
{{macro para="this is "Developer's Guide" in german" /}}
Both way fails because either quote or apostroph needs to be escaped.
I tried usual technics
- doubling: failed
- escaping with \ : failed
- escaping with \\ : failed strange. introduced a line break?
What is the right way to escape character?
Stefan Bachert
http://gwtworld.de
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
hello,
I'm using xwiki XWIKI ENTERPRISE 2.2.2.27483
when I click at username-menu "mange list of watched sites"
(url=http://xwiki.domain.com/xwiki/bin/view/XWiki/Admin?category=watchlist)
(eg logged in as admin)
I get the standard user site (same as
http://xwiki.domain.net/xwiki/bin/view/XWiki/Admin)
but there are no infos about the watched sites/spaces
when I click EDIT - Objects I get:
Objects of type XWiki.WatchListClass
WatchListClass 0:
Email notifications intervalWiki
Scheduler.WatchListHourlyNotifier
Space list
,xwiki:Main
Document list:
,,xwiki:Main.WebHome,xwiki:xyz.WebHome
so the watchlistclass is attached to the user but how can I find an
edit mask for these properties that can be handled by "normal" users
as it should be provided by ?category=watchlist?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
there is another problem with:
document index search (http://xwiki.domain.net/xwiki/bin/view/Main/AllDocs):
I'l never get any results
debugging with firebug shows that the ajax request looks like this:
http://xwiki.domain.net/xwiki/bin/get/XWiki/LiveTableResults?outputSyntax=p…
the result is an 200 with empty body (there are several spaces and
sites containing the string "test"
the global search (searchbox at right top corner) works fine.
any ideas what could cause this problems?
kind regards
axel
--
Dipl.-Ing. Axel Zuzek
--------------------------------
grundsteingasse 64/2/25
1160 Wien
tel: +43 650 678 1111
email: axel(a)zuzek.info
> Similar question has appeared in this list earlier with no good answer.
> Though I suspect, this approach seems necessary is due to weak design.
> Can you describe use case why it seems necessary in place of database
> list,
> where you can set hql query for filtering necessary elements?
>
> Valdis
Essentially I'm creating a sort of template for a space that I will want to duplicate later. I have scripts that create objects from a spreadsheet specifically for a certain class in this space.
Rather than duplicating the class by hand on the next space I want these scripts/objects on, I'd like to be able to quickly and safely duplicate the class, so I wanted to write a quick groovy script to do it.
If there is an easier way of doing this, I'd appreciate any ideas.
-Mike
> > I want to create properties for a new class on a blank document with groovy. I can do the following:
> >
> > def doc = xwiki.getDocument("space.docname")
> > c = doc.getxWikiClass();
> >
> > and look at elements of a class that already exists by doing:
> >
> > prop = c.get('propertyname')
> >
> > propToEdit = prop.getPropertyClass
> >
> > propToEdit.setValues('a|b|c')
> >
> >
> >
> > But, how can I add a new property to a class that has no existing properties/fields?
> >
> >
> >
> > Thanks,
> >
> > -Mike
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28…
I want to create properties for a new class on a blank document with groovy. I can do the following:
def doc = xwiki.getDocument("space.docname")
c = doc.getxWikiClass();
and look at elements of a class that already exists by doing:
prop = c.get('propertyname')
propToEdit = prop.getPropertyClass
propToEdit.setValues('a|b|c')
But, how can I add a new property to a class that has no existing properties/fields?
Thanks,
-Mike
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:…
Hi,
Please, must the "All Attachments Live Grid" snippet work in a 1.3.8295
XE installation? Thanks!
Best,
Ricardo
--
Ricardo Rodríguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems
Hi,
I try to convert a website in xwiki.blog application
For each page I create a groovy script that creates a blog post
The script is successful with three exceptions;
1) Would like to maintain the original author
So I create a xwiki.user (this works)
Then I would like to set the document property with
{{groovy}}
... (the first part of the script)
vArticle.set("creator",'XWiki.FamilievandenMeulengraaf')
vArticle.save()
{{/groovy}}
But looking at the post it still has creator as the user running the code
2) Categories
I've created a few categories in the blog application
So I would like to set the category attribute, where the class-attribute definition of the post = Database Tree
{{groovy}}
...
vObjArticle.set("Category",'???')
...
{{/groovy}}
Does any body know what to put in '???', since a category can be multiple entries ???
3)
When I run the script a postpage is created, I see a link in the new documents frame.
When I go to it it displays OK, but when I go to the blog application it does not show in the blog indexes (recently, categories (explained under 2)) or historical)
Only when I go to the page, click edit object and directly click save it will show up in he blog
What could be the reason for this,
The code looks like (XXXX = title of the post)
{{groovy}}
vArticle = xwiki.getDocument("CdlsArticle.XXXXXX")
vArticle.setContent('{{include document="CdlsArticle.ArticlePostSheet"/}}')
vArticle.setParent("CdlsArticle.WebHome")
vArticle.set("language","nl")
vArticle.set("translation","1")
vObjArticle = vArticle.getObject("CdlsArticle.ArticlePostClass",true)
...
def vTitle = "XXXXX"
vObjArticle.set("title",vTitle)
...
def vExtractHeader = '....'
def vExtractText = '....'
def vExtractPicture = 'image:photo.cdlsnl@xxxx.jpg
vObjArticle.set("extract",vExtractHeader + vExtractText + vExtractPicture)
.. etcetera
..
vObjArticle.set("published",'1')
vArticle.save()
{{/groovy}}
I'm trying to save custom object values, and can only for strings using
advanced script from
http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial
For Number type (tried integer and long), I couldn't save value in any
way. Tried explicitly define as
int daudzums
and
daudzums = Integer.parseInt(string)
I exhausted my ideas and would like to get some more :-/
Exception:
2010-04-09 19:07:40,254
[http://85.254.250.23/xwiki/bin/preview/MyWood/S-100409-181257]
ERROR .AbstractFlushingEventListener - Could not synchronize database
state with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.IntegerProperty#<?xml version="1.0"
encoding="UTF-8"?>
<daudzums>4</daudzums>
]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
at
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:854)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:825)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:598)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1325)
at com.xpn.xwiki.api.Document.saveDocument(Document.java:1751)
at com.xpn.xwiki.api.Document.save(Document.java:1715)
at com.xpn.xwiki.api.Document.save(Document.java:1704)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite
$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
at LoggingEventListener.createIzstrade(Script15.groovy:105)
at LoggingEventListener$createIzstrade.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at LoggingEventListener.doSMS(Script15.groovy:79)
at LoggingEventListener$doSMS.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
at LoggingEventListener.onEvent(Script15.groovy:27)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1352)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
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:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket
$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
2010-04-09 19:07:40,256
[http://85.254.250.23/xwiki/bin/preview/MyWood/S-100409-181257] ERROR
rnal.DefaultObservationManager - Fail to send event
[org.xwiki.observation.event.DocumentUpdateEvent@259805da] to listener
[LoggingEventListener@1fa83e7e]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document MyWood.I-100409-181257
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.IntegerProperty#<?xml version="1.0"
encoding="UTF-8"?>
<daudzums>4</daudzums>
]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:608)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1325)
at com.xpn.xwiki.api.Document.saveDocument(Document.java:1751)
at com.xpn.xwiki.api.Document.save(Document.java:1715)
at com.xpn.xwiki.api.Document.save(Document.java:1704)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite
$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
at LoggingEventListener.createIzstrade(Script15.groovy:105)
at LoggingEventListener$createIzstrade.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at LoggingEventListener.doSMS(Script15.groovy:79)
at LoggingEventListener$doSMS.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
at LoggingEventListener.onEvent(Script15.groovy:27)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1352)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
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:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket
$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.IntegerProperty#<?xml version="1.0"
encoding="UTF-8"?>
<daudzums>4</daudzums>
]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
at
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:854)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:825)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:598)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1325)
at com.xpn.xwiki.api.Document.saveDocument(Document.java:1751)
at com.xpn.xwiki.api.Document.save(Document.java:1715)
at com.xpn.xwiki.api.Document.save(Document.java:1704)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite
$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
at LoggingEventListener.createIzstrade(Script15.groovy:105)
at LoggingEventListener$createIzstrade.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at LoggingEventListener.doSMS(Script15.groovy:79)
at LoggingEventListener$doSMS.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
at LoggingEventListener.onEvent(Script15.groovy:27)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:243)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1352)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
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:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket
$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Hello,
We have designed a simple tab macro. Sharing it for those who might need
it.
Attached are the files with code that you need to define the macro.
* Macro page space: Macro
* Macro page name: Macro.XWikiMacroTabs (actually you can change
this, but you'll need to update $xwiki.jsx.use('Macro.XWikiMacroTabs')
directive in the MacroObjectDefinition.vm)
* Macro page content:
http://n2.nabble.com/file/n4857504/MacroPage.txt MacroPage.txt
* Js object definition:
http://n2.nabble.com/file/n4857504/JavascriptObjectDefinition.js
JavascriptObjectDefinition.js
* Macro object definition:
http://n2.nabble.com/file/n4857504/MacroObjectDefinition.vm
MacroObjectDefinition.vm
Please reference
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial
WikiMacroTutorial if you've never created a wiki-macro before.
I know that the macro is not perfect (there are several known issues, see
MacroPage.txt), well writing it I have remembered why I like Java and
dislike JS/CSS :).
Yet the macro does the work that we need it to and maybe will be useful
to someone as well.
Regards,
Roman
--
View this message in context: http://n2.nabble.com/XWiki-Macro-Tabs-tp4857504p4857504.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I would like to consult and above all to modify the e-mails of some
users profiles that I have created a long time ago.
I try to change them via the Users menu in XWiki Administration menu,
however the e-mail is not available among the fields that can be edited
in the user profile form (nor advanced nor simple form).
How can I do ?
Thanks,
S.A
Our IS department xwiki seems to be running well. I am not sure what this
entry in the xwiki.log is caused by, and hope someone will point me towards
the issue. Apache Tomcat MySql Windows 2008R2 64bit XWiki Enterprise 2.2.2.
<clip>
2010-04-07 11:51:07,622
[http://wiki.lc.local/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http://wiki.lc.local/xwiki/bin/loginsubmit/XWiki/XWikiLogin] ERROR
xwiki.XWikiAuthServiceImpl - Failed to authenticate
java.lang.IllegalStateException
at
org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:225)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
at com.xpn.xwiki.api.XWiki.checkAuth(XWiki.java:2677)
at sun.reflect.GeneratedMethodAccessor425.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.evaluate(ASTReference.java:460)
at
org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85)
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)
...
Why are there "Unknown Source" is it not able to find a file needed? How do
I track this down? I don't have it installed in the default path,
everything is off the root in webroot\apache\tomcat6.0\webapps\ etc.
Thanks in advance for any suggestions.
John
--
View this message in context: http://n2.nabble.com/registration-error-with-velocity-tp4867874p4867874.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have javascript code that will get user input from a simple input form, but I need to use that input to query some groovy objects. If I understand correctly, groovy code is parsed on the server, then the javascript is parsed on the user's machine, so I can't pass javascript variables to the groovy code. Is there a way to reload the page such that I could pass the input values to groovy?
Any solution where the user inputs a string to be used in a groovy query is welcome as well.
Thanks,
-Mike
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:…
Hello there,
I asked the Admin of my system to create a space in xWiki, into which I can log in via my username & pswd through a browser. I cannot create a connection to the same space via xEclipse.
Any idea about how to cope with it?
Thanks,
Omar.-
"Error connecting to remote XWiki: 'Failed to create input stream: Server returned HTTP response code: 401 for URL:https://wiki.LLLLLLLL.HH/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=9ABDC68E028A86AF510B64DDE1B313D6?srid=impUiQ5i'. Please check your settings."
After registering on a recently announced 2.2.4-based site and having it
fail, I tried the same in my Xwiki setup and it failed too.
The issue is that
/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Rights#|t=usersandgroupstable&p=1&uorg=users&clsname=XWiki.XWikiGlobalRights&wiki=local
must be set with the "User" radiobutton selected, both "View" and "Register"
must be selected. If just "Register" is checked, then you get problems:
When unregistered-user right "View" is not selected, the clicking the email
activation link gives you a style-sheet-less view of the activation page,
and an error message that you are not allowed to view. When
unregistered-user right "View" is selected, the email activation works and
the page displays correctly with full style sheet.
It seems like there's a bug also in that if you're not allowed to view, then
you should also not be given the contents of the pages, sans CSS.
Other than this, 2.2.4 is far better and more stable than my previous
attempts at upgrading to 2.2 branch.
Niels
http://nielsmayer.com
Hi,
I would like to announce http://gwtworld.de
GWT World is technically an XWiki-Application.
GWT World is a german speaking plattform for GWT (Google Web Toolkit).
There are bulletin boards and high-valued articles around GWT.
GWT World is organized in 3 area, one public and free and two for members.
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi,
is there a way to get rid of the rememberme cookie at all.
Just set rememberme_j to false does not work.
I still feel bad with this rememberme feature. It is a secury whole.
stefan bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hello,
I am working on a xwiki site that wraps the jira functionality. I want to be
able to work from the site on xwiki as if I were on the jira site. I am
using the Swizzle Plugin to create the xwiki interface to communicate to
jira through xmlrpc.
There are two things I couldn't do until now:
*1.* Add attachments to an issue. I am using the class *
org.codehaus.swizzle.jira.Issue* and the method *org.codehaus.swizzle.jira
.createIssue(issue)* to create the issue.
*2.* Get a list of jira users.
Is there a way to do those things?
Is there somebody doing something similar out there (xwiki site that wraps
the jira functionality)?
Thanks,
Abel
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.3 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is second and last milestone of the XWiki Enterprise 2.3 version.
Main changes from 2.3 Milestone 1:
* New Annotations section in the Administration
* New spanish translations for the WYSIWYG editor
* Lots of bugs fixes
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise23M2
Thanks
-The XWiki dev team
After upgrading to 2.2.4, I wanted to test the openoffice server. In the
root-wiki, in the openoffice admin app, I see my setup as from before (back
when it worked -- last time i tested was around 2.0):
Server type
Internally managed (local)
Server port
8100
Auto start
No
Server path
/usr/lib64/openoffice.org3/
Server profile
/home/OOo/.openoffice.org/3/
Server state
Not connected
When I select "start server" and click "update", I get an error message
"Inadequate privileges."
despite being logged in as XWiki.Admin (root wiki admin w/ prog rights
granted).
No error messages in the logs related to this are noted.
The only clue I'm seeing is that openoffice itself is acting broken.
Previously, the '-headless' option worked, now, it doesn't:
gnulem-58-~> env DISPLAY='' ooffice -headless
/usr/lib64/openoffice.org3/program/soffice.bin X11 error: Can't open
display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)
With "DISPLAY" defined, -headless works, and the server can be launched,
except that servers don't normally have an X server associated with them.
I'm on Fedora 12: Linux gnulem 2.6.32.10-90.fc12.x86_64 #1 SMP Tue Mar 23
09:47:08 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux.
I have the following OOo rpm's installed:
openoffice.org-graphicfilter-3.1.1-19.28.fc12.x86_64
openoffice.org-calc-core-3.1.1-19.28.fc12.x86_64
openoffice.org-draw-core-3.1.1-19.28.fc12.x86_64
openoffice.org-writer-3.1.1-19.28.fc12.x86_64
openoffice.org-brand-3.1.1-19.28.fc12.x86_64
openoffice.org-impress-3.1.1-19.28.fc12.x86_64
openoffice.org-ure-3.1.1-19.28.fc12.x86_64
openoffice.org-opensymbol-fonts-3.1.1-19.28.fc12.noarch
openoffice.org-writer-core-3.1.1-19.28.fc12.x86_64
openoffice.org-math-3.1.1-19.28.fc12.x86_64
openoffice.org-math-core-3.1.1-19.28.fc12.x86_64
openoffice.org-xsltfilter-3.1.1-19.28.fc12.x86_64
openoffice.org-presenter-screen-3.1.1-19.28.fc12.x86_64
openoffice.org-pdfimport-3.1.1-19.28.fc12.x86_64
openoffice.org-draw-3.1.1-19.28.fc12.x86_64
openoffice.org-calc-3.1.1-19.28.fc12.x86_64
openoffice.org-impress-core-3.1.1-19.28.fc12.x86_64
openoffice.org-core-3.1.1-19.28.fc12.x86_64
openoffice.org-langpack-en-3.1.1-19.28.fc12.x86_64
Hopefully, this error in Linux OpenOffice isn't causing an incorrect error
message from xwiki "inadequate privileges." (bug?)
Anybody on Linux using OPenoffice 3.1.1 and have the openoffice server
working on Xwiki 2.2.4, in a multiwiki setup?
Thanks,
Niels
http://nielsmayer.com
Hi,
Iam working together with a friend on a decentralized, low cost house bus system. For storing the project documentation and helpfiles we choose xwiki and plan to make this project open source or something similar.
So thats why I ask for a free wiki on this site.
The name for the site should be ascdhbus.
thanks
Stephan Roemer
--
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
Hello,
I would like to implement my next TODO on XWiki: meeting minutes
template.
What it should do: during the meeting responsible person fills-in fields
in the template (see attached
http://n2.nabble.com/file/n4846395/MeetingMinutesTemplate.docx
MeetingMinutesTemplate.docx file). After the template is saved, it is 1)
added as a child to a certain page on XWiki 2) e-mail is rendered according
to the template and sent to all users in specific user group.
I'm following the
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial FAQTutorial
in my implementation. However following are the issues I did not find how to
solve:
* Let's consider "Current status" section. It's a table with
dynamically-added rows. It is clear that each roe represent StatusItem and
should be modoled as a separate class. The questions are: 1) how should I
link a collection of classes to current class 2) how should I render them on
the UI so that records in the table would have added/removed dynamically by
pressing some add/remove buttons in the table.
* Limit the user list to certain group (if using "List of Users" field
type)
* Remove property from a class
* Render e-mail notification based on created template and send it to
members of certain group (actually this one I haven't investigate yet, but
will do in context of other templating-related task while waiting for any
hint on this one)
Regards,
Roman
--
View this message in context: http://n2.nabble.com/Advanced-templates-tp4846395p4846395.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Sorry for spam, just can't resist sharing my first small victory in
programming XWiki :)
XWiki 2.0 Markup-based code-snippet for displaying user's full name with
link to profile by log-in.
{{velocity}}
#macro(displayFullNameByLogin $login)
#set($userDocName = "XWiki."+$login)
#set($userDoc = $xwiki.getDocument($userDocName))
#if (!$userDoc)
$login (does not exist)
#else
#set($userObject = $userDoc.getObject("XWiki.XWikiUsers"))
#if(!$userObject)
User Sheet
This stylesheet must be applied on a document containing a
XWiki.XWikiUsers object.
#else
[[$xwiki.getUserName($userDoc.fullName,
false)>>$userDoc.fullName]]
#end
#end
#end
{{/velocity}}
Usage
{{velocity}}#displayFullNameByLogin("rmuntyan"){{/velocity}}
Regards,
Roman
--
View this message in context: http://n2.nabble.com/Code-snippet-Full-user-name-and-link-by-log-in-tp48381…
Sent from the XWiki- Users mailing list archive at Nabble.com.