Hi all,
When I create a page in a Space called "MySpace" using Title "a.b.c" , it
created a page call "c" under the space "a.b". (a.b: c)
Is there anyway I can allow users create document with dot on the Title
please? I would expect the document to be called "MySpace: a.b.c"
Many Thanks
Art
--
View this message in context: http://n2.nabble.com/Creating-a-page-with-dot-on-the-Title-tp1112070p111207…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello everyone,
I've activated the statistics on my virtual xwikis, but when I access
the page XWiki/Stats I see the code, but not statistics, as this:
<% period = request.get("period") Calendar cal = Calendar.getInstance();
cal.setTime(new Date()); if (period==null) { period =
cal.get(Calendar.YEAR) * 100 + (cal.get(Calendar.MONTH)+1) }
jour = cal.get(Calendar.YEAR) * 10000 + (cal.get(Calendar.MONTH)+1) *
100 + (cal.get(Calendar.DAY_OF_MONTH)+1)
type = request.get("type") if (type==null) type = "view"
%>
In the xwiki.cfg, this is the section related to statistics:
xwiki.stats=1
xwiki.stats.default=1
xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
Any help?
Thanks!
Vito
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
Hello all,
I'm working with the last version of XE and i get the LDAP authentication on
my Active Directory Domain.
My problem is when i move a user to a different OU in the Active Directory,
the user can't login in Xwiki anymore...(Error : Wrong password).
Is there a way to configure the xwiki.cfg in order the authentication could
"browse" the all Active Directory to find the user and allow him to login ?
Thanks in advance.
--
View this message in context: http://n2.nabble.com/Xwiki-LDAP-Authentication-doesn%27t-work-when-you-move…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Drool, I'll be watching this string and looking for that app :)
Philip Wright
Reports Analyst
ACS: BPS
Office: 503-907-1501 ext 3714
Cell: 503-891-4920
Philip.wright(a)acs-inc.com
Affiliated Computer Services, Inc
Affiliated Computer Services, Inc (ACS) Proprietary and Confidential
Information
This document (or any part thereof) may not be disseminated outside of ACS
in either electronic or physical form without specific authorization of the
office of the ACS Chief Information Security Officer. The information
included in this document represents no commitment by ACS to any other
party. The policies and standards described do not consider any country law
or other directive outside of the United States.
P Please consider the environment before printing this email
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Guillaume Lerouge
Sent: Tuesday, July 01, 2008 2:39 PM
To: XWiki Users
Subject: Re: [xwiki-users] Brainstorming XWiki Favorites
By the way, 2 additional ideas :
- You could add a static list property (with [1,2,3,4,5] as allowed
values) to rank the importance / interest of favorites and display them
according to their ranking on the page (thru a hql sort query)
- Don't forget to add your application on http://code.xwiki.org/ once a
first working version is out ;-)
Guillaume
On Tue, Jul 1, 2008 at 11:32 PM, Mike Oliver <moliver(a)corenttech.com> wrote:
>
> Good ideas, I followed the ToDo example and created a Favorites space
> to store the documents but agree better to store them by user. I
> guess I can get it working in the ToDo model first and then move the
> location of the documents and change the filter accordingly.
>
> Our messages passed on the wires where Posted my first pass.
>
> Ollie
>
>
> Guillaume Lerouge wrote:
> >
> > Indeed. I'd still advise looking at how the watchlist feature is
> > implemented since it somehow manages to store user preferences in
> > their profiles and you're going to need that feature in your
> > implementation I guess...
> >
> > Not sure whether there's been any recent discussion on creating
> > easy-to)use user profiles extension points - though this kind of use
> > cases (as well
> as
> > a
> > bunch of others) show they're needed. I think there is a way to
> > access them right now without changing the UserClassSheet (maybe by
> > adding new kind
> of
> > objects to user profile pages...)
> >
> > Re your implementation, I'd advise having the list of favorited
> > pages stored in one (or many) objects attached to the user profile
> > page of the current user and writing a panel taking the currently
> > logged user UserName as a parameter, retrieving the data from those
> > favorite objects stored on his user page and displaying their values
> > in the panel ...
> >
> > Guillaume
> >
> >
> >
> >> Ollie
> >>
> >> Guillaume Lerouge wrote:
> >> >
> >> > Hi Mike,
> >> >
> >> >
> >> >> Can I filter on the user that created the record of the
> >> >> favorites
> >> class?
> >> >>
> >> >
> >> > Sure... But why don't you have your users use the Watchlist
> >> > feature
> >> that
> >> > basically already is XWiki's favorites system for individual users ?
> >> >
> >> > Cf
> >> http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplicat
> >> ion
> >> > ,
> >> > it's bundled with all recent versions of XWiki Enterprise AFAIR ...
> >> >
> >> > You might still want to add that description field though...
> >> >
> >> > Guillaume
> >> >
> >> >
> >> >
> >> >>
> >> >> Ollie
> >> >>
> >> >> Wright, Philip wrote:
> >> >> >
> >> >> > Idea is to allow the user to create the description? If so
> >> >> > sounds
> >> like
> >> >> a
> >> >> > GREAT idea.
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > Philip Wright
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p1822333
> 9.html
> >> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >> >>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> users(a)xwiki.org
> >> >> http://lists.xwiki.org/mailman/listinfo/users
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > http://wikibc.blogspot.com/
> >> > _______________________________________________
> >> > users mailing list
> >> > users(a)xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p1822406
> 7.html
> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > http://wikibc.blogspot.com/
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p1822576
> 2.html Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Dear all,
I have a class with a UserList attribute. I am trying to add users to
this list from an other page with no success. I try using the following
code :
#if($joinTask!="")
#set($taskDoc = $xwiki.getDocument("Project.${joinTask}"))
#set($taskObj = $taskDoc.getObject("XWiki.TaskClass"))
#set($list = $taskObj.get("assignedPeople"))
$list.add($xwiki.getUser())
$taskObj.set("assignedPeople", ${list})
$taskDoc.save()
#end
but $list.add does not exist so I tried differently :
#if($joinTask!="")
#set($taskDoc = $xwiki.getDocument("Project.${joinTask}"))
#set($taskObj = $taskDoc.getObject("XWiki.TaskClass"))
#set($list = $util.getArrayList())
$list.add($xwiki.getUser())
$taskObj.set("assignedPeople", ${list})
$taskDoc.save()
#end
but I have a casting exception.
I had a look on the velocity website, on this list archives,... with no
success
My question is : Can I add users like that or the only way is through
the edit panel and if yes, what is my mistake ?
Best regards,
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
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,
I've gone to the XWikipreferences, then edit > Class.
Here's what is set:
name: upload_maxsize
Pretty Name: Maximum Upload Size
x No
Number: 53
Number Type: long
Size: 200
Error: XWiki has a default limit of around 10Mb for attached files.
This limit can be changed using the upload_maxsize parameter. Check
the FAQ for more information.
Any ideas?
Hi All
I am having a problem uploading a xar file. I get "Java Heap Space, Out
of memory exception" (full message below).
I've downloaded the latest version of XWiki for windows xp (beginner's
version with HSQLDB & Jetty).
In my start_xwiki.bat I have set "set JAVA_OPTS=-Xmx1600m -Xms512m".
1.6gb is the maximum as xwiki would not start if I go over this.
I don't think I have CATALINA.bat any ware so I din not find where to
set CATALINA_OPTS.
I have changed file upload size to 133MB by going to
http://localhost:8080/xwiki/bin/edit/XWiki/XWikiPreferences?editor=objec
t and changing Maximum Upload Size:.
The .xar file is 90MB downloaded as backup from
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/WebHome.
I do not know what version this runs on since it is on one of the xwiki
farm things :-).
I have Win XP with 3.5gb memory available.
Has anyone had this error recently?
Regards
Ajdin Brandic
Here is the full error message:
A problem occured while trying to service your request. Please contact
the support if this happens again.
Detailed information:
Error number 11014 in 11: Java Heap Space, Out of memory
exception
Wrapped Exception: null
com.xpn.xwiki.XWikiException: Error number 11014 in 11: Java Heap Space,
Out of memory exception
Wrapped Exception: null
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.getFileItemData(FileUpl
oadPlugin.java:297)
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:78)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:830)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:94)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:287)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
)
at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
java.lang.OutOfMemoryError
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin.getFileItemData(FileUpl
oadPlugin.java:293)
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:78)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:830)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(Conversion
Filter.java:94)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:287)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
)
at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi guys,
I found a code snippet on xwiki.org, that does a TreeNav feature, but
actually, this is not what I want. I would like to have the Treeview,
as on /XWiki/Treeview inside a panel. As a matter of fact, it seems
the code for Treeview does only work, when there is nothing else on
that page, so adding just a line of text in the beginning of the
XWiki/Treeview page seems to make the "+"-signs to open the
tree-structure unusable. Probably for the same reason, I did not
manage yet, to get it inside a panel. Do you have some ideas, what I
could do to get what I want?
Thanx,
Sebastian