Re: [xwiki-users] Problem with HSQLDB Database please Help!!

2009-05-06 Thread Remi

Thank you for your answer, but i need explanations.

(0) Restart your container. And relaunch: What is the container? how? the
java ? uninstalling and reinstalling it?
(1) how to do? where can i manage theses settings?



Niels Mayer wrote:
 
 On Tue, May 5, 2009 at 3:40 AM, Remi
 remi.pierr...@conseiltechno.comwrote:
 
   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.

 
 (0) Restart your container. And relaunch. Check to see if this error is
 still there:
 
 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
 
 If so, beg for additional assistance on list...  (Does this error arise
 from
 an out of memory condition or indicate  version mismatch between db and
 software?).
 
 Independently of that, eliminate out of memory error from possibilities:
 
 (1) Increase the memory on your java process. I've been running a vhosted
 1.8 system happily for over a month now, nonstop, with the following
 settings (YMMV, I'm running two large apps in tomcat):
 
 tomcat2040  0.5 60.2 1835160 1230408 ? Sl   Apr03 267:28
 /usr/java/default/bin/java -server -Xms160m -Xmx1024m -XX:PermSize=160m
 -XX:MaxPermSize=320m -Djavax.servlet.request.encoding=UTF-8
 -Dfile.encoding=UTF-8 -DjavaEncoding=UTF-8 -Djava.awt.headless=true ...
 
 Note the gargantuan 1.2g process size... but it just keeps running... It
 always eventually reaches it's 1.2g (-Xmx1024m) limit but doesn't give out
 of memory errors.
 
 (2) Check on additional customizations as needed. Increase fixed limits in
 your SQL connector, or in the db it itself? For example with
 MySQLhttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQLyou
 need to increase: -- max_allowed_packet=32M ...
 
 (3) Look into logs more carefully, and run some of the queries that are
 failing directly into your database. Potentially related, issues with
 large
 attachments:
 http://n2.nabble.com/Bug-%3A-unable-to-delete-attached-files-in-virtual-wikis-tp2434930p2440147.htmland
 http://n2.nabble.com/Hibernate-exception-when-trying-to-delete-attachment-tp2503343p2504053.html
 
 (4) Consult
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances
 for additional tips on Process size, turning off Monitoring, changing
 cache
 size, etc.
 
 Niels
 http://nielsmayer.com
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Problem-with-HSQLDB-Database-please-Help%21%21-tp2792184p2809260.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with HSQLDB Database please Help!!

2009-05-06 Thread Remi

Thanks,
I resolve my problem increasing limit size of java with the -Xmxsizem
parameter!
it was by default on -Xmx300m, and i need -Xmx600m.

In order to understand...i would like to know what is really loaded in
memory?

Xwiki need to load all the database in memory? all the pages with join
files? i thought one of interest of a database is to don't load all
information? Our base is still pretty small today, it means in one year we
will need 8Go of RAM? or we must change for Mysql?

Thank you for your help



Remi wrote:
 
 Thank you for your answer, but i need explanations.
 
 (0) Restart your container. And relaunch: What is the container? how? the
 java ? uninstalling and reinstalling it?
 (1) how to do? where can i manage theses settings?
 
 
 
 Niels Mayer wrote:
 
 On Tue, May 5, 2009 at 3:40 AM, Remi
 remi.pierr...@conseiltechno.comwrote:
 
   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.

 
 (0) Restart your container. And relaunch. Check to see if this error is
 still there:
 
 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
 
 If so, beg for additional assistance on list...  (Does this error arise
 from
 an out of memory condition or indicate  version mismatch between db and
 software?).
 
 Independently of that, eliminate out of memory error from possibilities:
 
 (1) Increase the memory on your java process. I've been running a vhosted
 1.8 system happily for over a month now, nonstop, with the following
 settings (YMMV, I'm running two large apps in tomcat):
 
 tomcat2040  0.5 60.2 1835160 1230408 ? Sl   Apr03 267:28
 /usr/java/default/bin/java -server -Xms160m -Xmx1024m -XX:PermSize=160m
 -XX:MaxPermSize=320m -Djavax.servlet.request.encoding=UTF-8
 -Dfile.encoding=UTF-8 -DjavaEncoding=UTF-8 -Djava.awt.headless=true ...
 
 Note the gargantuan 1.2g process size... but it just keeps running... It
 always eventually reaches it's 1.2g (-Xmx1024m) limit but doesn't give
 out
 of memory errors.
 
 (2) Check on additional customizations as needed. Increase fixed limits
 in
 your SQL connector, or in the db it itself? For example with
 MySQLhttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQLyou
 need to increase: -- max_allowed_packet=32M ...
 
 (3) Look into logs more carefully, and run some of the queries that are
 failing directly into your database. Potentially related, issues with
 large
 attachments:
 http://n2.nabble.com/Bug-%3A-unable-to-delete-attached-files-in-virtual-wikis-tp2434930p2440147.htmland
 http://n2.nabble.com/Hibernate-exception-when-trying-to-delete-attachment-tp2503343p2504053.html
 
 (4) Consult
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances
 for additional tips on Process size, turning off Monitoring, changing
 cache
 size, etc.
 
 Niels
 http://nielsmayer.com
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 

-- 
View this message in context: 
http://n2.nabble.com/Problem-with-HSQLDB-Database-please-Help%21%21-tp2792184p2810276.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Javascript issue

2009-05-06 Thread Ajdin Brandic
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.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with HSQLDB Database please Help!!

2009-05-06 Thread Jerome Velociter
Hi Remi,

Remi wrote:
 Thanks,
 I resolve my problem increasing limit size of java with the -Xmxsizem
 parameter!
 it was by default on -Xmx300m, and i need -Xmx600m.

 In order to understand...i would like to know what is really loaded in
 memory?

 Xwiki need to load all the database in memory?

No. XWiki caches in memory a maximum number of documents that you can 
configure.

  all the pages with join
 files? i thought one of interest of a database is to don't load all
 information? Our base is still pretty small today, it means in one year we
 will need 8Go of RAM? or we must change for Mysql?

HSQLDB is not meant for production instances in any case. It is a 
convenience distribution for testing. In a near future we will write a 
warning message next to the standalone distributions (jetty + HSQLDB) 
download links to state this clear and avoid any confusion.

For a production environment you will need to install XWiki in your own 
servlet container and configure it to use your own database.
Please refer to 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheXWikiWARmanually
 
(and http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ in general).

If you need, XWiki SAS (http://www.xwiki.com) can provide you hosting or 
consulting to get the best out of your XWiki installation. 
http://www.xwiki.com/xwiki/bin/view/Services/

Regards,
Jerome.


 Thank you for your help



 Remi wrote:
 Thank you for your answer, but i need explanations.

 (0) Restart your container. And relaunch: What is the container? how? the
 java ? uninstalling and reinstalling it?
 (1) how to do? where can i manage theses settings?



 Niels Mayer wrote:
 On Tue, May 5, 2009 at 3:40 AM, Remi
 remi.pierr...@conseiltechno.comwrote:

   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.

 (0) Restart your container. And relaunch. Check to see if this error is
 still there:

 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
 If so, beg for additional assistance on list...  (Does this error arise
 from
 an out of memory condition or indicate  version mismatch between db and
 software?).

 Independently of that, eliminate out of memory error from possibilities:

 (1) Increase the memory on your java process. I've been running a vhosted
 1.8 system happily for over a month now, nonstop, with the following
 settings (YMMV, I'm running two large apps in tomcat):

 tomcat2040  0.5 60.2 1835160 1230408 ? Sl   Apr03 267:28
 /usr/java/default/bin/java -server -Xms160m -Xmx1024m -XX:PermSize=160m
 -XX:MaxPermSize=320m -Djavax.servlet.request.encoding=UTF-8
 -Dfile.encoding=UTF-8 -DjavaEncoding=UTF-8 -Djava.awt.headless=true ...

 Note the gargantuan 1.2g process size... but it just keeps running... It
 always eventually reaches it's 1.2g (-Xmx1024m) limit but doesn't give
 out
 of memory errors.

 (2) Check on additional customizations as needed. Increase fixed limits
 in
 your SQL connector, or in the db it itself? For example with
 MySQLhttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQLyou
 need to increase: -- max_allowed_packet=32M ...

 (3) Look into logs more carefully, and run some of the queries that are
 failing directly into your database. Potentially related, issues with
 large
 attachments:
 http://n2.nabble.com/Bug-%3A-unable-to-delete-attached-files-in-virtual-wikis-tp2434930p2440147.htmland
 http://n2.nabble.com/Hibernate-exception-when-trying-to-delete-attachment-tp2503343p2504053.html

 (4) Consult
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances
 for additional tips on Process size, turning off Monitoring, changing
 cache
 size, etc.

 Niels
 http://nielsmayer.com
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users





___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] swizzle-confluence-1.1-20070829.jar

2009-05-06 Thread Fabio Mancinelli

On May 5, 2009, at 1:18 AM, Dan Svoboda wrote:

 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] About RightsService

2009-05-06 Thread Mathias Herberts
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.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-05-06 Thread jerem



jerem wrote:
 
 Hi Sergiu,
 
 For encoding, on server side I have LANG=en_US.UTF-8.
 In xwiki.cfg : xwiki.encoding=ISO-8859-1
 

I was wondering : I believe in 1.5, there was no parameter for encoding.
Does it mean that all strings were converted using platform encoding (LANG)
? Does it mean that I should put en_US.UTF-8 as parameter xwiki.encoding
in xwiki.cfg for correct decoding of existing data ?

Thanks for help,
Jérémie

-- 
View this message in context: 
http://n2.nabble.com/XWiki-1.8.2-%3A-migration-from-1.5%2C-import-default-.xar-not-working-tp2747103p2820856.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] adding a code snippet to http://code.xwiki.org/xwiki/bin/view/Main/

2009-05-06 Thread Vladimir Konrad

Thank you Sergiu, with your help I finally figured it out...

Kind regards,

Vlad
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 1.8.2 : migration from 1.5, import default .xar not working

2009-05-06 Thread jerem

Ok, so I reimported my data and performed the migration again.

Now I have better view on exceptions that occurred at startup time :

**
2009-05-06 20:11:50,892 [http://vanille:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor25] INFO  .AbstractXWikiMigrationManager  - Current
storage version = [7351] 
2009-05-06 20:11:50,914 [http://vanille:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor25] INFO  .AbstractXWikiMigrationManager  - List of
migrations that will be executed: 
2009-05-06 20:11:50,915 [http://vanille:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor25] INFO  .AbstractXWikiMigrationManager  -  
R15428XWIKI2977 - Add a GUID to existing objects when upgrading from
pre-1.8M1. 
2009-05-06 20:11:50,923 [http://vanille:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor25] INFO  .AbstractXWikiMigrationManager  - Running
migration [R15428XWIKI2977] with version [15428] 
2009-05-06 20:11:52,400 [http://vanille:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor25] ERROR store.XWikiHibernateBaseStore   - Exeption
while close transaction 
org.hibernate.HibernateException: identifier of an instance of
com.xpn.xwiki.objects.BaseObject was altered from -1950493164 to 1389182009
at
org.hibernate.event.def.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:58)
at
org.hibernate.event.def.DefaultFlushEntityEventListener.getValues(DefaultFlushEntityEventListener.java:164)
at
org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:120)
at
org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
at
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
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.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1043)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1084)
at
com.xpn.xwiki.store.migration.hibernate.R15428XWIKI2977Migrator.migrate(R15428XWIKI2977Migrator.java:76)
[...]
*

Something seems wrong with migration, but after that wiki starts fairly
right, and is accessible, except for (at least) the import feature ... I
don't know if exception at startup can explain the rest.

-- 
View this message in context: 
http://n2.nabble.com/XWiki-1.8.2-%3A-migration-from-1.5%2C-import-default-.xar-not-working-tp2747103p2822812.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Modal window UI component for XWiki (was Re: Javascript issue)

2009-05-06 Thread Jerome Velociter
Hi Adjin

I've added on code.xwiki.org a modal box extension based on 
http://www.wildbit.com/labs/modalbox/
You can find it here 
:http://code.xwiki.org/xwiki/bin/view/Applications/ModalBoxApplication

Starting with XWiki 1.9 Milestone 2 (to be released very soon), there 
will be a modal popup UI component that you will be able to reuse, too.
Check it on the release notes 
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise19M2#HNewreusable7E7Ecomponents7E7E
 
(Note the releases notes are still work in progress until the actual 
release, there are even more new things in this release!)

Cheers,
Jerome.

Ajdin Brandic wrote:
 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.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Xwiki+Simile Exhibit integration // request for help w/ portability issue

2009-05-06 Thread Niels Mayer
Although I was previously able to do a hack integration with Simile's
Exhibit and Xwiki, it was too heinous to actually live with. A cleaner
solution, using Xwiki's skin extensions for stylesheets and javascript now
works. The clean solution required hosting my own copy of Exhibit based on
checking out from the trunk the latest copy of Exhibit. Hosting my own
copy of Exhibit seems to be problematic, as the version of Exhibit I checked
out from svn/trunk has issues such as (1) a non-working minified jquery that
needed to be replaced w/ original, and (2) portability issue on IE (see
below) on which I need help/advice.

Here's my example of Xwiki/Exhibit integration:
http://nielsmayer.com/xwiki/bin/view/Exhibit/Presidents
Here's the original example from which above was derived:
http://simile-widgets.org/exhibit/examples/presidents/presidents.html

Xwiki Source Code:
Presidentshttp://nielsmayer.com/xwiki/bin/view/Exhibit/Presidents?viewer=code
Data used by example:
PresidentsSchemaJSONhttp://nielsmayer.com/xwiki/bin/view/Exhibit/PresidentsSchemaJSON?xpage=plain,
PresidentsJSONhttp://nielsmayer.com/xwiki/bin/view/Exhibit/PresidentsJSON?xpage=plain

Attached, because there's no easy way to view these, the contents of
XWiki.StyleSheetExtension[0] and XWiki.JavaScriptExtension[0] -- these are
objects attached to the underlying Xwiki document
http://nielsmayer.com/xwiki/bin/view/Exhibit/Presidents which cause the
appropriate magic to happen in the header via calls to
$xwiki.ssx.use($doc.fullName) and $xwiki.jsx.use($doc.fullName).

It's all explained in the preamble for
http://nielsmayer.com/xwiki/bin/view/Exhibit/Presidents?viewer=code :

 ## Note that to get this whole thing working requires jquery NOT FROM
 EXHIBIT SVN TRUNK
 ##( http://nielsmayer.com/js/exhibit/api/scripts/jquery-1.3.2.min.js )
 ## Instead, preload
 http://nielsmayer.com/xwiki/resources/js/exhibit/api/scripts/jquery-1.3.2.min.js
 ## for details see
 http://nielsmayer.com/xwiki/resources/js/exhibit/api/scripts/jquery-1.3.2.min.js.README
 $xwiki.jsfx.use(js/exhibit/api/scripts/jquery-1.3.2.min.js)##
 ## Note that
 http://nielsmayer.com/xwiki/resources/js/exhibit/api/exhibit-api.jsdifferent
 ## to trunk  http://nielsmayer.com/js/exhibit/api/exhibit-api.js
 $xwiki.jsfx.use(js/exhibit/api/exhibit-api.js)##
 ## though
 http://nielsmayer.com/xwiki/resources/js/Simile/Exhibit/webapp/styles.cssworks
  the line below does not:
 ##$xwiki.ssfx.use(js/simile/Exhibit/webapp/styles.css)##same loaded from
 XWiki.StyleSheetExtension[0] via ssx.use.
 $xwiki.ssx.use($doc.fullName)##
 $xwiki.jsx.use($doc.fullName)##



ISSUE AND REQUEST FOR HELP:

In IE, after the simile busy-spinner has popped up indicating a successful
load of Exhibit, the following errors happen, causing three successive
dialog boxes:

(1) Caught exception: ColorCoder: Error processing configuration of coder
Details: 'firstChild.nodeValue' is null or not an object

(2) Caught exception: undefined
Details: 'firstChild.nodeValue' is null or not an object

(3) IE error: Line 1831, char 52, Error: object expected

Suggestions on which version of Exhibit or Simile-Ajax-API to use in
order to get rid of this error would be appreciated. It is interesting to
note that the trunk version of the same example
http://trunk.simile-widgets.org/exhibit/examples/presidents/presidents.htmlworks
fine in IE.

Is this the same issue noted previously:
http://www.mail-archive.com/simile-widg...@googlegroups.com/msg00385.html
http://www.mail-archive.com/simile-widg...@googlegroups.com/msg00391.html
http://www.mail-archive.com/simile-widg...@googlegroups.com/msg00846.html???
--

TODO:

One last remaining hack is that I put the following in the headers

 link rel=exhibit/data type=application/json
 href=$xwiki.getURL(Exhibit.PresidentsSchemaJSON,view,xpage=plain) /
 link rel=exhibit/data type=application/json
 href=$xwiki.getURL(Exhibit.PresidentsJSON,view,xpage=plain) /

via the Exhibit space's HTTP Meta Information administration setting (
http://nielsmayer.com/xwiki/bin/admin/Exhibit/WebPreferences?editor=spaceadminsection=Presentationspace=Exhibit).
I would like to figure out a way to set these values directly in
javascript inside the document itself (or inside additional instances of
XWiki.JavaScriptExtension) rather than having them read as external json
files, e.g. http://www.mail-archive.com/gene...@simile.mit.edu/msg02434.html
http://www.nabble.com/JSON-created-locally-td17507332.html
http://www.patrickgmj.net/node/161

-- Niels.
http://nielsmayer.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] swizzle-confluence-1.1-20070829.jar

2009-05-06 Thread Dan Svoboda
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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] ModalBox Application Xar deleted

2009-05-06 Thread Dilipkumar Jadhav
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/ModalBoxApplicationDownloads

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...
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users