Hi,
I'd like to test the latest version of xwiki from subversion repository but I have a big problem. I'm behind a proxy firewall where only port 80 is open for access to the internet. So I can't connect to the svn server. Is there any other possibilty? Maybe a http server to connect?
Best regards
Benjamin
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Sorry, I forgot to tell that I'm using a local installation of xwiki 0.9.840
BR
Jérémie
________________________________
From: BOUSQUET Jeremie [mailto:Jeremie.BOUSQUET@gemalto.com]
Sent: mercredi 22 novembre 2006 17:31
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Dates and Groovy
Hello,
I'm having a hard time manipulating Date objects in Groovy implementation ...
I basically want to get a timestamp of a month ago. For example I get a timestamp "200611" for now, and I want to retrieve the "200610" string.
This is what I'm doing:
<%
timestamp = $xwiki.formatDate($xwiki.getCurrentDate(),"yyyyMM")
oldtime = $xwiki.getDate().getTime()-(1000*60*60*24*30)
def olddate = new java.util.Date(oldtime)
oldtimestamp = $xwiki.formatDate(olddate, "yyyyMM")
%>
olddate contains a modified date (maybe the computation is wrong but for now it's not my problem). I get an error on last line, a NullPointerException occurring in the formatDate method. But I logged that olddate is not null (it contains a Date), so I don't really understand from where would come the NullPointerException ?????
Many thanks in advance,
Jérémie
John,
I am a complete newbie as far as java/tomcat is concerned and was wondering what do you do with the string2.java file? Does it need to be copied to a specific location?
in xwiki.hbm.xml you made a note saying
20.02.2006; JTurner; com.nobody.xwiki.String2 renamed to
com.nobody.hibType.String2. (String2 is now in xwiki-hibType.jar
- was previously in string2.jar).
I don't have this jar file.
Thanks
Vic
Hello,
I'm having a hard time manipulating Date objects in Groovy implementation ...
I basically want to get a timestamp of a month ago. For example I get a timestamp "200611" for now, and I want to retrieve the "200610" string.
This is what I'm doing:
<%
timestamp = $xwiki.formatDate($xwiki.getCurrentDate(),"yyyyMM")
oldtime = $xwiki.getDate().getTime()-(1000*60*60*24*30)
def olddate = new java.util.Date(oldtime)
oldtimestamp = $xwiki.formatDate(olddate, "yyyyMM")
%>
olddate contains a modified date (maybe the computation is wrong but for now it's not my problem). I get an error on last line, a NullPointerException occurring in the formatDate method. But I logged that olddate is not null (it contains a Date), so I don't really understand from where would come the NullPointerException ?????
Many thanks in advance,
Jérémie
Hi there,
I've just installed Xwiki in local to try it out, and i'd like to customize the theme.
Ludovic said in a (very) old post that you can create your own new skin by creating a "skins/newskin" folder next to "skins/default" folder, putting in it all the template files and css files (coming from "skins/default") that you need to modify and modifying them.
Then watching the result by using "?skin=newskin" or turning it on in the preferences.
So i did this way, and it works well when modifying the templates structure(ie: header.vm).
But i got some trouble as soon as it uses getSkinFile() which is supposed to call the file between () with its path (am i wrong?): it always call the file from the default skin folder (while it uses the header.vm from newskin folder :/ ).
So i don't manage to call my own logo or my modified style css from my "newskin" folder. Should'nt it automatically switch to newskin folder path since i use newskin skin in my preferences?
Where am i wrong?
I know i could modify the skin via the edit object.. and so on but i'm not comfortable with that approach and i'd prefer to be able to gather all the skin files in hard in a same folder.
Thanks in advance
Nicolas
Hi all,
I'm sure this is a lack of understanding on my part, but I can't seem to
enable any of the additional tools in velocity. I've added the mathtool
to the toolbox.xml under WEB-INF (and restarted), but $math is still not
available in pages. I added the following to toolbox.xml:
<tool>
<key>math</key>
<scope>application</scope>
<class>org.apache.velocity.tools.generic.MathTool</class>
</tool>
And my web.xml points to that toolbox.xml (though I think that's only for
the velocityview servlet configuration, not used in xwiki?). Is there
anything else I need to do to enable $math in a page?
I did find that if I explicitly load it, it works:
#set ($math =
$context.getClass().forName("org.apache.velocity.tools.generic.MathTool").newInstance())
I know this is highly unrecommended, and I'd like to get it working the
normal way. Any suggestions?
-Tom
--
Tom Kliethermes
eSupport Initiatives
IBM Information Management
(913) 599-7240 Fax: (913) 599-8590
http://www.ibm.com/software/data