I am making good progress on a new Class that has properties, style sheet and
template that I created after following the Todo Tutorial.
The ToolbarClass has the following properties
Type/Name/SampleContent
String/Title/Advanced Editor
TextArea/Description/This button takes you to the advanced editor page
String/UpIcon/AEBtn0.jpg
String/DownIcon/AEBtn1.jpg
String/DisabledIcon/AEBtn2.jpt
String/GotoPage/Tools.AdvancedEditor
Also following the Todo Tutorial I created the Toolbar Space Web Home page
dashboard with
#set ($hql = ", BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
obj.name<>'XWiki.ToolbarClassTemplate'")
#set ($toolbars= $xwiki.searchDocuments($hql))
#if ($toolbars.size() > 0)
#foreach ($toolbar in $toolbars)
* [$toolbar]
#end
#else
#info("There are no Toolbar documents in this wiki!")
#end
And I added the Comments object to the ToolbarClassTemplate
and then added a couple of document and attached the UPIcon and DownIcon
images as attachments.
Going to the Web Home of the I see the list of the two document with the
ToolbarClass object on them so cool beans just as the tutorial instructed
with the names changed and bingo we have a winner.
Now the tricky part, I want to show the attached images in the dashboard for
each document, where the property of the Toolbar object for UpIcon is used
to identifiy which attachment to display.
I tried
#set ($hql = ", BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
obj.name<>'XWiki.ToolbarClassTemplate'")
#set ($toolbars= $xwiki.searchDocuments($hql))
#if ($toolbars.size() > 0)
#foreach ($toolbar in $toolbars)
* $xwiki.getAttachmentURL( [$toolbar]
#end
#else
#info("There are no Toolbar documents in this wiki!")
#end
where I know that AEBtn0.jpg is the attached image but that doesn't show.
Eventually I want to use the string in the UpIcon property to identify the
image to display but unless I can get the attachement to display on another
page I cannot proceed.
--
View this message in context: http://www.nabble.com/Creating-a-Toolbar-of-my-own-tp17410485p17410485.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I am using XE 1.3.2 and Mysql 5.0 with jetty 5.1.5. Can any one give a
support for JNDI configuration of jetty 5.1.5 (Not jetty 6).
Regards,
Project trainees.
Ok, how do I contact the administrator?
thanks.
> From: Sergiu Dumitriu <sergiu(a)xwiki.com>
> Subject: Re: [xwiki-users] permitting "programming"
>
>
> Yishay Mor wrote:
> > Thanks Sergio.
> >
> > My wiki is on the farm (http://patternlanguagenetwork.myxwiki.org/).
> Does
> > that mean its a virtual wiki, and I cannot have programming rights? That
> > means I can't write or install any groovy code, and can't access
> > $context.context. Very limiting!
> >
>
> You can quickly install a standalone distribution on your computer,
> where you can write the scripts you need, testing that they work, then
> you can put them on the public wiki and ask an administrator to review
> and save them.
>
>
>
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://yishaym.wordpress.comhttps://www.linkedin.com/in/yishaymorhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
> Message: 5
> Date: Thu, 22 May 2008 17:07:04 +0200
> From: Sergiu Dumitriu <sergiu(a)xwiki.com>
> Subject: Re: [xwiki-users] [myxwiki] new wiki request
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <48358C18.3080507(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> S?bastien Sauteur wrote:
>> Hello,
>> I'dl like to have a myxwiki opened.
>> What for : it's been a while i try to foster (my 2 cents) the use of
>> wikis,
>> and today mainly through the Explorateursduweb'collective's actions, that
>> consist into explaining potential users, the advantages of some of the
>> web
>> tools and technologies (basically it's all about trying to explain things
>> in
>> a plain language). With that in mind, i am from time to time led to
>> answer
>> that question :"which wiki should or could i use ?". And because i am a
>> consciensous guy, i only talk about what i know, so when i 've not had
>> the
>> opportunity to play around with a tool/software, i just don't talk about
>> it.
>> And i fell it's quite a pitty regarding XWiki, because i) it's a french
>> team
>> ; ii) it seems to be a nice bunch of people ; and iii) the programmable
>> facet of XWiki surely makes it a must... and some people have already
>> asked
>> me for that kind of functionnalities... but again i need to play with it
>> first, before talking about it.
>> 2nd potential use : for the Explorateursduweb themselves (though not sure
>> at
>> all, yet)
>
> Since XWiki provides a simple package suited for fast experimentation,
> you could download the zip distribution, unpack it and run it (less than
> 1 minute until you have the wiki up and running). Of course, we tried to
> make the web interface as powerful as possible, so there are little
> things you cannot modify directly from the web. Don't read this message
> as a hint not to use the myxwiki farm, but just as a helpful tip. Most
> people expect lots of work when installing a web application, but XWiki
> has this nice distribution where you just unpack and run.
>
> http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-hsq…
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
Thanks for the lead Sergiu,
I'll probably have a local installation too, as i did with the Drupal CMS
i'm discovering (with a Bitnami stack) ; very useful for me to try things
out before going online, and also to test import/export of datas and other
stuff. But the goal is also to have other friends of mine go and play inside
XWiki workspaces, i.e. use the wiki for what it's for... and i have to say
that beeing some kind of a "pronetarian", according to the french
prospectivist Joël De Rosnay's neologism
(http://fr.wikipedia.org/wiki/Pron%C3%A9taire), it's quite a challenge for
me to have a publicly accessible server, running the proper environnement...
so relying on your hosting services is a must, without saying that i feel
better joining the community here and there, and see the big picture
evolvments.
So thank you tooVincent, for the opening of explorateursduweb.myxwiki.org
:-)
--
Sébastien Sauteur
Hi,
I've just installed xwiki (1.4.9828), using the enterprise .war, with
the DB backed into PostgreSQL (using the latest jdbc4 8.3-603
driver). Things seem to be mostly working, however I am unable to
create groups. When I try to 'Add new group' and fill out the 'Create
new group' form, no new group appears. I can however create pages &
users.
However it does look as though it is doing _something_ as I can see
rows being added to the xwikiobjects table e.g.:
-1972220124;0;"XWiki.foo";"XWiki.TagClass"
What can I do to debug this issue?
Thanks,
David.
David Brain
dbrain(a)bandwidth.com
919.297.1078
Hi,
When I try to change the skin with the admin gui to albatross i get
the following stack trace:
Error number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document XWiki.XWikiPreferences
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:573)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1130)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:130)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:140)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:204)
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:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
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:595)
Wrapped Exception:
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#]
at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1765)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2407)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:142)
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:816)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:787)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:563)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1130)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:130)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:140)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:204)
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:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
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:595)
---------------------------------------------------------------------------------------------------------------
Originally i was using 1.1.1.5166 over mysql 4.1.20. Changing the skin
works fine here.
I am testing xwiki 1.4 before we put it into production, so i loaded
up the database dump from from the production xwiki (v1.1.1.5116) onto
a server running mysqI 5.0.58 and xwiki v1.4.9828. Thats where i get
the stack trace. I also noticed that with the Toucan skin, the
administration tools are messed up. No users/groups show up when you
click the tab on the admin page. but when i change the skin to
albatross the users/groups show up.
Any help is appreciated. Thanks!
Marlon
Hi,
I just installed xwiki work spaces version 1.0 on tomcat 6.0.16
and mysql database. The documentation says that I should be able to login
using Admin / admin as username / password. But it is not allowing me to
login and gives a wrong username message everytime. Can somebody please tell
what the correct username / password is to log into the wiki after a fresh
installation. Your help is much appreciated.
Regards,
Swarn
Sorry... just realized that i had (possibly) messed up the way requests are
handled... as i messed up with multiple emails sendings...
--
Sébastien Sauteur
----- Original Message -----
From: "Sébastien Sauteur" <sebastien.sauteur(a)gmail.com>
To: <vincent(a)massol.net>
Sent: Thursday, May 22, 2008 4:23 PM
Subject: Re: [xwiki-users] [myxwiki] new wiki request
> Hi Vincent,
> Oupss... i forgot the name of the wiki... so yes,
> explorateursduweb.myxwiki.org will be just perfect :-)
> Thanks
> --
> Sébastien
>
>
> -----------
> Message: 6
> Date: Thu, 22 May 2008 08:52:55 +0200
> From: Vincent Massol <vincent(a)massol.net>
> Subject: Re: [xwiki-users] [myxwiki] new wiki request
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <356E57FD-7797-44CF-A24E-527B8AA08F57(a)massol.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>
> Hi Sebastien,
>
> Thanks very much for your detailed explanation. Just to be sure,
> what's the name of the wiki you'd like opened?
> explorateursduweb.myxwiki.org?
>
> Thanks
> -Vincent
Hi,
I want to seuup a page with the TOC in a box on the right. But the lines
bellow the titles are overwriting the TOC and I get this result:
<http://suporte.cosmodata.info/xwiki/bin/view/Sandbox/TesteAlain01>
I tested with Windows/Linux and Explorer7/Firefox/Opera. There is an
image of what happens in the same page. I set the page to editable
without login, just in case it would help.
Maybe I am even using the wrong Macro !!!!
-----I did this:--------------
1 Teste de Lista tipo Conteúdo
#startfloatingbox()
#toc("" "" "true")
#endfloatingbox()
1.1 Manual do Usuário
1.1.1 teste
Este é o manual ...
1.1.1 Adendimento de Eventos Recebidos
-----------------
Please help,
Alain