Hi
I've tried to install xwiki on another computer and we have a problem
with authentification.
It seems the rememberme cookie is never created and authentification
redirects us on webhome but unlogged.
Anybody has an idea?
Thank for your time.
Antoine
Hi devs,
A short line to let you know that I will integrate the invitationmanager
plugin developed for curriki as a platform-plugin this afternoon.
Regards,
Jerome.
Hello All,
I have come across this many times and am not sure what I am doing wrong
here.
I have a simple HTML form on a page and there is one <select> type input.
If I try to get the selected value of this field on the same page, using
#set($something = $request.getParameter("name of the filed")) , it does not
do anything
but if I do the same in a .vm file, it gets the value fine. What am I doign
wrong, in the process of getting the value on the same page using velocity.
Thanks
Hi everyone,
Just to let you know that XWiki has a booth at JavaOne (actually
sharing the OW2 booth). Booth #212.
There are 3 XWiki committers present: Ludovic Dubost, Jean-Vincent
Drean and Vincent Massol.
If you're at JavaOne come and say hello!
See you there,
-Vincent
I would like to execute an export of all/some of the wiki pages in a
batch mode (ex. with a script and a java program).
In the same way I would like to execute an import.
Is there an easy way to do this?
Looking forward in the xwiki sources I found two classes that seem to do
what I want:
* com.xpn.xwiki.tool.backup.ExporterMain
* com.xpn.xwiki.tool.backup.ImporterMain
Both classes are in the maven plugin called xwiki-packager-plugin.
Is there any documentation that explain how use that plugin?
thanks,
Lorenzo
On May 5, 2008, at 6:57 PM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2008-05-05 18:57:49 +0200 (Mon, 05 May 2008)
> New Revision: 9648
>
> Modified:
> xwiki-platform/core/branches/xwiki-core-1.4/xwiki-core/src/main/
> java/com/xpn/xwiki/XWiki.java
> xwiki-platform/core/branches/xwiki-core-1.4/xwiki-core/src/main/
> java/com/xpn/xwiki/util/Util.java
> xwiki-platform/core/branches/xwiki-core-1.4/xwiki-core/src/main/
> java/com/xpn/xwiki/web/SkinAction.java
> Log:
> XWIKI-2360: Add correct Last-Modification header for filesystem skin
> files
> Done
> Patch submitted by Raffaello Pelagalli, applied with some changes
> Merged from trunk@9646
>
>
> Modified: xwiki-platform/core/branches/xwiki-core-1.4/xwiki-core/src/
> main/java/com/xpn/xwiki/XWiki.java
> ===================================================================
> --- xwiki-platform/core/branches/xwiki-core-1.4/xwiki-core/src/main/
> java/com/xpn/xwiki/XWiki.java 2008-05-05 16:56:00 UTC (rev 9647)
> +++ xwiki-platform/core/branches/xwiki-core-1.4/xwiki-core/src/main/
> java/com/xpn/xwiki/XWiki.java 2008-05-05 16:57:49 UTC (rev 9648)
> @@ -931,6 +931,19 @@
> return Util.getFileContent(new InputStreamReader(is));
> }
>
> + public Date getResourceLastModificationDate(String name)
> + {
> + try {
> + if (getEngineContext() != null) {
> + return
> Util
> .getFileLastModificationDate(getEngineContext().getRealPath(name));
> + }
> + } catch (Exception ex) {
> + // Probably a SecurityException or the file is not
> accessible (inside a war)
> + LOG.info("Failed to get file modification date: " +
> ex.getMessage());
I think this should be warn and not an info, WDYT?
We should also explain the message that the current date will be used
instead I think.
[snip]
> + public static Date getFileLastModificationDate(String path) {
> + try {
> + File f = new File(path);
> + return (new Date(f.lastModified()));
> + } catch (Exception ex) {
> + return new Date();
Shouldn't we display a warn message here too? If not, then we should
have a comment to explain why we don't want a message...
Thanks
-Vincent
Dear Devs,
Niels, who has comment on the list before, is taking on development tasks
for Curriki. As such he will need commit access to SVN. Please cast your
vote to accept this request.
Joshua Marks
CTO
Curriki: The Global Education and Learning Community
jmarks(a)curriki.org
www.curriki.org
Hi,
Using xwiki class editor we can create classes and package them as
application. Classes can also have an entity relationship among themselves.
I have few question on how can we relate classes in xwiki. Let me start by
posting a simple example:
Say our application has two classes Product and Review. Relationship between
them is a product can have multiple reviews.
Now I can relate these classes in following way:
1. Create a product document and add the product object to it. All the
reviews for that product are also added to that product document as review
objects. Thus I have grouped reviews to a product.
2. Create a product document and add the product object to it. For each
review for that product created a review document and add review object to
that review document and make review document child of product document.
Thus I have arranged reviews as children of a product.
3. In the review class add a db list field, which refers to objects of
product class. While creating a review object choose the right product name
from the list. Thus reviews are associated to a product.
Thus you can see that in each of the three ways I have related two classes.
Only difference is different ways of storing them. (again presentation still
can be same and I am here interested in optimal storage strategy only).
So I would like to know which of the above three is the best way of relating
classes. Are there any more ways of achieving the relationship I talked
initially?
I would like to know from people who have been developing complex
applications involving relationship between several xwiki classes as what
would be the best way of arranging the use case just described.
Thanks
Sachin
-----
http://www.assembla.com/wiki/show/sachin_mittal about me:
--
View this message in context: http://www.nabble.com/Relating-classes-in-xwiki-tp16851540p16851540.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hello all,
I have been looking for a way to store attachments (the binary 'content'
data only) as regular files on the servers filesystem. I already read
through the archives and found out so far that this is possible via writing
my own implementation of the
com.xpn.xwiki.store.XWikiAttachmentStoreInterface and then set have them
used via settings in xwiki.cfg. (see this thread in the markmail archives:
http://markmail.org/message/zyd2tpfj2x45hyxt )
What I do is just taking out the XWikiAttachmentContent content property's
byte[], stream it into a file and replace the property value with the path
to this file. so I need no changes to the hibernate mappings etc. ... and
when reading it in, doing a file read accordingly ...
So I store everything as usual with Hibernate, just the pure content is
stored as file (with an unique id embedded in the filename)
Q1) ... any better idea? (its working fine so far ;o)
Q2) I am looking for a way to set the store implementations on a per-space
basis.
Or: How can the store implementation see to which space the attachment's
parent page belongs and read in any config (string) for this space?
Q3) Any other Interfaces I should provide a filesystem based implemention
for? So far it seems I dont need to make any changes to the Recyclebin and
Versioning store implementations.
Q4) Is there a way to turn off caching for attachments only? I turned off
caching totally with
xwiki.store.cache=0
xwiki.store.cache.capacity=0
and this is a performance nightmare. But I need to turn off only the caching
of attachments. Is this possible?
Thank you in advance for any bit of input ;o)
Michael
--
View this message in context: http://www.nabble.com/AttachmentStore---my-filesystem-based-implementation-…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi
I am from India. At present i am in final year... I selected the XWIKI for
my project.
I want to know how to create a new skin in my XWIKI...
Please Help....
--
Thanks,
Prathap Pandian M