Re: [xwiki-users] IE-Display problem (Solved)

2009-11-26 Thread hel-o

Hi,

found the problem, changed the following part of colibri.css

 h1 span, h2 span, h3 span, h4 span {
overflow:hidden;
display: block;
position: relative;
background-color: inherit;
padding: 0;
margin: 20px 0;
}



h1 span span, h2 span span, h3 span span, h4 span span {
display: inline;
margin: 0;
border-bottom: 0;
} 

to

 h1, h2, h3, h4 {
overflow:hidden;
display: block;
position: relative;
background-color: inherit;
padding: 0;
margin: 20px 0;
}



h1 span, h2 span, h3 span, h4 span {
display: inline;
margin: 0;
border-bottom: 0;
} 

don't know but i don't think there is span span :)

hel.


In 2.1M1 it works mayby i'll check the differences in the stylesheets.



-
semantic-web.hel.at
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/IE-Display-problem-tp4024042p4070162.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] Attachment acces rights

2009-11-26 Thread juergen xwiki
Hallo,

is it possible that attachments on one page have different access rights?
Or gets the attachments always the rights from their page?

Thank you!

Best Regrades

juergen

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


Re: [xwiki-users] Attachment acces rights

2009-11-26 Thread Guillaume Lerouge
Hi Juergen,

On Thu, Nov 26, 2009 at 10:53 AM, juergen xwiki xw...@mauhs.eu wrote:

 Hallo,

 is it possible that attachments on one page have different access rights?
 Or gets the attachments always the rights from their page?


Attachments always inherit the rights from the page they are attached to.

Guillaume


 Thank you!

 Best Regrades

 juergen

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




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Hibernate exceptions when saving documents and objects

2009-11-26 Thread Jeremie BOUSQUET
The same exception occurs for either :

doc.set(date, sdf.format(mydate))
doc.set(date, mydate)   // mydate is java.util.Date
obj.set(date, mydate)// same for sdf.format(mydate) of course

Here is a longer log after increasing log level :

DEBUG jdbc.AbstractBatcher- about to open PreparedStatement
(open PreparedStatements: 0, globally: 0)
DEBUG hibernate.SQL   - update xwikidates set XWS_VALUE=?
where XWS_ID=? and XWS_NAME=?
DEBUG jdbc.AbstractBatcher- about to close PreparedStatement
(open PreparedStatements: 1, globally: 1)
ERROR .AbstractFlushingEventListener  - Could not synchronize database state
with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.DateProperty#2009-09-14 15:57:26.0]
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)


If I have a look in xwikidates, of course the date is not added for this
object, but though I doc.delete()-ed all created documents before retrying,
there is in this table a date property from an already deleted document
(another one).
So I tried again deleting all rests in xwikiobjects, xwikidates,
xwikilargestrings ... and so on, and also restarting the tomcat container.

Now loading the same input data and calling save() results in this :

DEBUG hibernate.SQL   - update xwikistrings set XWS_VALUE=?
where XWS_ID=? and XWS_NAME=?
DEBUG jdbc.AbstractBatcher- about to close PreparedStatement
(open PreparedStatements: 1, globally: 1)
ERROR .AbstractFlushingEventListener  - Could not synchronize database state
with session
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#?xml version=1.0 encoding=UTF-8?

messageidlt;bla...@titi.com lt%3bbla...@titi.comgt;/messageid
]

It fails on a different property (messageid), which in this case is the
first property saved.
It's merely a short string going into xwikistrings, so I don't see how I
could set it differently ?

I wonder if it could not be due to hibernate cache, or previous transaction
not being finished ? I really don't understand what's happening here... When
it was failing on the date property, the messageid was correctly set, so
I'm not sure it related to the content of the properties I try to set, but
to what ?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Hibernate exceptions when saving documents and objects

2009-11-26 Thread Jeremie BOUSQUET
Got it ! :)

I realized that there was update requests for not-working properties,
whereas good ones were doing insert, which is ok because it's a new
object.

