Hi
I've modified http://localhost:8080/xwiki/bin/view/XWiki/XWikiSkins
with the class editor.
I've used the Add Property Panel to add a property "toucan.css" of
type TextArea
In the editor i set the size of the property to 100000 (toucan.css is
a very large file)
I've tried to set the type to PureText and FullyRendered...
THen I modify the default skin on http://localhost:8080/xwiki/bin/edit/XWiki/DefaultSkin?editor=object&classn…
I copy and paste the content of the original toucan.css in the toucan
field
Try to save but:
problem occurred while trying to process your request. Please contact
the webmaster if this happens again.
Detailed information:
Error number 3201 in 3: Exception while saving document
XWiki.DefaultSkin
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#
=> The complete toucan.css
and the rest of the error
]
at
org
.hibernate
.persister
.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at
org
.hibernate
.persister
.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:
2412)
at
org
.hibernate
.persister
.entity
.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:
2312)
at
org
.hibernate
.persister
.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:
2612)
at
org
.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:
263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:
168)
at
org
.hibernate
.event
.def
.AbstractFlushingEventListener
.performExecutions(AbstractFlushingEventListener.java:298)
at
org
.hibernate
.event
.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:
27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:
106)
at
com
.xpn
.xwiki
.store
.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:
852)
at
com
.xpn
.xwiki
.store
.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:
823)
at
com
.xpn
.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:
589)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:
135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:
128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1283)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
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(RequestProcessor.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:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
269)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn
.xwiki
.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:
145)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn
.xwiki
.web
.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:
295)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn
.xwiki
.web
.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
112)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
213)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
172)
at
org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
117)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
875)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org
.apache
.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org
.apache
.tomcat
.util
.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
81)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:613)
Hi,
I migrated the binaries from 1.5 to 1.8.2 (I'm on linux redhad / tomcat 5.5
/ mysql 5).
When importing default xar, most of the pages fail to be imported. Logs show
these kind of messages :
"ERROR packaging.Package - Failed to save document
Stats.WebHome"
In some cases, it fails on delete of existing pages.
As I had many errors I removed the activity stream plugin temporarily. As it
was too resource consuming, I also removed lucene to avoid full indexing at
startup. Errors on import were the same with or without these plugins.
I really don't know what I missed ... If anyone has a clue, thanks.
Best regards,
Jeremie
--
View this message in context: http://n2.nabble.com/XWiki-1.8.2-%3A-migration-from-1.5%2C-import-default-.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Just an idea, maybe your wiki is not configured to be viewable by guest
users, meaning xwiki will redirect to login page whenever a not logged in
user try to view a page ?
You might check the rights allowed to group XWikiAllGroup, in "Rights" under
Administration pages, and the following options in same page :
- Prevent unregistered users from viewing pages, regardless of the page or
space rights
- Prevent unregistered users from editing pages, regardless of the page or
space rights
--
View this message in context: http://n2.nabble.com/homepage-in-xwiki-tp2954111p3019299.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
First: could you validate my understanding.
When a document url is requested XWIKI will get the document from the
database and start applying velocity-templates.
It will look, according to skin-setting, down a "template path" and if
a programmer did not put a "modified" template on the path it will end
in the templates directory (xwiki/templates)
A programmer can put a template on the path by putting a rightly-named
*.vm file in a directory in skins directory
(xwiki/skins/toucan or xwiki/skins/#####) (where ##### is the name of
the skin)
A programmer can also put a template as a object in a xwiki-page of
class XWiki.XWikiSkins
You create a TextArea with the same name as the original template,
without the vm extension
The mother(s) of all templates are view.vm, edit.vm, preview.vm and
save.vm?
xwiki will always only apply the first found template of a certain
name, meaning if you put some script in header object in the xwiki
page of your skin it will ignore the header.vm files on the file system?
This would imply that you best first copy the orginal script into the
text-area field and then make your changes?
Would this practise not lead to missing out on features of newer xwiki
versions, assuming that the template-scripts are also improved? Or is
the programmer forced to, with each upgrade, examine his/her scripts
against the scripts in the templates directory?
What is best practise here?
Second;
If you put also graphical elements, CSS scripts in the
XWiki.XWikiSkins page of your skin
how does xwiki know if it is a velocity-script, a css or a graphical
element?
Gerritjan
I would like to know how to display only an specific field from a class in inline mode, obviously using the code in the class sheet related to that class.
I would like to show only one field in inline mode because I need that embeddeb html editor that appears only in inline mode for text fields. The other fields can be showed in normal edit mode.
Thank you so much
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
First of all I would like to thanks anybody who has available time to answer my question.
This is really important for me.
My problem is described below :
I have a class named Problem.
It has a text field.
When I have a page using the Template and the Class Sheet related to that Problem Class, I edit that specific page in inline mode, so I have access to put information in that specific "text field" using an embedded xwiki HTML editor, but the problem is that in inline mode I have so many buttons available, and I would like to have only my own button(and only that button) in order to save all typed data to avoid some confusion in the user's mind(with so many buttons). When I use a form in edit mode I can have only my own button to save the information in the form, but the problem than is that I have no access to that embedded xwiki html editor, so I can't put images etc... in the text field.
Could anyone, please, give me a solution.
Thank you so much.
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
Hi,
On a page I have a html document attached and I link to that document:
[[Some HTML Document>>attach:MySpace.MyPage@myattachedfile.html]]
This is working fine.
But the attached html document is very large and contains a lot of
anchors for easier navigation inside the document.
So I'd like to improve the xwiki link to point directly to one of these
anchors in the html attachment.
I modified the link:
[[Some HTML Document>>attach:MySpace.MyPage@myattachedfile.html#someAnchor]]
But unfortunately this is not working. The hash is always escaped.
Is there a way to link directly to an anchor in an attached html document?
Importing the html document in the wiki page is not an option, it has to
be attached.
We're using 1.8.3.
Thanks.
Reto
Hi guys,
is raw database hacking the only way to remove such pages?
e.g. when looking at the orphaned pages tab in AllDocs, I find documents,
generated through faulty code evaluation, such as .../SpaceName/<em class= ,
so to say, somehow the page was created with somje html stuff in its name.
I've got lots of other examples. But when clicking on delete, XWiki tells
me, that the page does not even exist yet. So, what can I do to delete it
without hacking in the database itself.
thanx for any suggestions
Sebastian
Hi
I'm getting this error (see below) while trying to rollback to an older
document version.
I have made some class property changes (additions) recently, could this
prevent a correct rollback?
If so is there a solution?
Error number 3201 in 3: Exception while saving document
Patterns.GuessMyX
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
Thanks
Ajdin
--------------------------------------------------------
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,
We've just upgraded our wiki from 1.4.0 to 1.8.4 and are unable to
activate any of the syntaxes - the syntax selector is not available in
edit mode.
Steps we've taken:
- imported the default xar file
- updated the plugins list
- updated the configuration files -
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigur…
We have no customisation to the panels/skins etc.
Where should I look to find out how to activate the new syntaxes?
Thanks,
Robert
Hello,
I'm trying to configure virtual wikis following the documentation provided
at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization.
I managed to configure manually some virtual wikis but then I'm no more able
to administrate users,groups and rights using the administration/preferences
interface (works well in NO virtual mode). The page freezes on "loading"
and no users/groups or rights are diplayed.
I've got javascripts errors in the firefox's console and the following css
and javascript resources are not available when I run xwiki in virtual mode:
/prismewiki/bin/skin/resources/js/xwiki/usersandgroups/usersandgroups.css
/prismewiki/bin/skin/resources/js/xwiki/table/livetable.css
/prismewiki/bin/skin/resources/js/xwiki/lightbox/lightbox.css
/prismewiki/bin/skin/resources/js/xwiki/xwiki.js
/prismewiki/bin/skin/resources/js/xwiki/lightbox/lightbox.js
/prismewiki/bin/skin/resources/js/xwiki/usersandgroups/usersandgroups.js
/prismewiki/bin/skin/resources/js/xwiki/table/livetable.js
I got 302 http status for those urls and I can't access those urls.
Besides I expected those resource to be something like:
/prismewiki/xwiki/myvirtualwiki/bin/skin/resources/js/xwiki/usersandgroups/usersandgroups.css
but even with that "virtual" url I still cannot access the resource.
Thank you in advance for your help.
Regards,
Laurent
Hi.
We have a repository of articles (our Old CMS) we would like to import
into xwiki automatically.
These Articles are in a propietary XML format, one XML file per article.
What would be the best approach?
We have ability to restructure/transform xml into another xml by means
of xslt.
Which approaches could we research?
Gerritjan
joyfan wrote:
>
>
>
>
> When upgraded my Xwiki to version1.8.1,I got the problem too.
> The error message like this:
> [Statistics storing daemon] ERROR objects.BaseCollection - Failed
> to get class [internal] from wiki [xwiki]
>
>
>
I am using the 1.8.2 version, i am also getting this error in the log, any
solutions is this a problem?
--
View this message in context: http://n2.nabble.com/ERROR--BaseCollection--Failed-to-get-class--internal--…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
I'm new to xwiki and I want to create a page that has a text box and a
button that when I press it i want to display under the button the text
introduced in the text box.
How can I do this using groovy?
Thanks!!
--
View this message in context: http://n2.nabble.com/Need-help-with-input-text-tp2971708p2971708.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.9 Release Candidate 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
First release candidate of the XWiki Enterprise 1.9 version.
Main changes:
* The default syntax is now 'xwiki/2.0' which means that new
documents will be created with this syntax. Note that XWiki Enterprise
documents (user profile, recent changes, etc) are still using the
"xwiki/1.0" syntax, they will be migrated during the 2.0 release
cycle.
* WYSIWYG Improvements
** Ability to insert level 6 headings
** Allow adding and editing lists in table cells
** Allow adding complex content inside list items
* Important Bugs fixed
** Many WYSIWYG bugs fixed
** Many 2.0 syntax bugs fixed
** Many 1.0 to 2.0 conversion bugs fixed
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise19RC1
Note that general goals for XWiki Enterprise 1.9 are:
* Finish/stabilize/document new rendering
* Finish/stabilize/document new wysiwyg editor
* Finish/stabilize/document office importer + doc splitter/management
* Finish/stabilize/document webdav
* Finish/stabilize/document REST support
* Usability improvements
Thanks,
The XWiki dev team
Hey everyone,
We upgraded from XWiki 1.2 to XWiki 1.7.2, and exported all created pages
and spaces from the old to the new version. We created new users and
groups in the new version, using the user names and group names that had
been used for the old version.
Customizing the 'Quick Links' panel using code like
#if ($xwiki.hasAccessLevel("view","<space name>.WebHome"))
* <link>
#end
works for the old settings (i.e. space rights for users and groups).
However, it doesn't work for newly created spaces. It doesn't work for
newly created groups either. Nonetheless, it works when setting admin
space rights for the newly created groups and/or spaces.
Since this seems to be a bug, I created the Jira issue XE-440. I still
would like to hear, if some of you have a similar problem.
Best regards,
Sascha
Hi,
just found that since my update (1.8.3) no users and groups are displayed in
the Admin-Application in my virtual wiki in the main wiki they are still
available.
I imported the default xar.
Thanks
hel.
-----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/No-users-and-groups-tp2938876p2938876.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello everyone,
I just finished updating an application 'mktree' and have created the
application page in the codes section.
This is just a simple script borrowed from the work of Matt Kruse and
converts basic ul-li list to collapsible tree.
I had to devise this since we are using this tree to "drill-down" to
possible resolutions based on error symptoms.
The helpdesk support has to chose between various nodes of the tree to reach
a possible resolution.
Of all the trees I saw, this was by far the simplest of all & easiest to
implement. With a size of 4kb it was definitely not going to affect
performance of the pages.
This is my first ever contribution to the XWiki project. It is a very small
contribution but I hope someone somewhere will find it useful.
A big thanks to Jerome for his hint which helped me finish this application.
Also, I have some questions about developing applications.
1. What is the recommended size of the application .xar file? Is there a
upper limit / benchmark beyond which the performance of the page in a wiki
will be affected?
2. What is the general opinion about plugins/applications developed in
JQuery or some other javascript library? I've been through a page on
XWiki.org which rationalizes the use of javascript libraries. However, is
JQuery completely off the list? Will this javascript library cause conflict
with prototype & script.aculo.us? I've implemented a tooltip plugin based on
the updated jTip library. I was really interested in contributing the
tooltip application to XWiki.
Thank you all.
Hi,
The displayUsersAndGroups is a function defined in webapps\xwiki\resources\js\xwiki\usersandgroups\usersandgroups.js
Does your file exists ?
Also in the source of the users management page, do you have this somewhere :
<script type='text/javascript' src='/xwiki/bin/skin/resources/js/xwiki/usersandgroups/usersandgroups.js'>
The first error can't be a translation error with the content of your string where you have to replace part of text ?
Do you have the same error in english ?
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de hel-o
Envoyé : lundi 25 mai 2009 10:54
À : users(a)xwiki.org
Objet : Re: [xwiki-users] No users and groups
Hi,
and sorry to bother you, but i really would need help on this. I cannot
manage rights without groups and users and i cannot figure out why i cannot
see them.
upgraded to 1.8.4 imported the default xar, cleaned the browser cache ->
users and groups in the main wiki are ok
no users and groups are displayed in the virtual wiki
firebug shows 2 errors (e.g. calling rights management):
missing ; before statement
[Break on this error] var denymessage = "Sie sind
ge...zen?".replace('__right__', self.right);\n
Javascript.jtp (Linie 12)
displayUsersAndGroups is not defined
[Break on this error] var ta = new ASSTable("?xpage=ge...upstable",
displayUsersAndGroups, true);
It would be great if somebody could give me a hint.
Thanks
hel.
-----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/No-users-and-groups-tp2938876p2968617.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
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi all,
The Extended ToDo Application seams to be the more active application (than the Task Manager Application). Is there any way to add these nice features to that application too?
- "create a todo linked to a page"
- "list all todos by page / by assignee / by reporter"
- "create a todo having a sequential number within a space"
Thanks
mb
Hi,
I'm puzzled by HOW scripts, CSS, images can be located by XWIKI that
reside in the skindirectory inthe skinsfolder (Albatros, Toucan or
custom build skins)
How does this work?
My question is most urgent on scripts (Velocity in my case)
I see the developper has created a few scripts: attachmentsinline.vm,
endpage.vm, registerinline.vm, changeavatar.vm, footer.vm,
registeruser.vm
editactions.vm, global.vm, startpage.vm, editinline.vm, history.vm,
stylesheets.vm, editmodes.vm, login.vm, userinactive.vm,
editpanelsvars.vm
menuview.vm, validations.vm, edituser.vm, passwd.vm
I list them all on purpose;
some scripts I can trace back to scripts in the xwiki.docs, They are
invoked from a piece of code
<script type="text/javascript">
window.onload=disableLinkForPopup;
document.getElementById("menuview").style.display="none";
document.getElementById("globallinks").style.display="none";
</script>
(notice the call to "menuview")
Some are invoked from the other (example in global.vm)
#template("validations.vm")
But I can not trace back all of the scripts in the list above, either
they are useless or they are called by some XWIKI process i'm not
aware off.
I'm in the process of moving all these files of the custom skin into
the wiki (to get rid of dependencies of system managers) , but untill
I understand how they work or are invoked I find it tricky
Gerritjan
Dear list,
In a thread titled "Tags" with last timestamp Mon Jan 19 12:40:39 CET
2009 (post by Ajdin Brandic), the problem of a xwiki Tags page
displaying the message "No documents have been tagged yet..." was discussed.
Vincent Massol showed that the problem was caused by a page being saved
without programming rights.
I am having a very similar problem on XWiki version 1.8.17790 on a local
server but still the same error, even when (re)saving the Tags,
TagsClouds and other related pages using an Administrator account with
all rights (inc. programming rights).
Is some other step necessary to fix this?
Thanks for any thoughts!
Chris Wood
While testing an upgrade between 1.6.2 and 1.7.2, LDAP authentication to
Active Directory breaks for me between these two versions. I've got
debug logging enabled which shows the following.
1.6.2 successful authentication: http://pastebin.com/m3492775c
1.7.2 authentication failure: http://pastebin.com/m20121b9
LDAP configuration: http://pastebin.com/m5a1db571
Bonjour à tous,
If possible, I'd like to open a wiki named "queyracines.myxwiki.org" which would
be used by a non-profit community around the Queyras history and culture (area
of the Hautes-Alpes in France).
My id on myxwiki.org is "slauriere".
By the way, the home page of myxwiki.org seems to link wrongly to the port 8080
in the box titled "Wikis you view", doesn't it?
Kind regards
Stéphane
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.8.4 and XWiki Enterprise Manager 1.6.4.
This release contains 55 bugfixes and enhancements. Most of the
modifications are targeting the general replacement of old 1.0 code
and content by 2.0 syntax and architecture and the stabilization of
XWiki.
Summary of changes since XWiki Enterprise 1.8.3 :
* Many WYSIWYG bugs fixed and improvements
* Many 2.0 syntax bugs fixed
* Many 1.0 to 2.0 conversion bugs fixed
* Several PDF export bugs fixed and improvements
* Improvements for the Office Importer
* A few bug fixes in many other places
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise184
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM164
Thanks
-The XWiki dev team
My Configuration
MAC OS X 10.5.7
Tomcat 5.5
MySQL
XWIKI 1.8.3
I'm trying to import a XAR file of approx 6.2 MB
I had a heap-size error, but changed the tomcat startupscript as follows
#!/bin/sh
export CATALINA_HOME=/usr/local/apache-tomcat-5.5.27
export JAVA_HOME=/usr
export JAVA_OPTS=-Xmx512m
$CATALINA_HOME/bin/startup.sh
Now I get following error?
A problem occurred while trying to process your request. Please
contact the webmaster if this happens again.
Detailed information:
Error number 3232 in 3: Exception while saving attachment
20090516.xar of document XWiki.Import
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while
saving attachment 20090516.xar of document XWiki.Import
Wrapped Exception: Could not execute JDBC batch update
Any suggestions?
Gerritjan
Sorry,
mine ear descriptor was created during deployment (since I deploy war) after heavy and chaotic clicking on classloading tab.
As far as I remember, I removed all inherited libs except taglibs.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of Marc Baumann
Sent: Wednesday, May 20, 2009 11:16 AM
To: users(a)xwiki.org
Subject: Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g
Hey
Thanks for reply. When I test it with your orion-application.xml it won't
work. Can you suggest me how to adapt my xml file?
orion-application.xml:
<?xml version = '1.0'?>
<!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime
9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
<orion-application deployment-version="10.1.2.3.0"
default-data-source="jdbc/OracleDS" treat-zero-as-null="true"
autocreate-tables="false">
<web-module id="xwiki" path="xwiki.war"/>
<persistence path="persistence"/>
<principals path="principals.xml"/>
<jazn provider="XML" location="jazn-data.xml"/>
<log>
<file path="application.log"/>
</log>
<namespace-access>
<read-access>
<namespace-resource root="">
<security-role-mapping>
<group name="jazn.com/administrators"/>
</security-role-mapping>
</namespace-resource>
</read-access>
<write-access>
<namespace-resource root="">
<security-role-mapping>
<group name="jazn.com/administrators"/>
</security-role-mapping>
</namespace-resource>
</write-access>
</namespace-access>
</orion-application>
Regards Marc
--
View this message in context: http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p…
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
Sorry i wrote admin rights instead of programming rights.
Anyway, i restarted jetty and my browser. Now it works.
Thanks for your help
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Thomas Mortagne
Envoyé : mercredi 20 mai 2009 17:11
À : XWiki Users
Objet : Re: [xwiki-users] WebSearch and multi wikis
On Wed, May 20, 2009 at 16:58, PERINAUD Christophe
<Christophe.PERINAUD(a)kbl-bank.com> wrote:
> Thank you Thomas
>
> The problem is that i tried both of this solutions with no result.
Sorry i misread your first mail.
> Just to be sure i tested that code :
> <br>---->Context = $context.database
> <br>---->Wanted context = $context.mainWikiName
> #set($ok = $context.setDatabase($context.mainWikiName))
> <br>---->New context = $context.database
>
> And the result is :
> ---->Context = template18
> ---->Wanted context = xwiki
> ---->New context = template18
>
>
> Even if i am admin of all wikis (virtuals and main one) and i forced admin rights, i can't switch the context
Admin right are not the same than programming right, go to the main
wiki and check that your user has programming right or is in a group
which has programming right.
But anyway it should work with XWiki.searchDocumentsNames(String
wikiName, String parametrizedSqlClause, int nb, int start, List< ? >
parameterValues) without programming right. Are you sure "$wikiSearch"
variable contains the right wiki name ?
>
> I don't see what's the problem with that.
>
>
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Thomas Mortagne
> Envoyé : mercredi 20 mai 2009 16:38
> À : XWiki Users
> Objet : Re: [xwiki-users] WebSearch and multi wikis
>
> On Wed, May 20, 2009 at 16:24, PERINAUD Christophe
> <Christophe.PERINAUD(a)kbl-bank.com> wrote:
>> Hello
>>
>> I try to make the WebSearch to search for documents in different wikis.
>> In the WebSearchCode, i loop on 3 wikis, changing the context ($context.setDatabase)but it does not work. I try to give each wiki's name to the searchDocuments function (like #foreach ($item in $xwiki.searchDocuments("$wikiSearch", $sql , $nbitems, 0, null)) But still does not work.
>>
>> Any idea if it's possible and how ?
>
> You need programing right to use $context.setDatabase(database),
> otherwise it does nothing. But you can use
> XWiki.searchDocumentsNames(String wikiName, String
> parametrizedSqlClause, int nb, int start, List< ? > parameterValues)
> which support the name of the wiki. See
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
>
>>
>> Thank you all
>>
>> Christophe Périnaud
>> Windows Server 2003 SP2 in a VMWare instance
>> Oracle 10g
>> Java 1.6.0_12
>> Xwiki 1.8 from the pack Jetty/HSQL
>>
>>
>> --------------------------------------------------------------------------------
>>
>> This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
>>
>> While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
>>
>> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> --------------------------------------------------------------------------------
>
> This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
>
> While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
>
> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Thank you Thomas
The problem is that i tried both of this solutions with no result.
Just to be sure i tested that code :
<br>---->Context = $context.database
<br>---->Wanted context = $context.mainWikiName
#set($ok = $context.setDatabase($context.mainWikiName))
<br>---->New context = $context.database
And the result is :
---->Context = template18
---->Wanted context = xwiki
---->New context = template18
Even if i am admin of all wikis (virtuals and main one) and i forced admin rights, i can't switch the context
I don't see what's the problem with that.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Thomas Mortagne
Envoyé : mercredi 20 mai 2009 16:38
À : XWiki Users
Objet : Re: [xwiki-users] WebSearch and multi wikis
On Wed, May 20, 2009 at 16:24, PERINAUD Christophe
<Christophe.PERINAUD(a)kbl-bank.com> wrote:
> Hello
>
> I try to make the WebSearch to search for documents in different wikis.
> In the WebSearchCode, i loop on 3 wikis, changing the context ($context.setDatabase)but it does not work. I try to give each wiki's name to the searchDocuments function (like #foreach ($item in $xwiki.searchDocuments("$wikiSearch", $sql , $nbitems, 0, null)) But still does not work.
>
> Any idea if it's possible and how ?
You need programing right to use $context.setDatabase(database),
otherwise it does nothing. But you can use
XWiki.searchDocumentsNames(String wikiName, String
parametrizedSqlClause, int nb, int start, List< ? > parameterValues)
which support the name of the wiki. See
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
>
> Thank you all
>
> Christophe Périnaud
> Windows Server 2003 SP2 in a VMWare instance
> Oracle 10g
> Java 1.6.0_12
> Xwiki 1.8 from the pack Jetty/HSQL
>
>
> --------------------------------------------------------------------------------
>
> This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
>
> While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
>
> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello
I try to make the WebSearch to search for documents in different wikis.
In the WebSearchCode, i loop on 3 wikis, changing the context ($context.setDatabase)but it does not work. I try to give each wiki's name to the searchDocuments function (like #foreach ($item in $xwiki.searchDocuments("$wikiSearch", $sql , $nbitems, 0, null)) But still does not work.
Any idea if it's possible and how ?
Thank you all
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi,
I'd like to customize the colors of the code macro (1.8.3 / xwiki 2.0)
In the code macro documentation
(http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20) I see that
there is an cssClass attribute for that purpose.
Unfortunately the available css keywords are not documented.
Firebug also didn't help me, because the color seems to be hard coded in
some way (see example at the end).
Can you provide me with an example of customizing the color of the code
macro?
e.g. my code macro:
{{code language=java}}
public void do() {
System.out.println("bla");
}
{{/code}}
produces this rendered html:
<div class="box code">
<span style="font-weight: bold; color: rgb(0, 128, 0);">public</span>
<span style="color: rgb(176, 0, 64);">void</span> <span style="color:
rgb(0, 0, 255);">do</span><span style="color: rgb(102, 102,
102);">()</span> <span style="color: rgb(102, 102, 102);">{</span><br/>
System<span style="color: rgb(102, 102, 102);">.</span><span
style="color: rgb(125, 144, 41);">out</span><span style="color: rgb(102,
102, 102);">.</span><span style="color: rgb(125, 144,
41);">println</span><span style="color: rgb(102, 102,
102);">(</span><span style="color: rgb(186, 33, 33);">"bla"</span><span
style="color: rgb(102, 102, 102);">);</span><br/><span style="color:
rgb(102, 102, 102);">}</span><br/>
</div>
Thanks a lot.
Reto
Hi all,
i have a problem with the Panel Wizard in Wiki Preferences:
After opening it in Internet-Explorer I get: 'Errors on this Page' : Rico
is undefined.
on this line in the page-sourcecode:
<script type="text/javascript">new Rico.Accordion( 'bicwikinav',
{panelHeight:'250',onLoadShowTab:'0'} );</script>
Although the Panel Wizard is displayed correctly I can't drag&drop the
panels to a position.
I am using XWiki Enterprise 1.8.3.19546 and I thought that Rico is already
replaced by Scriptaculous ?
I did try to re-import the pages
XWiki.XWikiPreferences and Panels.PanelWizard
but with no success.
Do you have any ideas what I can do?
Thanks in advance
Matthias
Hi
Stupid question but did you try to clear the cache of the browser ?
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de hel-o
Envoyé : mercredi 20 mai 2009 12:00
À : users(a)xwiki.org
Objet : Re: [xwiki-users] No users and groups
Ok,
tried to find an answer and found
http://n2.nabble.com/Object-caching--tt502637.html#a502638
created a page (syntax 2.0) with a velocity macro including the following
code
$xwiki.flushCache()
Still no users and no groups.
hel.
Sergiu Dumitriu-2 wrote:
>
> hel-o wrote:
>> Hi,
>>
>> just found that since my update (1.8.3) no users and groups are displayed
>> in
>> the Admin-Application in my virtual wiki in the main wiki they are still
>> available.
>>
>> I imported the default xar.
>
> Please clean the cache, since some javascripts have changed.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
-----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/No-users-and-groups-tp2938876p2945293.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
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
There is a ton of classpath collisions with xwiki inside oas.
Until xwiki 1.6 search-local-classes-first="true" in orion-web.xml solved the problems, but since then thing started to be more complicated.
Right now, I have xwiki 1.8.3 deployed into OAS 10.1.3.2 with following orion-application.xml
<?xml version="1.0"?>
<orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd"
development="true">
<imported-shared-libraries>
<import-shared-library name="global.libraries"/>
<import-shared-library name="global.tag.libraries"/>
<import-shared-library name="oracle.jdbc"/>
<remove-inherited name="*"/>
</imported-shared-libraries>
</orion-application>
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of Marc Baumann
Sent: Wednesday, May 20, 2009 9:47 AM
To: users(a)xwiki.org
Subject: Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g
Has someone an idea? Btw. is someone using oracle as 10.1.2.3.0 as a xwiki
container?
Regards Marc
--
View this message in context: http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p…
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
Hi folks
My env: Oracle Application Server 10.1.2.3.0
Oracle Database 11g, used ojdbc6.jar and also other jar files from the
oracle 11g client otherwise I got the following error:
java.lang.NoSuchMethodError:
oracle.i18n.text.converter.CharacterConverterOGS.getInstance
On the application server I set the binaries for jdk6 instead of java 1.4
which is default for OAS.
I deployed the war file on Oracle AS, then the tables are created on the
database under the xwiki user as expected.
But when I connect to the new wiki I get the following errors on the
application server, also the wiki page is displayed without css.
2009-05-14 10:56:31,773
[https://hostname:1159/xwiki/bin/skin/skins/albatross/style.css]
[AJPRequestHandler-ApplicationServerThread-10]
WARN web.XWikiAction - Uncaught exception: Error number 0
in 11: Uncaught exception
Wrapped Exception:
javax.servlet.http.HttpServletResponse.setCharacterEncoding(Ljava/lang/String;)V
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception:
javax.servlet.http.HttpServletResponse.setCharacterEncoding(Ljava/lang/String;)V
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:670)
at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:619)
and so on..
I hope you can help me...
Regards Marc
--
View this message in context: http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
If you look at the jar file of pygments, you will find a subfolder "styles" wich contains .py source files defining the style of tokens of the language. I am not sure if you can customize them without replacing the jar (and rebuilding the wanted .class from .py/.pyc)
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Reto Hotz
Envoyé : mercredi 20 mai 2009 09:16
À : XWiki Users
Objet : [xwiki-users] Customize colors of code macro
Hi,
I'd like to customize the colors of the code macro (1.8.3 / xwiki 2.0)
In the code macro documentation
(http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20) I see that
there is an cssClass attribute for that purpose.
Unfortunately the available css keywords are not documented.
Firebug also didn't help me, because the color seems to be hard coded in
some way (see example at the end).
Can you provide me with an example of customizing the color of the code
macro?
e.g. my code macro:
{{code language=java}}
public void do() {
System.out.println("bla");
}
{{/code}}
produces this rendered html:
<div class="box code">
<span style="font-weight: bold; color: rgb(0, 128, 0);">public</span>
<span style="color: rgb(176, 0, 64);">void</span> <span style="color:
rgb(0, 0, 255);">do</span><span style="color: rgb(102, 102,
102);">()</span> <span style="color: rgb(102, 102, 102);">{</span><br/>
System<span style="color: rgb(102, 102, 102);">.</span><span
style="color: rgb(125, 144, 41);">out</span><span style="color: rgb(102,
102, 102);">.</span><span style="color: rgb(125, 144,
41);">println</span><span style="color: rgb(102, 102,
102);">(</span><span style="color: rgb(186, 33, 33);">"bla"</span><span
style="color: rgb(102, 102, 102);">);</span><br/><span style="color:
rgb(102, 102, 102);">}</span><br/>
</div>
Thanks a lot.
Reto
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
The XWiki development team is pleased to announce the release of XWiki
Office 1.0 Milestone 3.
Go grab it at
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice !**
XWiki Office is a XWiki.org project that provides integration between
Microsoft Office and XWiki servers.
For more information about XOffice go at: -
http://xoffice.xwiki.org/xwiki/bin/view/Main/
Main changes from version 1.0 Milestone 2:
- Basic XML-RPC support
- Opening, editing & publishing pages(XHTML content only)
- Downloading, opening, editing & uploading attachments
- Viewing the wiki in the Wiki Explorer
- Support for multiple encodings
- Improved wiki explorer
- Inhibited unnecessary Word messages & dialogs
- Better sync between Word instances
- Better & cleaner output
All active XWord M2 clients and snapshot instances will be automatically
updated to the latest version.
For details about this release see the Release Notes at:
- http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice10M3
You can also view the roadmap here:
- http://xoffice.xwiki.org/xwiki/bin/view/Main/Roadmap#HVersion10Milestone3
Thanks
-The XWiki dev team
I was unable to install the Watch functionality in a Xwiki enterprise 1.8.3.
I followed the instructions but do not know how to execute (I am logged in
as Admin):
In Administration > Preferences > Advanced, add WatchCode.Translations as an
Internationalization Document Bundle.
Preferences has the logos such as General, Presentation etc. but where is
Advanced?
--
View this message in context: http://n2.nabble.com/Watch-1.1-Installation-Problem-tp2939579p2939579.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I created an external link with the new wysiwyg editor (1.8.3). After
that, I switch to wiki editor and the link looks like this:
[[link>>xwiki:Sandbox.WebHome||rel="__blank"]]
But rel="__blank" is not defined in the Syntax 2.0 (according to
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax).
Shouldn't it be
[[link>>xwiki:Sandbox.WebHome||target="_blank"]] ?
Thanks
Reto
Hi,
and first of all, 1.8.3 is great, the link dialog is working fine and all in
all syntax 2.0 and wysiwyg for 2.0 seem to be of age now;)
Some things i found in context with the parent field and the link dialog.
To have pages in tree-view in the link dialog the parent has to be set as
"space.page". If the parent is set only as "page" or as "wiki:space.page"
(like it is set automatically in a virtual wiki environment, by the way
great that the parent is set anyway now), the Page is displayed in the main
level of the tree view.
Cheers
hel.
-----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/WYSIWYG-2.0-%281.8.3%29-tp2938056p2938056.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWikiers,
Ludovic (XWiki's founder) and I (XWiki OSS product manager) will be at
JavaOne in San Francisco from Sunday, May 31 to Saturday, June 6 included.
We'd be really happy to meet and hook up with community members and XWiki
users from the far side of the world :-)
We'll be on OW2 booth from Tuesday, June 2 to Thursday, June 4 during the
conference. We'd be really happy to meet with users outside the timeframe of
the conference too... Simply let us know whether you're in the area and
we'll go grab a beer while feverishly discussing XObjects and XClasses ;-)
Also, Jim Grisanzio told me there would be many people from the OpenSolaris
community hanging around, so JavaOne will be the perfect opportunity for
other XWiki Users to discover what the OpenSolaris community has been doing
with XWiki of late (cf.
http://opensolaris.org/os/community/web/restructuring/preview/ for more
information on the topic).
Looking forward hearing from you guys (and gals !!),
Guillaume
--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
Hi,
the link dialog works much better than in 1.8.1, but one thing i found:
i don't use the space for the page parent when i add the parent manually
(which i had to, since it wasn't added automatically in the new syntax)
because i found, that it's not needed to work (as it is in links when the
link is in the same space).
Now when i want to create a link to a wiki-page i get the tree-view (which
is great) but it seems i cant see all those pages where no space is
provided.
hel.
-----
----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Links%2C-WYSIWYG-2.0-%281.8.2%29-tp2733494p2733494.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am using 1.9-milestone-2 and trying webdav. I am connecting via Mac OS
finder. I can read files, but trying to save results in "unable to save"
error on the Mac side of things and this in the log (truncated for brevity):
2009-05-16 14:05:19,901 [http://localhost:8080/xwiki/webdav/mach_kernel]
[14615126@qtp0-3] ERROR webdav.XWikiDavServlet - WebDAV Exception
Occurred :
org.apache.jackrabbit.webdav.DavException: Method Not Allowed
I imagine I might have missed a configuration parameter somewhere. Any
suggestions?
Thanks,
Sean
Hello,
I did search what I possibly could but could not find a way to attach
an SVG file to a document and have this image rendered in it.
Is this doable?
I found that there is SVG plugin (enabled) in the xwiki.cfg but could
not find any documentation on how to use it.
(this is on XWiki 1.9-m2)
Kind regards,
Vlad
Hello,
I just updated XWiki (by fresh install) from 1.8.2 to 1.8.3 and
following velocity code renders differently:
{{velocity}}
#foreach( $attachment in $doc.getAttachmentList() )
* [[$attachment.getFilename()>>attach:$attachment.getFilename()]] :
{{code language=clojure}}
$attachment.getContentAsString()
{{/code}}
#end
{{/velocity}}
The intention of the macro is to render all attachments as code.
In 1.8.2, I get one box per code attachment as expected, in 1.8.3 it
looks that it renders each line of the attachment (one box per line of
the code).
Any ideas how I can fix this?
Kind regards,
Vlad
Hello,
since we upgrade on Version 1.82 We can no longer administrate the
users and groups in the admin Interface, we test it with safari
firefox. I update to1.83 but nothing changes.
I debug the xwiki user and group interface with firebug. They show me
the following error when i open the user and group config interface
GET http://SERVER/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&sec…
ASSTable is not defined
XWikiPreferences?editor=globaladmin§ion=Users()
()XWikiPre...ion=Users (Linie 318)
[Break on this error] var ta = new ASSTable("?xpage=get...r1",
"userstable", displayUsers, true);
When i go to the users and group interface, they show me a loading
bar. But the Client request is finished.
Hi there,
Right now the new WYSIWYG editor allows us to create simple lists like
the following:
----------8<----------
* plants
* animals
** invertebrates
** vertebrates
---------->8----------
By pressing just Enter when the caret is inside a list item we create a
new list item. This is the basic mechanism. It's simple and it should
remain so.
If I want to make the previous list a bit more complex:
----------8<----------
* (((= Plants =
Plants are living organisms belonging to the kingdom Plantae.)))
* (((= Animals =
Animals are a major group of mostly multicellular, eukaryotic organisms
of the kingdom Animalia or Metazoa.
They are divided into:)))
** (((== Invertebrates ==
An invertebrate is an animal lacking a vertebral column.)))
** (((== Vertebrates ==
Vertebrates are members of the subphylum Vertebrata, chordates with
backbones or spinal columns.)))
---------->8----------
I have to be able to insert new lines inside a list item using the Enter
key but without creating a new list item. Let's consider the following
state:
----------8<----------
* (((= Plants =)))
---------->8----------
We have a level 1 heading inside a list item. The caret is inside the
heading, at the end. Pressing Enter can have the following three outcomes:
1. Continue editing in the heading, but on a new line:
----------8<----------
* (((= Title 1
x =)))
---------->8----------
2. Continue editing in the same list item but after the heading, in a
paragraph:
----------8<----------
* (((= Title 1 =
x)))
---------->8----------
3. Create a new list item:
----------8<----------
* (((= Title 1 =)))
* x
---------->8----------
For the first outcome I think we all agree that the user has to press
Shift+Enter. For the second and third outcomes I see two options:
A) Enter for 2 and CTRL/META+Enter for 3
B) Enter for 3 and CTRL/META+Enter for 2
(if you see any other options please step up)
I'm +1 for A) for the following reason: if the user has inserted a
heading in a list item then he will surely want to add more content
after that heading, thus pressing just Enter is the natural way of doing
this. From a technical POV the caret is first inside a heading and then
inside a list item so the heading should have the priority of handling
the Enter key.
NOTE: Choosing A) or B) doesn't affect the way simple lists are created,
which is using just Enter.
Please cast your votes and sorry for the long mail,
Marius
Hi
I got the same problem and was because i missed some new files in the Xwiki space.
Did you follow the migration instructions on the Xwiki site ? And did you updated pages using the new XAR ?
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Mohamed Arrass
Envoyé : vendredi 15 mai 2009 11:08
À : users(a)xwiki.org
Objet : [xwiki-users] XWiki Enterprise 1.83/1.82 . User and GroupAdministration
Hello,
since we upgrade on Version 1.82 We can no longer administrate the
users and groups in the admin Interface, we test it with safari
firefox. I update to1.83 but nothing changes.
I debug the xwiki user and group interface with firebug. They show me
the following error when i open the user and group config interface
GET http://SERVER/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&sec…
ASSTable is not defined
XWikiPreferences?editor=globaladmin§ion=Users()
()XWikiPre...ion=Users (Linie 318)
[Break on this error] var ta = new ASSTable("?xpage=get...r1",
"userstable", displayUsers, true);
When i go to the users and group interface, they show me a loading
bar. But the Client request is finished.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello,
I would like to parse an XML file that i attached to a page. I use
#set ($content = $xwiki.getURLContent($xmlURL))
...
$newdoc.fromXML($content)
If $xmlURL is set with something like "http://<mywikiurl>/xwiki/.../PageName/file.xml" it works and i can see my page
But if instead of a string i try to use $doc.getAttachementURL("file.xml"), the fromXML generates an exception, $context is empty
Any idea ?
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello,
I would like to know how can i display the first name and last name of a user on a rights admin page, near the link to the user's page ? Users connect with a novell id so when a user wants to change page rights, he is only able to see a list of ID (not so usefull).
I checked the rightsUI.vm template that lead me in usersandgroups.js but in the function displayUsersAndGroups i don't know how to do then as it's the same function for users and groups and i don't know how to get the information in
Thank you for your help
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Can someone please help me with this? i.e. having the xeclipse specific
swizzle-confluence source would really help me.
Thanks, Dan
>>> Hi,
>>>
>>> I'm working with the xwiki-xmlrpc code, and I'm wondering...
>>>
>>> What's the story behind swizzle-confluence-1.1-20070829-xwiki.jar?
>>>
>>> Where can I get the source?
>>>
>>> Thanks, Dan
>>>
>>>
>
>
>> Hi Dan,
>>
>> this was a custom package created long time ago from the Swizzle 1.1 +
>> some custom patches.
>> Those patches got eventually committed in the Swizzle trunk but since
>> there has not been a 1.2 release since, we kept that custom jar.
>>
>> You can assume that the source of that jar is the one you find in the
>> Swizzle trunk:
>> http://svn.codehaus.org/swizzle/trunk/swizzle-confluence/
>>
>> Cheers,
>> Fabio
>>
>
> Fabio,
>
> Thanks for the reply.
>
> The source at the above URL is not the code referenced in, e.g. org.xwiki.plugins.eclipse.model.impl.XWikiConnection:
>
> import org.codehaus.swizzle.confluence.Confluence;
> import org.codehaus.swizzle.confluence.IdentityObjectConvertor;
> import org.codehaus.swizzle.confluence.Space;
> import org.codehaus.swizzle.confluence.SpaceSummary;
> import org.codehaus.swizzle.confluence.SwizzleConfluenceException;
> import org.codehaus.swizzle.confluence.SwizzleXWiki;
>
> Specifically, SwizzleXWiki, SwizzleConfluenceException, and IdentityObjectConvertor do not exist in that codebase.
>
> I'm creating an XmlRpc client, and am using the XEclipse code as a pattern for my code. I'd like to have the source for the version of swizzle-confluence that implements these classes.
>
> Thanks,
> Dan
>
>
Hi all,
I get an error installing 1.8.3 Enterprise XAR on Xwiki 1.8.3,
Thanks,
Loris
This is the exception i get...
Error number 4001 in 4: Error while parsing velocity page
XWiki.XWikiPreferences Wrapped Exception: Failed to evaluate content
with id XWiki Preferences
Error number 4001 in 4: Error while parsing velocity page XWiki.XWikiPreferences
Wrapped Exception: Failed to evaluate content with id XWiki Preferences
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page XWiki.XWikiPreferences
Wrapped Exception: Failed to evaluate content with id XWiki Preferences
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.XWiki.include(XWiki.java:3764)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1400)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1365)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.XWiki.include(XWiki.java:3764)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1400)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1365)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:519)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1606)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Hi all,
I've seen this before with XE 1.8.2 and reproduced it with the brand new
XE 1.8.3 (XWiki running on Tomcat 5.5 in a Windows Vista box)...
This link...
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globala…
Leads to this error message...
http://xen.net/images/errorGeneralCategory.png
This seems to be the error...
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getPrettyName' in class com.xpn.xwiki.api.PropertyClass threw
exception
Here most of the text thrown by the exception...
http://xen.net/txt/errorGeneralCategory.txt
Is it worth to create a Jira issue with this?
I've a XE 1.7-milestone-3.14362 (running on Mac OS X/Tomcat) running
without this glitch.
Thanks!
Cheers,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.9 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Second and last milestone of the XWiki Enterprise 1.9 version.
Main changes:
* UI improvements
** Quick Jump to any Page navigation
** Faster Save and Continue using AJAX
** Improved Full Screen editing
** New Live Table UI
** Improved comments UI and functionality
** Multiple attachment upload in one request
** New UI for the Class and Object editors
** Improved toolbar in the wiki editor
** Preliminary support for Autosave
* WYSIWYG 2.0 improvements
* XWiki Syntax 2.0 rendering improvements
* XWiki 1.0 to 2.0 syntax converter improvements
* Switched to UTF-8 as the default encoding
* Mailsender improvements
* PDF export improvements
* JavaScript improvements
* Dutch tranlsations
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise19M2
Note that general goals for XWiki Enterprise 1.9 are:
* Finish/stabilize/document new rendering
* Finish/stabilize/document new wysiwyg editor
* Finish/stabilize/document office importer + doc splitter/management
* Finish/stabilize/document webdav
* Finish/stabilize/document REST support
* Usability improvements
Thanks,
The XWiki dev team
Hi
I am still trying to figure out why I cannot deploy XWiki on JBoss
without messing around with the Class Loader. After removing some of
the duplicate archives I was expecting that it would work but still
when it tries to lookup the DataSource on the JNDI server it fails:
org.hibernate.HibernateException: Could not find datasource: java:/
jdbc/XWikiDS
knowing the internals of JBoss good enough I suspect that it is a
class loading issue. Going through the stack trace I found this line
of code inside the XWiki.class (line 994) in the trunk when it tries
to load the Hibernate Migration Manager:
Object result =
Class.forName(storeclass).getConstructor(classes).newInstance(args);
As far as I can remember shouldn't a J2EE application use the Context
Class Loader instead (Thread.currentThread.getContextClassLoader())
instead of the Class' Class Loader?
Any ideas?
Andreas Schaefer
CEO of Madplanet.com Inc.
Email: andreas.schaefer(a)madplanet.com
schaefera(a)me.com
Twitter; andy_mpc
AIM: schaefera(a)me.com
Hello,
I'm trying out XWiki for the first time. I've downloaded and run the
following from CentOS 5.2
(xwiki-enterprise-installer-generic-1.8.3-standard.jar).It seemed to
install fine.
Logging in as Admin, I clicked on "Blog" and created a new blog post. I
selected "Publish" at the bottom and verified the date to be published was
today's date. Clicking on either "Save and View" or "Save and Continue"
seems to leave me in the editor. If I click on the link for the XWiki
Dashboard, I see the new post. It say's "New" next to it. When I click on
the post though, it says "This blog post is not published yet". Further, it
states that it was created by Administrator at Nov 12, 2008 and modified by
Adminstrator at May 11th, 2009.
What am I doing wrong? If I select the "Publish" box and verify the date,
why doesn't it stick and why isn't it published? I did some quick looking
around but didn't find anything relating to this problem?
Thanks for any and all help. I really like parts of XWiki.
-Timmr72
I work in a development organization and we want to use XWiki. Even though
we are on an intranet, we still want everyone who uses the site to
authenticate, so that no anonymous users can see any pages except for a
login page.
Can I setup security to force all pages to be secured?
--
View this message in context: http://n2.nabble.com/Secure-all-pages-tp2868888p2868888.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi guys,
can you help me with the exception I get, when viewing Blog.WebHome
from the default xar:
---snip---
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'searchDocuments' in class com.xpn.xwiki.api.XWiki threw
exception com.xpn.xwiki.XWikiException: Error number 3223 in 3:
Exception while searching documents with SQL space, doc.name, publish
Date.value from XWiki Document as doc , Base Object obj, Integer
Property is Published, Integer Property hidden, Date Property publish
Date where (doc.hidden <> true or doc.hidden is null) and doc.full
Name <&? Wrapped Exception: could not execute query @
Blog.WebHome6,26?
--snap--
I'm using XWiki with MSSQL. I read that there was something broken
with the mssql hibernate nmapping before 1.9-M1 on jira, but should be
fixed now. So, any clue, what is causing this?
Cheers and thanx in advance,
Sebastian
In 1.8, if too much data is entered in a doc's ?editor=object
fieldXWiki.JavaScriptExtension[] (say
a big chunk of JSON on the order of 97783 bytes) you can no longer save
without getting an underlying error. This appears related to the following:
com.xpn.xwiki.objects.LargeStringProperty -->
com.mysql.jdbc.MysqlDataTruncation:
Data truncation: Data too long for column 'XWL_VALUE' at row 1
How can this be changed to allow for a larger limit on entries? Fortunately,
http://nielsmayer.com/xwiki/bin/view/Exhibit/Presidents3 ( src
<http://nielsmayer.com/xwiki/bin/download/Exhibit/Presidents3/Exhibit.Presid…>)
has entries small enough, but as you grow the amount of Javascript data you
hold in a XWiki.JavaScriptExtension you eventually get a failure like this:
A problem occured while trying to process your request. Please contact the
> webmaster if this happens again.
>
> Detailed information:
>
> Error number 3201 in 3: Exception while saving document Exhibit.pods
> Wrapped Exception: could not update: [com.xpn.xwiki.objects.LargeStringProperty#component[id,name]{id=-2025184002, name=code}]
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document Exhibit.pods
> Wrapped Exception: could not update: [com.xpn.xwiki.objects.LargeStringProperty#component[id,name]{id=-2025184002, name=code}]
> at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:595)
> at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
> at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
> at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
> at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:64)
> 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(RequestProcessor.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)
>
> ...
>
> Wrapped Exception:
>
> com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'XWL_VALUE' at row 1
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2983)
> at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
> at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
> at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
> at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313)
> at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1585)
> at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1500)
> at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1485)
> at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
> at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
> at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
> at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
> at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
> at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
> at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
> at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
> at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
> at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
> at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
> at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
> at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
> at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
> at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:585)
> at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
> at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1282)
> at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
> at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:64)
>
>
Thanks.
Niels
http://nielsmayer.com
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.8.3 and XWiki Enterprise Manager 1.6.3.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This release contains 59 bugfixes and enhancements. Most of the
modifications are targeting the general replacement of old 1.0 code and
content by 2.0 syntax and architecture and the stabilization of XWiki.
Summary of changes since XWiki Enterprise 1.8.2:
* Many WYSIWYG bugs fixed and improvements
* Many 2.0 syntax bugs fixed
* Many 1.0 to 2.0 conversion bugs fixed
* Several PDF export bugs fixed and improvements
* Improvements for the Office Importer
* A few bug fixes in many other places
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise183
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM163
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi to everyone here,
I have been experimenting with XWiki and am impressed so far.
One question: editing by section ("sectional editing" in xwiki.cfg,
activated by setting xwiki.section.edit=1 there) does not appear to work
with a page written in XWiki syntax 2.0 whilst it does work in XWiki
syntax 1.0.
(Version: XWiki Enterprise 1.8.17790)
Is this by design?
Any thoughts appreciated. I only noticed this change after converting a
number of pages from syntax 1.0 to syntax 2.0
Thanks,
Chris Wood
You are my man Jerome !!!
The "$doc" & "parse=Yes" worked...Thank you so much.
Awesome !!!
I've got a nice working tree from a static ul-li list.
The idea was to have a "if-else" sort of troubleshooting guide for my
organization's helpdesk.
Would love to put this up on code.xwiki.org. Before that want to clean the
documents a bit.
Also, need to re-read the tutorial on packaging applications.
Once again, thanks Jerome...
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 10 May 2009 11:18:59 +0300
> From: Jerome Velociter <jerome(a)xwiki.com>
> Subject: Re: [xwiki-users] new application css+image
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4A068DF3.6010904(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> If "minus.gif" is attached to the document that holds the SSX object,
> the right line is :
>
> ul.mktree li.liOpen .bullet { cursor: pointer; background:
> url($doc.getAttachmentURL("minus.gif")) center left no-repeat; }
>
> ($doc instead of $xwiki)
>
> Make sure you also said "Yes" to the parse content option of the SSX,
> and it should all work fine :)
>
> Cheers,
> Jerome
>
>
> Dilipkumar Jadhav wrote:
> > Hello friends,
> > I am trying to use the work of Mark Strauss (mktree) found at
> > http://www.javascripttoolbox.com/lib/mktree/ in xwiki application/plugin
> > that allows creation of collapsible tree from a static ul and lit list.
> > So far, I had it working through by adding the javascript and the css
> file
> > by adding the actual path of these files in the "presentation" section of
> > the admin dashboard.
> > However, I wanted it to be more organized and make it available on
> demand.
> > So i created the jsx and the ssx files in place of the javascript and the
> > css files.
> > So far so good.
> > However, there are images that were referred by the css file which worked
> > fine in the previous setup (basically they assign a plus and minus sign
> on
> > the right of the ul and li elements).
> > Now, I've attached these image files to the ssx. But I am not able to get
> > the ssx to work with the images. The Javascript works fine from the jsx.
> The
> > tree does collapse and expand as expected. However, the images from the
> > style sheet does not show up.
> > I've used the following line in the "object" edit mode of the ssx page:
> >
> > ul.mktree li.liOpen .bullet { cursor: pointer; background:
> > url($xwiki.getAttachmentURL("minus.gif")) center left no-repeat; }
> >
> > ...here minus.gif is attached to the ssx page. But no go.
> > I did go through the various resources on skin customizations and the
> > addsizes extension tutorial. I could not understand the "use velocity to
> > attach images" technique in the addsizes tutorial. Is there a simpler way
> to
> > make the ssx pick up the image files and behave just like a normal css
> > file?...
> > Any help would be appreciated.
> > Thank you all.
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 10 May 2009 11:22:44 +0300
> From: Jerome Velociter <jerome(a)xwiki.com>
> Subject: Re: [xwiki-users] new application css+image
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4A068ED4.4040506(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dilipkumar Jadhav wrote:
> > Hello friends,
> > I am trying to use the work of Mark Strauss (mktree) found at
> > http://www.javascripttoolbox.com/lib/mktree/ in xwiki application/plugin
>
> Forgot to say BTW, this is cool :) You should publish it on
> code.xwiki.org once it's finished, I'm sure it can come handy to other
> application developers.
>
> Jerome.
> > that allows creation of collapsible tree from a static ul and lit list.
> > So far, I had it working through by adding the javascript and the css
> file
> > by adding the actual path of these files in the "presentation" section of
> > the admin dashboard.
> > However, I wanted it to be more organized and make it available on
> demand.
> > So i created the jsx and the ssx files in place of the javascript and the
> > css files.
> > So far so good.
> > However, there are images that were referred by the css file which worked
> > fine in the previous setup (basically they assign a plus and minus sign
> on
> > the right of the ul and li elements).
> > Now, I've attached these image files to the ssx. But I am not able to get
> > the ssx to work with the images. The Javascript works fine from the jsx.
> The
> > tree does collapse and expand as expected. However, the images from the
> > style sheet does not show up.
> > I've used the following line in the "object" edit mode of the ssx page:
> >
> > ul.mktree li.liOpen .bullet { cursor: pointer; background:
> > url($xwiki.getAttachmentURL("minus.gif")) center left no-repeat; }
> >
> > ...here minus.gif is attached to the ssx page. But no go.
> > I did go through the various resources on skin customizations and the
> > addsizes extension tutorial. I could not understand the "use velocity to
> > attach images" technique in the addsizes tutorial. Is there a simpler way
> to
> > make the ssx pick up the image files and behave just like a normal css
> > file?...
> > Any help would be appreciated.
> > Thank you all.
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
Hi,
by changing manullay the date attribute in table xwikilock I have found that
xwikilock lasts only about 30-45 minutes (approximatelly). Is there any way
how to increase this time? I haven't found it neither in xwiki.cfg nor
hibernate.cfg.xml...
And second question, if one user starts editing any page, then another user
can also edit this page at the same time just by confirming alert message
that is saying that other user is already editing this page. Is there any
way how to disable this option that 2 users can edit the same page at the
same time?
Thanks for help
--
View this message in context: http://n2.nabble.com/XWikiLock-and-it%27s-duration-time-tp2850310p2850310.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Env: Installed xwiki-enterprise-web-1.8.2.war on Pramati Appl Server
(www.pramati.com). Using HSQL database in server mode.
Create an user without any admin rights. Login from a browser (FF3, IE7,
Chrome1). When the login page loads the following error
is logged to the server console. The user can login and work properly but
the error should not happen. I am using XWiki for
critical business purpose. I need to resolve it asap.
[ERROR] Method checkAccess threw exception for reference $xwiki in template
/templates/menuview.vm at [128,61]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with
id [/templates/menuview.vm]
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1605)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:656)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1605)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:656)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1605)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
com.pramati.web.servlet.core.ServiceAction.run(ServiceAction.java:83)
at
com.pramati.security.util.PramatiSecurityHelper._doAs(PramatiSecurityHelper.java:54)
at
com.pramati.security.util.AbstractSecurityHelper._doAs(AbstractSecurityHelper.java:195)
at
com.pramati.services.security.spi.SecurityHelper.doAs(SecurityHelper.java:146)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetWebResource(PramatiFilterChainImpl.java:317)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:168)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.startDoFilter(PramatiFilterChainImpl.java:120)
at
com.pramati.web.interceptors.ServiceInterceptor.preProcess(ServiceInterceptor.java:114)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:70)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultProcessContainer.process(DefaultProcessContainer.java:97)
at
com.pramati.web.core.WorkerThread.processConnection(WorkerThread.java:289)
at
com.pramati.web.core.WorkerThread.processConnection(WorkerThread.java:263)
at com.pramati.web.core.WorkerThread.run(WorkerThread.java:129)
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'checkAccess' in class
com.xpn.xwiki.api.XWiki threw exception java.lang.IllegalStateException:
Response is already committed @ /templates/menuview.vm
[128,68]
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:396)
at
org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:111)
at
org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:109)
at
org.apache.velocity.runtime.parser.node.ASTAndNode.value(ASTAndNode.java:74)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
... 86 more
Caused by: java.lang.IllegalStateException: Response is already committed
at
com.pramati.web.servlet.core.PramatiHttpServletResponseImpl.sendRedirect(PramatiHttpServletResponseImpl.java:1594)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:81)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:62)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:332)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:179)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3628)
at com.xpn.xwiki.api.XWiki.checkAccess(XWiki.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 97 more
[ERROR] Method checkAccess threw exception for reference $xwiki in template
/templates/menuview.vm at [128,61]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with
id [/templates/menuview.vm]
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1605)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:656)
at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1605)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:656)
at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1605)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:72)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
com.pramati.web.servlet.core.ServiceAction.run(ServiceAction.java:83)
at
com.pramati.security.util.PramatiSecurityHelper._doAs(PramatiSecurityHelper.java:54)
at
com.pramati.security.util.AbstractSecurityHelper._doAs(AbstractSecurityHelper.java:195)
at
com.pramati.services.security.spi.SecurityHelper.doAs(SecurityHelper.java:146)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetWebResource(PramatiFilterChainImpl.java:317)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:168)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.invokeTargetFilter(PramatiFilterChainImpl.java:243)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.doFilter(PramatiFilterChainImpl.java:160)
at
com.pramati.web.servlet.core.PramatiFilterChainImpl.startDoFilter(PramatiFilterChainImpl.java:120)
at
com.pramati.web.interceptors.ServiceInterceptor.preProcess(ServiceInterceptor.java:114)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:70)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultInterceptor.process(DefaultInterceptor.java:71)
at
com.pramati.web.interceptors.core.InterceptorChainImpl.processNext(InterceptorChainImpl.java:48)
at
com.pramati.web.interceptors.core.DefaultProcessContainer.process(DefaultProcessContainer.java:97)
at
com.pramati.web.core.WorkerThread.processConnection(WorkerThread.java:289)
at
com.pramati.web.core.WorkerThread.processConnection(WorkerThread.java:263)
at com.pramati.web.core.WorkerThread.run(WorkerThread.java:129)
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'checkAccess' in class
com.xpn.xwiki.api.XWiki threw exception java.lang.IllegalStateException:
Response is already committed @ /templates/menuview.vm
[128,68]
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:396)
at
org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:111)
at
org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:109)
at
org.apache.velocity.runtime.parser.node.ASTAndNode.value(ASTAndNode.java:74)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
... 84 more
Caused by: java.lang.IllegalStateException: Response is already committed
at
com.pramati.web.servlet.core.PramatiHttpServletResponseImpl.sendRedirect(PramatiHttpServletResponseImpl.java:1594)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:81)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:62)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:332)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:179)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3628)
at com.xpn.xwiki.api.XWiki.checkAccess(XWiki.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
--
View this message in context: http://n2.nabble.com/%27Response-is-already-committed%27-when-user-logs-in-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello friends,
I am trying to use the work of Mark Strauss (mktree) found at
http://www.javascripttoolbox.com/lib/mktree/ in xwiki application/plugin
that allows creation of collapsible tree from a static ul and lit list.
So far, I had it working through by adding the javascript and the css file
by adding the actual path of these files in the "presentation" section of
the admin dashboard.
However, I wanted it to be more organized and make it available on demand.
So i created the jsx and the ssx files in place of the javascript and the
css files.
So far so good.
However, there are images that were referred by the css file which worked
fine in the previous setup (basically they assign a plus and minus sign on
the right of the ul and li elements).
Now, I've attached these image files to the ssx. But I am not able to get
the ssx to work with the images. The Javascript works fine from the jsx. The
tree does collapse and expand as expected. However, the images from the
style sheet does not show up.
I've used the following line in the "object" edit mode of the ssx page:
ul.mktree li.liOpen .bullet { cursor: pointer; background:
url($xwiki.getAttachmentURL("minus.gif")) center left no-repeat; }
...here minus.gif is attached to the ssx page. But no go.
I did go through the various resources on skin customizations and the
addsizes extension tutorial. I could not understand the "use velocity to
attach images" technique in the addsizes tutorial. Is there a simpler way to
make the ssx pick up the image files and behave just like a normal css
file?...
Any help would be appreciated.
Thank you all.
Hi
I am not trying to deploy XWiki onto my public server but ran again
into the issue of having to change the JBoss Classloading prefences:
Edit $JBOSS_HOME/server/<server configuration>/jbossweb-tomcat55.sar/
META-INF/jboss-service.xml file and replace:
<attribute name="Java2ClassLoadingCompliance">false</attribute>
<attribute name="UseJBossWebLoader">false</attribute>
with:
<attribute name="Java2ClassLoadingCompliance">true</attribute>
<attribute name="UseJBossWebLoader">true</attribute>
According to your wiki. Because I already have other application
running on that server I am not quite sure if I want to proceed with
that and also was wondering why this is necessary in the first place.
Isn't there a way to use the default configuration of JBoss?
I rarely encounter any other web application that has a problem with it.
Cheers
Andreas Schaefer
CEO of Madplanet.com Inc.
Email: andreas.schaefer(a)madplanet.com
schaefera(a)me.com
Twitter; andy_mpc
AIM: schaefera(a)me.com
On Sat, May 9, 2009 at 10:04 AM, David Huynh <dfhuynh(a)alum.mit.edu> wrote:
> Looking at the HTML source, I see
> <div ex:role="coder" ex:coderClass="Color"
> id="party-colors">
> <span ex:color="red">Republican</span>
> <span ex:color="blue">Democratic</span><p/>
> <span ex:case="others" ex:color="#aaa">Other
> parties</span>
> <span ex:case="mixed" ex:color="#eee">Many
> parties</span>
> <span ex:case="missing" ex:color="#444">No party</span>
> </div>
> I think the <p/> is causing problem. Could you remove it and see if that
> helps?
That was exactly the problem! Thank you so much, as that's one I would have
never spotted myself!
FYI, here's what happened: Since I just cut/paste the HTML from view-source
on the presidents example on simile-widgets.org, the newlines got
interpreted as paragraphs by the wiki-engine in Xwiki. So, I removed the
extra newline in Exhibit.Presidents2, and it now works in IE! This is a
"gotcha" I frequently hit in Xwiki, although I find the ability to mashup
HTML and wikitext in an active document quite useful.
Now both the "standalone"
http://nielsmayer.com/xwiki/bin/view/Exhibit/Presidents2
and locally-hosted-exhibit
http://nielsmayer.com/xwiki/bin/view/Exhibit/Presidents
work in IE! Thanks again and also thanks for Exhibit which is just all
around great!
The updated XAR (zip format) of "Presidents2" example is here:
http://nielsmayer.com/xwiki/bin/download/Exhibit/Presidents2/Exhibit.Presid…
Length Date Time Name
-------- ---- ---- ----
94080 05-09-09 10:30 Exhibit/Presidents2.xml
2226 05-09-09 10:30 Exhibit/PresidentsSchemaJSON.xml
29379 05-09-09 10:30 Exhibit/PresidentsJSON.xml
544 05-09-09 10:30 package.xml
-------- -------
126229 4 files
Niels
http://nielsmayer.com
PS: After sending the announcement yesterday, I realized there was one issue
that makes this example not quite standalone. Exhibit.PresidentsPkg.xar
contains a hard-coded google-maps key that you receive when registering your
site <http://code.google.com/apis/maps/signup.html>. You'll need to change
"gmapkey" setting in object XWiki.JavaScriptExtension[2] on document
"Exhibit.Presidents2":
> params: { bundle: true, authenticated: false, autoCreate: false, safe:
> false, gmapkey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXX", views: "timeline,map" }
Until this is changed, you'll get a dialog box from google saying you need
to register. When you click away the dialog box, it should load the
interface even if not correctly registered.
PPS: What does this Exhibit parameter setting do, and what is the correct
value:
namespace: "http://simile.mit.edu/2006/11/exhibit#",
(also in object XWiki.JavaScriptExtension[2] on document
"Exhibit.Presidents2)
Hi,
Does anyone know if its possible in XWiki to create a diagram (e.g. UML
diagram, organisational diagram, etc) where you can click on a box or some
text on the diagram and go to the relevant wiki page and maybe from that
page back to its associated diagram? This would be quite useful for
navigating from a diagram to its underlying references.
Regards,
Richrd
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
I'm setting up a debugging environment in Eclipse, and Tomcat fails
startup with the following log:
May 7, 2009 8:31:02 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: C:\Program Files
(x86)\Java\jdk1.5.0_16\bin;.;C:\Windows\system32;C:\Windows;C:\Program
Files (x86)\Java\jdk1.5.0_16\jre\bin;C:/Program Files
(x86)/Java/jdk1.5.0_16/bin/../jre/bin/client;C:/Program Files
(x86)/Java/jdk1.5.0_16/bin/../jre/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program
Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files
(x86)\QuickTime\QTSystem\;C:\Program Files\MySQL\MySQL Server
5.1\bin;C:\Windows\System32\WindowsPowerShell\v1.0\
May 7, 2009 8:31:02 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 7, 2009 8:31:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 624 ms
May 7, 2009 8:31:02 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 7, 2009 8:31:02 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.27
May 7, 2009 8:31:02 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2009-05-07 20:33:34,608 [] [main] ERROR
8.2] - Exception sending context
initialized event to listener instance of class
org.xwiki.container.servlet.XWikiPlexusServletContextListener
java.lang.RuntimeException: Failed to initialize application contextt
at
org.xwiki.container.servlet.XWikiPlexusServletContextListener.contextInitialized(XWikiPlexusServletContextListener.java:58)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: javax.servlet.ServletException: could not lookup service
org.xwiki.container.servlet.ServletContainerInitializer
at
org.codehaus.plexus.servlet.PlexusServletUtils.lookup(PlexusServletUtils.java:94)
at
org.xwiki.container.servlet.XWikiPlexusServletContextListener.contextInitialized(XWikiPlexusServletContextListener.java:54)
... 15 more
May 7, 2009 8:33:39 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
org.xwiki.container.servlet.ServletContainerInitializer.class is present
in the published xwiki-core-container-servlet.jar.
What should I do next to troubleshoot?
Thanks,
Dan
Thanks Sergiu ... I'll try that.
Would be a great feature to have in XWiki to have a plugin that enables you
to import an image and add hot spots to
link out to other wiki pages. Not sure how that could be done though.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Sergiu Dumitriu
Sent: 07 May 2009 12:14
To: XWiki Users
Subject: Re: [xwiki-users] XWiki diagram linking
goldring, richard wrote:
> Hi,
>
> Does anyone know if its possible in XWiki to create a diagram (e.g. UML
> diagram, organisational diagram, etc) where you can click on a box or some
> text on the diagram and go to the relevant wiki page and maybe from that
> page back to its associated diagram? This would be quite useful for
> navigating from a diagram to its underlying references.
Not yet, at least not as an official feature.
But you can use HTML tricks to do that: make a png image with an
imagemap, on which you can define areas and their links. The problem is
that you will either have to define the map yourself, or hope that your
UML tool can do that for you.
Another option is to export the image as SVG, which has tags for links,
then edit the SVG and add the links. The only problem is that SVG is not
supported natively by IE.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender's telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi
I'm using a modal window (subModal) in my xwiki and things work fine
until I try to use it while in 'inline' mode and using Firefox 3.0.10
(IE works).
The problem is that the modal window opens and closes straight away
making the parent page go from 'inline' to 'preview' mode!!
Looks like js method 'window.setTimeout' is not executing.
Has anyone had js probs in the past?? Do xwiki developers have any
idea?
I can see two errors in the Error console:
Error: Permission denied to get property XULElement.accessibleType
Source File:
http://localhost:8082/xwiki/resources/js/prototype/prototype.js
Line: 2015
And
Error: Permission denied to get property XULElement.accessibleType
Source File:
http://localhost:8082/xwiki/bin/jsx/scripts/subModal?language=en
Line: 1
(Problem here is that xwiki displayed js script on one line)
Ajdin
--------------------------------------------------------
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.
Hello friends,Found out that the page where the new ModalBox Application Xar
is to be downloaded is a deleted page
URL :
http://code.xwiki.org/xwiki/bin/view/Applications/ModalBoxApplicationDownlo…
It looks like a really cool app to have on the wiki. For me, it will be a
nice workaround to the balloon styled tooltip I had requested help with on
the mailing list some time back.
Hope the modal box is available soon...
>>Hi,
>>
>> I'm working with the xwiki-xmlrpc code, and I'm wondering...
>>
>> What's the story behind swizzle-confluence-1.1-20070829-xwiki.jar?
>>
>> Where can I get the source?
>>
>> Thanks,
>>
>Hi Dan,
>
>this was a custom package created long time ago from the Swizzle 1.1 +
>some custom patches.
>Those patches got eventually committed in the Swizzle trunk but since
>there has not been a 1.2 release since, we kept that custom jar.
>
>You can assume that the source of that jar is the one you find in the
>Swizzle trunk:
>http://svn.codehaus.org/swizzle/trunk/swizzle-confluence/
>
>Cheers,
>Fabio
Fabio,
Thanks for the reply.
The source at the above URL is not the code referenced in, e.g. org.xwiki.plugins.eclipse.model.impl.XWikiConnection:
import org.codehaus.swizzle.confluence.Confluence;
import org.codehaus.swizzle.confluence.IdentityObjectConvertor;
import org.codehaus.swizzle.confluence.Space;
import org.codehaus.swizzle.confluence.SpaceSummary;
import org.codehaus.swizzle.confluence.SwizzleConfluenceException;
import org.codehaus.swizzle.confluence.SwizzleXWiki;
Specifically, SwizzleXWiki, SwizzleConfluenceException, and IdentityObjectConvertor do not exist in that codebase.
I'm creating an XmlRpc client, and am using the XEclipse code as a pattern for my code. I'd like to have the source for the version of swizzle-confluence that implements these classes.
Thanks,
Dan
Hello,
I just started to use xwiki (and I am quite new to wikis but understand
their basic concepts), and in the process, developed a bit of code which
I would like to share (add to the code snippets on the xwiki).
I have a user account on the xwiki.org and can log in.
Every time I use the "Add Snippet" button, it opens the form to name
the page (which I fill in), then there is a form with large window where
I suppose the programming code is to go (this large window
ends with {/pre}).
But, every time I put the code into the form (even starting it with
{pre}), the code never shows in the preview (it is a velocity code
snippet BTW).
So the question is, would you please explain to me how am I supposed to
add the code snippet to xwiki.org? Pointers to documentation welcome.
Kind regards,
Vlad
PS: This is obviously a combination of me being a beginner at
xwiki and not understanding what stuff is expected of me where,
when adding the code snippet.
Hi,
I'm trying to set up XWiki with our single sign on and group
management infrastructure, I've so far managed to handle SSO using CAS
but I'm stuck when it comes to managing groups.
The XWikiUsers are created on demand when they first log in, users
belong to groups, those groups are managed outside of XWiki.
My question is, what API should I use
(XWikiGroupsService,XWikiRightsService?) to materialize those groups
in XWiki so they appear when setting access rights on pages.
Any help would be greatly appreciated.
Mathias.
Hi,
I'm working with the xwiki-xmlrpc code, and I'm wondering...
What's the story behind swizzle-confluence-1.1-20070829-xwiki.jar?
Where can I get the source?
Thanks,
Dan Svoboda
Dept of Structural Biology
University of Pittsburgh
Hi,
3 days ago, we took this following error at xwiki 1.8 startup. The install
is the standalone "Stable: xwiki-enterprise-installer-windows-1.8.2.exe "
with the hdsqldb database by default.
We use xwiki since 2 or 3 months and the database is large of 82Mo.
- I tried to use files of the database (replacing database folder) on
another clean standalone install, and the problem is same.
- I tried to use default database folder of clean install on my problematic
install, and it works.
- I tried to use save of my database folder (5-6 days old), and the problem
is same.
I see in error message several lines with "Cannot create
PoolableConnectionFactory (Out of Memory)" or "Caused by:
java.sql.SQLException: Out of Memory", but i need real help to understand
and fix my problem.
Please any help is welcome, thanks.
HTTP ERROR: 500 Error number 3 in 0: Could not initialize main XWiki
context Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class Wrapped Exception: Error number 0
in 3: Exception while hibernate execute Wrapped Exception: Could not create
a DBCP pool. There is an error in the hibernate configuration file, please
review it. RequestURI=/xwiki/bin/view/Main/ Caused by:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class Wrapped Exception: Error number 0
in 3: Exception while hibernate execute Wrapped Exception: Could not create
a DBCP pool. There is an error in the hibernate configuration file, please
review it. at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:326) at
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324) at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:538) at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 3001 in 3:
Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class Wrapped Exception: Error number 0
in 3: Exception while hibernate execute Wrapped Exception: Could not create
a DBCP pool. There is an error in the hibernate configuration file, please
review it. at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1002)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:726) at
com.xpn.xwiki.XWiki.(XWiki.java:668) at
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316) at
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324) at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:538) at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 0 in 3:
Exception while hibernate execute Wrapped Exception: Could not create a DBCP
pool. There is an error in the hibernate configuration file, please review
it. at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1052)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1082)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:68)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.(AbstractXWikiMigrationManager.java:68)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.(XWikiHibernateMigrationManager.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source) at
com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:994) at
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:726) at
com.xpn.xwiki.XWiki.(XWiki.java:668) at
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316) at
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324) at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:538) at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Wrapped Exception: org.apache.commons.dbcp.SQLNestedException: Cannot
create PoolableConnectionFactory (Out of Memory) at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:193)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:165)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:562)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1038)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1082)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:68)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.(AbstractXWikiMigrationManager.java:68)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.(XWikiHibernateMigrationManager.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source) at
com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:994) at
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:726) at
com.xpn.xwiki.XWiki.(XWiki.java:668) at
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316) at
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:414) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324) at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:538) at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Caused by: java.sql.SQLException: Out of Memory at
org.hsqldb.jdbc.Util.sqlException(Unknown Source) at
org.hsqldb.jdbc.jdbcConnection.(Unknown Source) at
org.hsqldb.jdbcDriver.getConnection(Unknown Source) at
org.hsqldb.jdbcDriver.connect(Unknown Source) at
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
at
org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
... 60 more Powered by Jetty://
--
View this message in context: http://n2.nabble.com/Problem-with-HSQLDB-Database-please-Help%21%21-tp27921…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi xwiki-users,
Quick proposal - would it be possible to enhance the box macro so that it
includes two extra (optional) parameters:
"hideable"=[true/false]
"initial"=[show/hide]
It would be useful to have a show/hide button on box macros (and all its
children) using JavaScript (possibly based on
http://code.xwiki.org/xwiki/bin/view/Snippets/ShowHideDIVSnippet). Thanks!
Hi,
The XWiki translation tool located at http://l10n.xwiki.org/ has been
upgraded yesterday. Starting today, new message strings are automatically
loaded into the translation tool every night at 2:00 am Paris time. This
means that whenever a developer commits a new portion of code that requires
to be translated, it will show up on http://l10n.xwiki.org/ the next day.
The immediate effect of this change is that approximately 120 new messages
to translate have been added for XWiki Enterprise since yesterday. Some of
the languages that used to be finished (such as german, romanian or spanish)
are no longer complete. You can check the actual numbers here:
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources
Additionally, some contributions have not been reviewed yet. Reviewing
translations helps finding & fixing typos and other mistakes. It would be
great if members from the community could look at it and review translations
where applicable.
Since we're close to the release date of XE 1.8.3 (and soon XE 1.9 M2) it
would be awesome if some of you guys could update the tool with missing
translations and reviews. I'm done with French already, 15 languages to go
;-)
Many thanks in advance on behalf of the community,
Guillaume
--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
Hi xwiki-users,
Just wondering if it's possible to add a macro inside a code macro? What I
want to do is something like this:
{{code language="sql"}}
select *
from xyz
where from_date = '{{date-macro date="-1b" format="yyyyMMdd"/}}' -- The
date-macro returns the last business date in yyyyMMdd format
{{/code}}
Thanks in advance!
Hi
After a while I figured out how to add code blocks etc to a blog
entry. This seems to use the wiki 1.0 syntax and I was wondering if
there is a chance to use 2.0 instead because I only use 2.0 for the
wikis and I would love to keep one syntax around.
Cheers
Andreas Schaefer
As a developer I am very interested to be able to display code
(snippets) inside a blog entry.
Any idea or hints on how to accomplish that?
Thanks
Andreas Schaefer
CEO of Madplanet.com Inc.
Email: andreas.schaefer(a)madplanet.com
schaefera(a)me.com
Twitter; andy_mpc
AIM: schaefera(a)me.com
HI,
I have a page that should be readable for multiple translations.
Currently it has a translation 'en' (for english) which is the default
for the xwiki.
The problem is that it also claims that the original version is
'.' (this page is empty)
1) How can such a 'original' version have been created? (to prevent it)
2) How can I remove this version, so the 'en' version is seen as the
original
3) Or is the '.' original 'good' behaviour?
Gerritjan Koekkoek
Hi
I'm trying to use subModal javascript modal tool. I got it to work but
my modal window that contains a simple form also contains XWiki skin
(with menu etc.).
Is there a way to create a page without the skin? This is similar to
the style in modal window in the Admin area when editing a group for
example!
Is there an XWiki js modal too that can be used instead of an external
tool like subModal?
Ajdin
--------------------------------------------------------
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 all,
There are two (three) applications handling tasks: The "Task Manager Application" and the "(Extended) ToDo Application". AND there is a "Wanted Application" ... Work Order Management, where you can create a list of workers, and create tasks (define properties like requester dept. and name, project containing the task, date of creation, details, and notes). Assign tasks to a worker, and track hours in each task, finally close tasks. Should be able to extract simple reports, like n. of open/closed tasks, min., max. and average hours per task, listing per requester, and per worker, etc.
What's the development direction of these applications? The main advantage of the "Task Manager Application" is the link to a Wiki Page. This allows making notes, adding open issues ... to a page - the local view. The global view is the central list of all open issues. The two main directions to look for open issues. Jira is a funny tool too; however I need the direct link to the Wiki page.
That's what I like, the question is: What's going on?
Thanks
mb
Dear xwiki experts,
I politely ask for assistance, since many-days-troubleshooting on my own
brought no success.
I'm still getting JBoss Application Server errors, as described below.
What am I doing wrong? All steps are followed as described on xwiki.org.
Many thanks in advance for your expertise!
MY INFRASTRUCTURE:
DEBIAN 5.0.1
JBoss GA 5.0.1 (no add-ons, no other applications)
JDK 5.0
PostgreSQL 8.3.6-1
postgresql-8.3-604.jdbc4.jar JDBC Java Driver
MY INSTALLATION STEPS:
1. Installed JBoss GA 5.0.1
2. created directory
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war
3. copied the content of xwiki-enterprise-web-1.8.1.war into directory
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/
4. Uncommented the resource-ref in
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/web.xml as
follows:
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/XWikiDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
5. Modified the
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/hibernate.cfg.xml
as follows:
<property
name="connection.url">jdbc:postgresql://localhost:5432/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">org.postgresql.Driver</property>
<property
name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
6. Downloaded the jboss-web.xml and placed it into the directory
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF
7. Installed PostgreSQL 8.3.6-1 per command apt-get insall postgresql
8. Executed following commands as postgres user:
# createuser xwiki -S -D -R -P -Upostgres
# createdb xwiki -Eunicode -Oxwiki -Upostgres
9. Copied postgresql-8.3-604.jdbc4.jar Java Driver into
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/lib
10. Uncommented xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml line
in the file
/usr/local/jboss.ga.5.0.1/server/default/deploy/xwiki.war/WEB-INF/xwiki.cfg
JBOSS GA ERROR:
When I start the JBoss Application Server, I get the following error:
11:12:19,299 INFO [TomcatDeployment] deploy, ctxPath=/
11:12:19,793 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
11:12:20,290 INFO [TomcatDeployment] deploy, ctxPath=/xwiki
11:12:21,311 ERROR [JBossContextConfig] XML error parsing: context.xml
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX
parser
at
org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
at
org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:557)
at
org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:543)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
--
View this message in context: http://n2.nabble.com/XWIKI-installation-error-on-JBOSS-5.0.1--%21%21%21PLEA…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Sergiu,
The link that is displayed is :
http://IPaddr:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=leMZxkWI
I try to give you all information :
My virtual Wiki has a space called PVCS. There is special rights handeling in it :
- In the users tab, i changed nothing
- In the groups tab, i gave the green check to all functions for a group called "PVCSAdmin", i changed nothing for the XWikiAdminGroup and for XWikiAllGroup i gave the access (green check) to View and Comment only (other function have the red stop sign)
If i go to the WebHome page of the space without login, it opens the previous given link. Once logged, i can see my page.
FYI, the link to the virtual wiki login page is : http://IPaddr:8080/xwiki/wiki/technicalwiki/login/XWiki/XWikiLogin?xredirec…
Hope it helps
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Sergiu Dumitriu
Envoyé : lundi 27 avril 2009 17:06
À : XWiki Users
Objet : Re: [xwiki-users] LDAP users authentication
PERINAUD Christophe wrote:
> Hi,
>
>> No, there's no reason for this. A possible explanation:
>>
>> - The link followed was somehow wrong, pointing to a non-existing
> wiki.
>
> Given to another user (that has already connect in), the link works
I'm not saying that the link is wrong, but that it got wrong somewhere
in the process: bad copy/paste in the mail, bad copy/paste in the
browser, etc.
>> - This normally redirects to the main wiki to a page explaining that
>> "this wiki does not exist".
>
> The wiki exists. After login the message is that the user has no right
> to view the page
Can you tell me what was the name of the page that was displayed to the
user? The one from the main wiki.
>> - The administration menu could only appear if the rights on your
> main
>> wiki are wrongly set. I'd advise you revise your rights, since this is
> a
>> potential security issue.
>
> But in this case why after deleting local profile on the main wiki and
> asking the user to connect on the virtual wiki, everything goes fine
> (able to see and no admin rights) ? I did not change rights before
> deleting.
This is normal behavior. Connecting to a local wiki is just that,
connecting to a local wiki, there's no relation to the main wiki and its
rights. The fact that the first time the user ended up on the main wiki
is an exceptional case, which must be investigated. Ignore the normal
behavior, it is working fine. Debug the main wiki rights issue.
> I checked the rights space and the rights page and there is no
> restriction. On the main wiki, only unregistered users have restriction
> (no edition)
There's no reason why visiting a local wiki should redirect to the
global one, except the one that I stated above. Try logging in on the
main wiki, to see what's happening. Try using that user's account on
both the global and local wiki.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
I'm using XWiki (1.3) in our company. For testing of new functionality
(especially in wysiwyg editor) I need the newest version of well configured
XWiki. I registered as "kaferos" and I would like to use "twig" as server
name.
Thanks
Frantisek Kall
--
View this message in context: http://n2.nabble.com/-myxwiki--new-wiki-request-tp2732206p2732206.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello folks,
I am sorry to revive an old question I had asked in this forum but I wanted
to share this with everyone.
My statistics were not working on XWiki 1.7.2 originally.
Finally, I figured this out.
The database was MySql ver 4.x.x.
I got this legacy database to work on since XWiki was on testing mode for my
organization back then. I really did not have any option in the choice of
the MySql version at that point of time.
I had almost given up on getting the stats to work. But in the process of
setting up a test XWiki I installed MySql 5.4.
And the stats module worked !!!
Guess, I missed something in the XWiki install guides or maybe the version
compatibility (for database & app servers) is not mentioned in the install
guides.
My most sincere thanks to Sergiu & Thomas who took the time to answer my
questions when this thread was active.
Thank you everyone...
On Mon, Mar 9, 2009 at 4:56 AM, Dilipkumar Jadhav <
jadhav.dilipkumar(a)gmail.com> wrote:
> Dear all,
> Thank you so much for your prompt response.
> I've tried to check all the things you have suggested. This is where i
> stand now:
>
> 1. Debug each line of the stats panel
> I printed out the values at the end of each #set line in the most
> edited pages panel. This is what i got as a result:
>
> com.xpn.xwiki.criteria.impl.Scope@19fd285
> com.xpn.xwiki.criteria.impl.Period@11ff313
> com.xpn.xwiki.criteria.impl.Range@4348c6
> []
>
> The final [] in the fourth line above is the value for $stats
>
> 2. The Joda time plugin might be disabled
>
> I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in
> my xwiki.cfg properties
> Also, joda-time-1.4.jar is available in WEB_INF > lib folder
>
> 3. "Maybe you have a "statistics" field set to 0 in
> XWiki.XWikiPreferences (edit in object mode to check)"
> I went to the XWiki.XwikiPreferences page and checked it in the object
> mode. Unfortunately, i do not see any "statistics" field in there.
> Could you please provide me with some exact example that i should look
> for in this page. I see info about panels & skins et al. But nothing
> about the statistics field.
>
> 4. I read the line in the user guide that says - "When statistics are
> globally enabled, storage can be enabled/disabled by wiki using the
> XWikiPreference property "statistics"
> Is this the same statistics field that we are talking about in point 3
> above...If so, i really need some more clarity on looking up
> XWikipreferences in the object mode.
>
> 5. I have disabled the module and enabled it again. But there is still
> no data being displayed on the panels. All it says is - "No statistics
> recorded"
>
> Please help...thank you friends.
>
Hi -
1. Vincent, Thanks for answering my previous question on macros.
2. I have a new question on comments. I know I can prevent groups
from entering comments, and I know I can hide the comment section
completely as well. I was wondering if there is a way to hide comments
(both view and edit) from one group, but allow view and edit and view
only for other groups. I've done some searching but haven't turned up
if that's possibly yet.
Kelly
Kelly Lakas
Project Manager
next wave logistics inc.
28377 davis parkway, suite 607a
warrenville, il 60555
________________________
[office] 847.798.8897
[mobile] 312.307.2079
[web] www.nwlinc.com <http://www.nwlinc.com>
Hi,
I tried to upgrade xwiki enterprise from version 1.2 rc3 to 1.8.2 and
it was by no means an easy task. The good thing is xwiki is very robust
and I managed to recover most of it except the wiki preference. I would
appreciate if someone could help me get the last piece going.
Note: I have imported xwiki Application Adminstration xar. And when i
select the Panel Wizard icon, i get the following messages from the console
[WARNING] Deprecated usage of method
[com.xpn.xwiki.api.XWiki.getHashMap] in XWiki.XWikiPreferences@21,28
[WARNING] Deprecated usage of method
[com.xpn.xwiki.api.XWiki.getArrayList] in XWiki.XWikiPreferences@23,39
[WARNING] Deprecated usage of getter
[com.xpn.xwiki.api.XWiki.getHashMap] in XWiki.XWikiPreferences@54,29
[WARNING] Deprecated usage of getter
[com.xpn.xwiki.api.XWiki.getHashMap] in XWiki.XWikiPreferences@55,8
[WARNING] Deprecated usage of method
[com.xpn.xwiki.api.XWiki.getURLEncoded] in XWiki.XWikiPreferences@114,120
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb]
in XWiki.XWikiPreferences@6,16
[ERROR] Introspection Error : Ambiguous method invocation print(null)
for class class org.joda.time.format.DateTimeFormatter
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb]
in XWiki.XWikiPreferences@12,11
[WARNING] Deprecated usage of method
[com.xpn.xwiki.api.XWiki.getRecentActions] in XWiki.XWikiPreferences@5,31
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb]
in VMProxyArg : Reference@1,15
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb]
in XWiki.XWikiPreferences@1,6
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb]
in XWiki.XWikiPreferences@3,10
[WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb]
in XWiki.XWikiPreferences@10,20
Any help would be greatly appreciated
Thanks in advance
chung-onn
Hi -
I am trying to make the warning box macro work in 2.0. From the
research I did, it looked like I needed to put it in like this:
{{velocity}}#warning("this needs an update"){{/velocity}}. Then I get
this on render: <div class="warningmessage"><span
class="messagetype">Warning: </span>this needs an update</div>.
I tried {{velocity}}{{xhtml}}#warning("this needs an
update"){{/xhtml}}{{/velocity}} as well, but that failed too - I get an
error box that says "unknown macro: html".
I'm using XWiki Enterprise 1.8.1.18545, installed on my local box.
I'm not a programmer/developer, so I'm a little stuck on the next step
and my investigations so far haven't turned up what I need to do.
I saw also on the footnotes macro page that the comment said that it
didn't work in 2.0, so I'm assuming that needs an update to get it to
work? Or is the comment wrong?
Hate to bother, just looking for a little help.
Kelly Lakas
Project Manager
next wave logistics inc.
28377 davis parkway, suite 607a
warrenville, il 60555
________________________
[office] 847.798.8897
[mobile] 312.307.2079
[web] www.nwlinc.com <http://www.nwlinc.com>
Hello Friends,
I have been asked to connect an external database with XWiki (XWiki will be
used as the application & MySql as the database).
I am using XWiki Enterprise 1.7.14685 :: MySql 5.0.
The external database (let's call it titan) is on the same mysql instance
(port) as XWiki database itself.
The requirement is to fetch user input (in terms of check boxes, radio
buttons & text boxes) from XWiki page and insert it into database.
Also, some degree of read operation from the database is required.
I've been able to read from my external database using the following code
directly in my XWiki page (under XWiki 1.0 syntax):
<%
import groovy.sql.Sql
def sql = Sql.newInstance("jdbc:mysql://localhost:3306/titan", "root",
"test", "com.mysql.jdbc.Driver")
sql.eachRow("select * from user"){
println "${it.user}"
}
%>
Hence, I am confident that an update or insert operation can be performed
with ease too (thanks to the groovy page at
http://groovy.codehaus.org/Database+features).
But I am not familiar with how to retrieve session parameters from the page
context. Could someone please guide me to a resource or a working example of
fetching context variables/parameters. Maybe it is a very simple solution,
but I have very little background in velocity. Any help would be much
appreciated.
Also, any time-frame on the page rating feature which is being discussed
very often now?(what version we could expect to see it?). Also, would page
rating be available for all the documents in an existing wiki (as in
embedded in the velocity templates) or would it be available only for newly
created pages/documents.
Thank you everyone...