Hello,
I'm using the
http://code.xwiki.org/xwiki/bin/view/Applications/CalendarApplication
Calendar Application and I would like to know how to get the Category
(static list) object into the actual calendar. The default is that it
contains the User and Title objects which are both strings.
I would like it so that the user can pick a "Holiday" or "Operation" option,
which are coloured differently using <h> tags. Then their name would be
displayed next to it where the Title object usually is (which I'm fine with
changing).
>From my attempts at trying to do this, I think that somehow replacing the
User string would be the easiest way, because otherwise it looks like I'd
have to alter the .JAR files. So is there a way I can make the Category
static list object 'pretend' to be the User string object? I can swap the
string objects around no problem, but the Category one being a static list
is making things more difficult.
Thanks in advance,
Lockie.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Adding-the-category-object-to-the-calenda…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I'm trying to upgrade XWiki from 1.0 to 1.2. The problem comes when I want
to import my .xar file (6Mb) and get a Java Heap Space Out Of Memory
Exception.
I've checked your admin page
http://www.xwiki.org/xwiki/bin/view/FAQ/Howtoincreasethemaximumattachmentsi…
and
it looks like for my problem (file < 10Mb), only MySQL should be changed. So
I've changed the max_allowed_packet parameter but the problem still occurs.
I don't have anything in Tomcat or MySQL logs, which is a bit strange. The
only trace I get is the one bellow. It looks like Lucene breaks because of
the file upload not working. Any idea ? How could I get more details in the
log ?
Thanks,
Antonio
[http://localhost:8080/xwiki/bin/upload/XWiki/Import]
[http-8080-Processor25] ERROR lucene.IndexUpdater - invalid
parameters given to add: XWiki.Import, null,
{grouplist={xwiki:XWiki.XWikiGuest=[], xwiki:xwiki:XWiki.XWikiGuest=[]},
fileuploadlist=[name=null, StoreLocation=D:\Servers\Tomcat\apache-
tomcat-5.5.23\temp\upload_662feb76_117990b87e0__8000_00000000.tmp,
size=77bytes, isFormField=true
, FieldName=xredirect, name=null, StoreLocation=D:\Servers\Tomcat\apache-
tomcat-5.5.23\temp\upload_662feb76_117990b87e0__8000_00000001.tmp,
size=20bytes, isFormField=true, FieldName=filename, name=
Backup2008-01-20.xar , StoreLocation=D:\Servers\Tomcat\apache-
tomcat-5.5.23\temp\upl
oad_662feb76_117990b87e0__8000_00000002.tmp, size=6639095bytes,
isFormField=false, FieldName=filepath], msg=com.xpn.xwiki.web.XWikiMessageTo
ol@1171e30, util=com.xpn.xwiki.util.Util@bf1a4a, baseskin=albatross, tdoc=
XWiki.Import, ajax=false, locale=fr, doc=XWiki.Import, mainxwiki=x
wiki, skin=albatross, message=javaheapspace,
fileuploadplugin=com.xpn.xwiki.plugin.fileupload.FileUploadPlugin@571cc4,
vcontext=org.apache.v
elocity.VelocityContext@1219665}
Hello community
I have created JS Extension file
its code is : alert("Hello world");
I configured it as run on demand.
I use this code in order to call js:
{{velocity}}
$xwiki.jsx.use("XWiki.FirstJS")
{{/velocity}}
however it does not do anything.
Any ideas how to run JS?
I'm trying to use the SVGMacro (2.0) in my XWiki Enterprise 2.5M2.
I got editing working, but in an ill-advised experiment trying to
change the underlying svg-edit to 2.5.1 by blindly changing the
attachment on the SVGMacro page, the edit capability broke.
So I deleted all 3 of the pages (and emptied the trash) relating to
the SVGMacro, and then re-imported from the XAR.
However, now whenever I attempt to edit an SVG, I will get the Modal
Box popup, but the main pane contains the message: "Error This
template does not exist".
Does someone know what the correct procedure (I presume I'm doing
something wrong) to wipe and restore-from-scratch this macro?
Thanks!
--
View this message in context: http://xwiki.475771.n2.nabble.com/SVGMacro-Error-This-template-does-not-exi…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I would like to ask you about having one instance of xwiki (one database) in two different layouts. I use xwiki for documentation of our product and I need to have two different layouts of xwiki. The first one with all navigation and information panels and the second one only in a simple style without all these panels (e.g. similar to print style (print.css) in xwiki).
Do you know if it is possible to have one instance (one database) of xwiki in these two different layouts?
Thank you very much for your answer,
Zuzana Zapletalova.
Hello everyone
I have a question about embedding a flash file to my header
how can i do that?
I tried to embed it to a global.vm of my colibri skin file
however it did not show anything.
Hello,
Thanks for the great software,, I downloaded and installed
"xwiki-enterprise-installer-windows-2.4.exe" out of the box (means I'm using
Jetty),, then I went through the cool "Short URL" article:
"http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs"
All what I made different, was copying the application files from "xwiki"
folder to "root" folder,, (both inside webapps) to be able to run it from
the root.
I could successfully run the application using my short url
"http://domain.com/" but the Skins mapping is not working at all,, I spent
several painful hours trying to get it work, but all in vain.
When I used the script in the article ....................
<servlet>
<servlet-name>defaultSkins</servlet-name>
<servlet-class>org.mortbay.jetty.servlet.Default</servlet-class>
<init-param>
<param-name>relativeResourceBase</param-name>
<param-value>skins</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>defaultSkins</servlet-name>
<url-pattern>/skins/*</url-pattern>
</servlet-mapping>
...... it makes the whole application fails on this error ...........
HTTP ERROR: 503
Problem accessing /. Reason:
SERVICE_UNAVAILABLE
........ so I tried "org.mortbay.jetty.servlet.DefaultServlet" instead then
the error was gone but the skins directory is still not mapped !!!
Please help !
--
View this message in context: http://xwiki.475771.n2.nabble.com/Skin-Mapping-doesn-t-work-in-Jetty-after-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello again,
I've created new post to not to confuse future readers. As we know, importing users works well but what
about synchronizing them in the opposite way, I mean: xwiki -> ldap. Do you have something like that or
maybe planning to introduce such a feature ?
I think it could be useful - especially in case of updating user personal data. Of course, if this mode of
synchronization is already available, I will be grateful for any link to that topic.
Regards,
Piotr