Hello,
I'm fulfilling a request as seen on :
http://www.myxwiki.org/xwiki/bin/view/Main/
I'd like to use xwiki as a personal/family blog.
My user name at myxwiki.org : Thomas
The server name I'd like to use : fnd
Please let me know if it still possible.
Best regards
Thomas DOUCEDAME
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
I am trying to set up XWiki Enterprise Manager on WebLogic 9.2 with an
Oracle database. After deploying the application, and accessing it, I get
the following error.
The page still renders somewhat, but am unable to create wikis or do
anything.
Any help is appreciated, thanks.
Wrapped Exception:
java.lang.IllegalAccessError: tried to access class
org/mozilla/javascript/Defau
ltErrorReporter from class org/mozilla/javascript/CompilerEnvirons
at
org.mozilla.javascript.CompilerEnvirons.<init>(CompilerEnvirons.java:
48)
at
com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScri
ptCompressor.java:236)
at
com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScr
iptCompressor.java:397)
at com.xpn.xwiki.web.sx.JsExtension$1.compress(JsExtension.java:99)
at
com.xpn.xwiki.web.sx.AbstractSxAction.renderExtension(AbstractSxActio
n.java:91)
at com.xpn.xwiki.web.JsxAction.render(JsxAction.java:75)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
First of all I want say Hello to all the community.
I'm newbie of XWiki and wiki in general; I'm trying to start a enterprise
wiki and I choose XWiki after many consideration.
To create a clean and organized wiki I want give to the users the
possibility of create page starting from some template.
Previously, I use PbWiki and this platform offer some template by default,
like:
- blank template
- meeting (to schedule meetings)
- press release
- project
- to do list
and so on.
I have see the
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateADocumentTemplate LINK
that explain that purpose, but what I want to do is offer to the users a
choice from a list of templates to start from.
Have you some help to me?
Thank you
--
View this message in context: http://n2.nabble.com/Create-document-from-many-template-tp2424398p2424398.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
1) I've just migrated my xwikies to 1.8.4, seems to work fine, thanks
again team ;)
2) I have imported the "Extended Todo Application" v1.3 and it doesn't
worked first: adding a new todo => nothing new , the todo list was still
empty.
I saw that "Extended Todo Application" worked with "Date Picker". So I
downloaded "Date Picker", imported that application and now it works fine !
Maybe it could be usefull to add that information on the "Extended Todo
Application" page.
Or maybe I'm just blind (possible).
3) That "Extended Todo Application" v1.3 have dates on mm/dd/yyyy
format. is-it possible to use another format (like, for example,
dd/mm/yyyy) ?
Thanks,
Gaëtan
Hi,
I want to create an application similar or based on the attachment panel
application at the bottom of the xwiki pages. The application should let the
user select the file to upload to the xwiki server and write a description
of the file. Then, the file name and description should be automatically
added to a table. The first column of the table is the file name, that is a
link to the file. The second column of the table is the description of the
file. So, the table is like a repository of the files and its respective
descriptions.
My question is. Is there a macro or code snipped to add a file to the
attachment panel application?
Regards,
Abel
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}
Hi,
since update to 2.1 i can not delete attachments anymore.
Environment:
XE 2.1/Tomcat6/Mysql
Upload attachment
-> Delete attachment (Message Attachment deleted appears, "Attachments (0)"
displayes)
Reload page
-> Attachment is still here
Any idea?
Thanks
hel.
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Cant-delete-attachments-tp4197275p4197275.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I've done a installation on my localhost (Windows XP machine) of XE
2.1.1, Tomcat 6 and MySQL 5.1.
After this i wrote a bad hql query and executed it which brought MySQL
to spyke the CPU usage to 100% and even more rendering both the
localhost and database unusable.
{{velocity}}
#set($badhql = ", BaseObject obj, StringProperty stringprop,
LargeStringProperty largestringprop where (doc.name like '%$text%' or
doc.content like '%$text%') or (obj.name=doc.fullName and
stringprop.id.id=obj.id and stringprop.value like '%$text%') or
(obj.name=doc.fullName and largestringprop.id.id=obj.id and
largestringprop.value like '%$text%')")
#set($ok = $list.addAll(0, $xwiki.searchDocuments("$badhql")))
{{include document="XWiki.Results"/}}
{{/velocity}}
The bad thing is that $xwiki.searchDocuments brought me to this state
(no programming rights.).
Now my question is: Are there any remedies against this? MySQL
configuration statements that prevent this kind of behaviour?
--
Flavius Olaru
Hello! :)
I'm trying some velocity code on a farm, but it just works for superadmin
user, even though my user is registred on the main wiki, and have all
possible rights.
And i'm also trying to import Space explorer application, it didn't work on
the farm; i've imported it on the main wiki... This application works in all
wikis, but not farms.
Can anyone help me?
:(