I found a bunch of properties for my particular object id in
xwikiproperties. After purging them and restarting container, my object
saves successfully.
What I do not understand, is how this could happen ?

I still have to test it for all my input data...
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Attachment acces rights

2009-11-26 Thread juergen xwiki
Hallo Guillaume,

it´s a pity!
Than I have to look for a different possibility ;-)
Thank you!

Best Regrades

Juergen


- original Nachricht 

Betreff: Re: [xwiki-users] Attachment acces rights
Gesendet: Do, 26. Nov 2009
Von: Guillaume Lerougeguilla...@xwiki.com

 Hi Juergen,
 
 On Thu, Nov 26, 2009 at 10:53 AM, juergen xwiki xw...@mauhs.eu wrote:
 
  Hallo,
 
  is it possible that attachments on one page have different access rights?
  Or gets the attachments always the rights from their page?
 
 
 Attachments always inherit the rights from the page they are attached to.
 
 Guillaume
 
 
  Thank you!
 
  Best Regrades
 
  juergen
 
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 
 -- 
 Guillaume Lerouge
 Product Manager - XWiki SAS
 Skype: wikibc
 Twitter: glerouge
 http://guillaumelerouge.com/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 

--- original Nachricht Ende 

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


[xwiki-users] XWord issue

2009-11-26 Thread Faubi

Hi,

I'm using Office 2007 SP2, XE 2.0 and XWord 1.0 final. I can connect to my
xwiki through word properly, but every page written in word is displayed as
a code such as:

div class=Section1
  h1
Test!! 
  /h1
  p
TESTTT blabla  /p
/div

The .xar import was successful and as I'm the admin every page has
programming rights as well.

I haven't found any stated bug related to this issue!

So can anyone help me since using word for editing is crucial!

Thanks!!
Fabian
-- 
View this message in context: 
http://n2.nabble.com/XWord-issue-tp4072011p4072011.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] Xeclipse plugin

2009-11-26 Thread Steven Calkins
Dear All, 

 has anyone installed the Xeclipse plugin in the plugin directory of
Eclipse and have it not recognized by Eclipse? I am having that problem.
The instructions from
http://xeclipse.xwiki.org/xwiki/bin/view/Main/Installation say: 

Installing XEclipse as a plugin is as easy as unzipping the downloaded
ZIP file into your eclipse plugin directory (usually
${eclipse_home}/plugins where ${eclipse_home} is your eclipse
installation directory) 

When I unzipped xwiki-eclipse-feature-1.2-rc-1.zip into my eclipse
plugin directory, it added another plugin directory below plugin.
(Please mention on the site that the plugin path is included in the zip
file, so that it should be extracted in the ${eclipse_home} directory.) 

When that didn't work, I removed the unzipped directories and unzipped
it in the eclipse directory so that the files were filled in the plugin
directory. But it still didn't work. When the menu item Window-Show
View-Other is selected in Eclipse there is no XWiki folder and no Xwiki
Navigator. Are there some other implicit installation steps not
mentioned here? Are both the Xeclipse and the plugin necessary?

The instruction also mentions that the Eclipse Ganymede Full version (no
version number) should be installed. Mine is Eclipse Platform Version:
3.3.2, Build id: M20080221-1800. Could someone please mention the
earliest Eclipse version for which this plugin works?

Thanks,

Steven Calkins

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


Re: [xwiki-users] XWord issue

2009-11-26 Thread Florin Ciubotaru
Hi Fabian,

This is known issue, you need to set the page syntax to xwiki/1.0 to fix 
the display issue. XWiki 2.0 syntax is not supported on your build.
Note that XWord 1.0 final is not released yet. You are probably using 
XWord 1.0 RC1 which is out of sync with the platform for the past few 
months.
We implemented the fix for the issue this week and we have compatibility 
with the current snapshot of the platform. I will publish a new XWord 
snapshot tomorrow on xoffice.xwiki.org.
We will also have a new release next week that will be compatible with 
XE 2.0.4 and XE 2.1 RC1.

