Re: [xwiki-users] Horizontal Menu like xwiki.org in Farm

2012-09-27 Thread niko dangl
I just set it as Skin and it worked but got the same menu on each wiki.

Now everything is working and i got a menu for each wiki.
Thank you so much caty :)

Well you said you managed to put the Menu in all your wikis. How did you do



 that?





 What you find in the archive is:



 - WebPreferences.xml page: this sets the skin xwiki:XWikiOrgCode.Skin as



 the active skin. The wiki mark xwiki: means that the skin is located on



 your main wiki





 - Skin.xml page: it's a standard skin file, with the addition that it has



 the header.vm field overwritten and adds a reference to



 xwiki:XWikiOrgCode.MenuMacro. Having again the xwiki: marks means that



 this uses the file from the main wiki.  One quick fix for your problem is



 instead of xwiki:XWikiOrgCode.MenuMacro put



 {your_subwiki_name}:XWikiOrgCode.MenuMacro or even simpler



 XWikiOrgCode.MenuMacro. This means that the path is no longer absolute,



 but relative to your subwiki. Make sure you duplicate on your subwiki the



 XWikiOrgCode.MenuMacro page and add any contextual content you want in



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


[xwiki-users] org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction

2012-09-27 Thread CHENEAU-GREHALLE Nicolas
Hi,

 

I've tried to install (with extension manager) FullCalendar Application
in XWiki 4.1.3.

 

The installation crashed (because of a column value too small in
xwikilargestrings table), so I tried to install again with the .xar.

 

It's impossible to import Calendar.JQuery. I've the error message :

Wrapped Exception:

 

org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#?xml version=1.0
encoding=UTF-8?

 

code/code

]

at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEnt
ityPersister.java:1950)

at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEn
tityPersister.java:2594)

at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(Ab
stractEntityPersister.java:2494)

at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEn
tityPersister.java:2821)

...

 

Any idea to resolve this problem ?

 

Thank you

 

Best regards

 

Nicolas

 

 

 

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