Thanks,
Florin Ciubotaru

On 11/26/2009 6:42 PM, Faubi wrote:
 Hi,

 I'm using Office 2007 SP2, XE 2.0 and XWord 1.0 final. I can connect to my
 xwiki through word properly, but every page written in word is displayed as
 a code such as:

  div class=Section1
h1
  Test!!
/h1
p
  TESTTT blabla/p
  /div

 The .xar import was successful and as I'm the admin every page has
 programming rights as well.

 I haven't found any stated bug related to this issue!

 So can anyone help me since using word for editing is crucial!

 Thanks!!
 Fabian


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


Re: [xwiki-users] Xeclipse plugin

2009-11-26 Thread Thomas Mortagne
Hi,

On Thu, Nov 26, 2009 at 18:02, Steven Calkins
steven.calk...@crossmediasolutions.de wrote:
 Dear All,

     has anyone installed the Xeclipse plugin in the plugin directory of
 Eclipse and have it not recognized by Eclipse? I am having that problem.
 The instructions from
 http://xeclipse.xwiki.org/xwiki/bin/view/Main/Installation say:

 Installing XEclipse as a plugin is as easy as unzipping the downloaded
 ZIP file into your eclipse plugin directory (usually
 ${eclipse_home}/plugins where ${eclipse_home} is your eclipse
 installation directory)

 When I unzipped xwiki-eclipse-feature-1.2-rc-1.zip into my eclipse
 plugin directory, it added another plugin directory below plugin.
 (Please mention on the site that the plugin path is included in the zip
 file, so that it should be extracted in the ${eclipse_home} directory.)

 When that didn't work, I removed the unzipped directories and unzipped
 it in the eclipse directory so that the files were filled in the plugin
 directory. But it still didn't work. When the menu item Window-Show
 View-Other is selected in Eclipse there is no XWiki folder and no Xwiki
 Navigator. Are there some other implicit installation steps not
 mentioned here? Are both the Xeclipse and the plugin necessary?

 The instruction also mentions that the Eclipse Ganymede Full version (no
 version number) should be installed. Mine is Eclipse Platform Version:
 3.3.2, Build id: M20080221-1800. Could someone please mention the
 earliest Eclipse version for which this plugin works?

Eclipse Ganymede is the code name for Eclipse 3.4


 Thanks,

 Steven Calkins

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




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


[xwiki-users] office importer vs graphics

2009-11-26 Thread Peter Lees
hi folks

i am having lots of trouble importing documents with graphics in them.

even a doc with 1 or 2 small graphics is running past the timeout period 
  (even though i've set timeout to 300,000 msec - 5min).

system is:

- xwiki 2.0.3 standalone
- openoffice 3.1
- centos 5.4 linux on vmware
- java heap set to 300MB (JAVA_OPTS=-Xmx300m)

is this a known problem and/or can anyone suggest a fix?

is office importer even supposed to be able to handle graphics?

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


Re: [xwiki-users] office importer vs graphics

2009-11-26 Thread Asiri Rathnayake
Hi,

On Fri, Nov 27, 2009 at 11:45 AM, Peter Lees p...@yseda.com wrote:

 hi folks

 i am having lots of trouble importing documents with graphics in them.

 even a doc with 1 or 2 small graphics is running past the timeout period
  (even though i've set timeout to 300,000 msec - 5min).

 system is:

 - xwiki 2.0.3 standalone
 - openoffice 3.1
 - centos 5.4 linux on vmware
 - java heap set to 300MB (JAVA_OPTS=-Xmx300m)

 is this a known problem and/or can anyone suggest a fix?

 is office importer even supposed to be able to handle graphics?


Yup, office importer can handle graphics without issues. I think this has
something to do with your particular operating environment, is this a
desktop system or a server? I suspect this is something with your X server
configuration but I'm not sure. I will check 2.0.3 myself to see if there
have been a regression.

- Asiri



 p
 ___
 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