Re: [xwiki-users] LiveTable column titles

2010-02-18 Thread Guillaume Lerouge
Hi Joshua,

On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
joshua_rie...@reyrey.comwrote:

 I am using the LiveTable macro to build a table similar to the one in
 XWiki.Tableview. I have custom columns and I want to display a column's
 pretty name as its header, but I can't find a way to pass a column pretty
 name in the column properties or otherwise set the column header. The only
 way I've found to set this column header pretty name is to pass a
 translationPrefix option in the table options.

 Is there any way to set the column headers to a pretty name without
 changing / creating translation keys in the core?


Yes.

   - Create a page named something like Space.LivetableTranslations
   - In this page, add your keys in the following way:
   prefix_columntitle=Column title nice translation
   - Go to the administration, in the Programming section, and add
   Space.LivetableTranslations in the internationalization document bundles
   field  save

You're done :-)

Guillaume


 Joshua Rieken
 System Software Developer

 Reynolds and Reynolds
 6700 Hollister | Houston, Texas 77040
 office 713.718.1800 ext. 72459 | mobile 806.584.3004
 joshua_rie...@reyrey.com

 MAKING BUSINESS BETTER.

 NOTE: The information contained in this e-mail is personal and confidential
 and may be protected by the attorney-client privilege and/or the work
 product doctrine. It is for the sole use of the intended recipient. Any
 review, reliance, or distribution by others or forwarding without express
 permission is strictly prohibited. If you are not the intended recipient,
 please contact the sender and delete all copies.



 ___
 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


[xwiki-users] [ANN] XWiki Office 1.1 Milestone 2 Released!

2010-02-18 Thread Florin Ciubotaru
The XWiki development team is pleased to announce the release of XWiki 
Office 1.1 Milestone 2.

Go grab it at: 
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice

Summary of new features and changes:
- optional startup
- document refresh
- changed Wiki Explorer behavior
- cleaner output
- view active document in browser

Updating:
- active instances of 1.1 M1 and snapshots are automatically updated
- the 1.1 new features updates will be pushed to 1.0 instances when 
version 1.1 final will be available

View detailed release notes at: 
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice11M2

For more information about *XOffice* visit: 
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice

Thanks,
-The XWiki dev team

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


Re: [xwiki-users] LiveTable column titles

2010-02-18 Thread Guillaume Lerouge
Hi,

On Thu, Feb 18, 2010 at 10:19 AM, Vincent Massol vinc...@massol.net wrote:


 On Feb 18, 2010, at 9:59 AM, Guillaume Lerouge wrote:

  Hi Joshua,
 
  On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
  joshua_rie...@reyrey.comwrote:
 
  I am using the LiveTable macro to build a table similar to the one in
  XWiki.Tableview. I have custom columns and I want to display a column's
  pretty name as its header, but I can't find a way to pass a column
 pretty
  name in the column properties or otherwise set the column header. The
 only
  way I've found to set this column header pretty name is to pass a
  translationPrefix option in the table options.
 
  Is there any way to set the column headers to a pretty name without
  changing / creating translation keys in the core?
 
 
  Yes.
 
- Create a page named something like Space.LivetableTranslations
- In this page, add your keys in the following way:
prefix_columntitle=Column title nice translation
- Go to the administration, in the Programming section, and add
Space.LivetableTranslations in the internationalization document
 bundles
field  save
 
  You're done :-)

 I agree with Joshua that we should have to go through i18n. It should be a
 feature but not mandatory.


I think Joshua's problem was more about having to create keys in the core.
Since the current solution only involves wiki pages I think his problem is
solved. Let's wait for his feedback.

Guillaume


 Thanks
 -Vincent

  Guillaume
 
 
  Joshua Rieken
  System Software Developer

 ___
 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] LiveTable column titles

2010-02-18 Thread Vincent Massol

On Feb 18, 2010, at 10:53 AM, Guillaume Lerouge wrote:

 Hi,
 
 On Thu, Feb 18, 2010 at 10:19 AM, Vincent Massol vinc...@massol.net wrote:
 
 
 On Feb 18, 2010, at 9:59 AM, Guillaume Lerouge wrote:
 
 Hi Joshua,
 
 On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
 joshua_rie...@reyrey.comwrote:
 
 I am using the LiveTable macro to build a table similar to the one in
 XWiki.Tableview. I have custom columns and I want to display a column's
 pretty name as its header, but I can't find a way to pass a column
 pretty
 name in the column properties or otherwise set the column header. The
 only
 way I've found to set this column header pretty name is to pass a
 translationPrefix option in the table options.
 
 Is there any way to set the column headers to a pretty name without
 changing / creating translation keys in the core?
 
 
 Yes.
 
  - Create a page named something like Space.LivetableTranslations
  - In this page, add your keys in the following way:
  prefix_columntitle=Column title nice translation
  - Go to the administration, in the Programming section, and add
  Space.LivetableTranslations in the internationalization document
 bundles
  field  save
 
 You're done :-)
 
 I agree with Joshua that we should have to go through i18n. It should be a
 feature but not mandatory.
 
 
 I think Joshua's problem was more about having to create keys in the core.
 Since the current solution only involves wiki pages I think his problem is
 solved. Let's wait for his feedback.

yes but the pb isn't fixed (what you suggested is a workaround). This is a 
current important limitation that I've hit myself at several occasions.

Thanks
-Vincent

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


[xwiki-users] Search criteria for Livetable macro

2010-02-18 Thread Valdis Vītoliņš
What is syntax to add filtering criteria for livetable macro?
http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro
http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable

It seems there should be possibility to add something for $options = ...
part.

Thanks,
Valdis


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


[xwiki-users] Google Summer of Code 2010

2010-02-18 Thread Vincent Massol
Hi everyone,

The Google Summer of Code 2010 is on and we'd like to propose some projects for 
XWiki. 
Some of us have started with some ideas at 
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/

Please join us in proposing ideas.

Then once we have enough we'll decide which ones we keep and students will 
apply on the projects we'll have kept.

Thanks
-Vincent

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


Re: [xwiki-users] Problems with links

2010-02-18 Thread ccoreggioli

Hello,

I'm having the same problem too, only with IE7. got enterprise 2.2 on tomcat
5.5 running with jdk 1.6.0_18.
Here's the test:

- got a page with a link inside
- modify the text near the link, for example adding a space after it
- save  view button clicked

i catched with paros the POST content:

on IE7

content=%3CP%3Equesta+%C3%A8+la+prova+di+un+link+tipo+%3CA+href%3D%22http%3A%2F%2Fwww.google.com%2F%22+rel%3D__blank+metadata%3D%22%3C%21--startwikilink%3Ahttp%3A%2F%2Fwww.google.com%2F--%3E%3CSPAN+class%3Dwikiexternallink%3Eorg.xwiki.gwt.dom.client.Element%23placeholder%3C%2FSPAN%3E%3C%21--stopwikilink--%3E%22%3EGoogle%3C%2FA%3E%26nbsp%3B+da+salvare+con+wysiwyg%3C%2FP%3E

on FF 3.5, same actions result in this content:

content=%3Cp%3Equesta+%C3%A8+la+prova+di+un+link+tipo+%3C%21--startwikilink%3Ahttp%3A%2F%2Fwww.google.com%2F--%3E%3Cspan+class%3D%22wikiexternallink%22%3E%3Ca+rel%3D%22__blank%22+href%3D%22http%3A%2F%2Fwww.google.com%2F%22%3EGoogle%26nbsp%3B%3C%2Fa%3E%3C%2Fspan%3E%3C%21--stopwikilink--%3E+da+salvare+con+wysiwyg%3C%2Fp%3E

other headers are equals.

Hope this helps to find a solution, since in my organization IE is the
default browser...

bye,
claudio


-- 
View this message in context: 
http://n2.nabble.com/Problems-with-links-tp4435123p4591301.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] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Vincent Gerris

According to a post i read, the number is in bytes.
So for 200 mb, you would need to add 00 so 2.

Does that work for you?
Because I did set the value on that, but still get:
XWiki heeft standaard een limiet van ongeveer 10Mb voor ingeschrevenen
bestanden. Deze limiet kan worden gewijzigd met de upload_maxsize parameter.
Check de FAQ voor meer informatie.

(which says there is a 10mb linit in Dutch).
Did anyone get this working?
-- 
View this message in context: 
http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591611.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] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread hel-o

Hi,

yes it works. 

200 MB would be 209715200 Byte (according to 
http://webdeveloper.earthweb.com/repository/javascripts/2001/04/41291/byteconverter.htm
The Byte Converter  ;-) )

I never tried to increase the max upload size to 200MB but 40MB worked.

hel.

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

-- 
View this message in context: 
http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591708.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] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Caleb James DeLisle
Hi Vincent,

I was able to attach 30mb files by editing the parameter but I seem to remember
I had to reset the wiki engine for it to take effect.

I remember a 500 error message unless I passed a parameter to Jetty when 
starting
-Dorg.mortbay.jetty.Request.maxFormContentSize=999
Also if you use Mysql, you will have to change the maximum packet size, 
something
I don't know anything about because I don't use Mysql.
I also remember running into other limitations around 30mb.
Of course these errors look much different than what you are seeing,
just letting you know what to expect.

Thanks,

Caleb James DeLisle



Vincent Gerris wrote:
 According to a post i read, the number is in bytes.
 So for 200 mb, you would need to add 00 so 2.
 
 Does that work for you?
 Because I did set the value on that, but still get:
 XWiki heeft standaard een limiet van ongeveer 10Mb voor ingeschrevenen
 bestanden. Deze limiet kan worden gewijzigd met de upload_maxsize parameter.
 Check de FAQ voor meer informatie.
 
 (which says there is a 10mb linit in Dutch).
 Did anyone get this working?

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


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Vincent Gerris

Thanks for your quick reply.
For me 1 did not work (nor 2).
I am trying to import a 75,4 MB import with no luck.

So I go to:
http://localhost:/ictwiki/bin/admin/XWiki/XWikiPreferences
Then press change class, update the number with the value and still get that
dumb 10MB error.
I use Oracle XE as a database.
After a change to 9900 I still get that error.
So it seems like a bug too me.
I guess Iĺl make a post on Jira again :).



-- 
View this message in context: 
http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591774.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] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Guillaume Lerouge
Hi Vincent,

On Thu, Feb 18, 2010 at 2:40 PM, Vincent Gerris v.j.ger...@hhs.nl wrote:


 Thanks for your quick reply.
 For me 1 did not work (nor 2).
 I am trying to import a 75,4 MB import with no luck.


Right now we have an issue with how attachments are handled. IIRC you'll
need around attachmentSize*30 of RAM allocated to XWiki in order for the
attachment to upload fine.

You can try using this script if you can't allocate that much memory (it
will create a XAR on the filesystem):
http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippet

Guillaume


 So I go to:
 http://localhost:/ictwiki/bin/admin/XWiki/XWikiPreferences
 Then press change class, update the number with the value and still get
 that
 dumb 10MB error.
 I use Oracle XE as a database.
 After a change to 9900 I still get that error.
 So it seems like a bug too me.
 I guess Iĺl make a post on Jira again :).



 --
 View this message in context:
 http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591774.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




-- 
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] LiveTable column titles

2010-02-18 Thread Josh
Guillaume Lerouge wrote:
 Hi Joshua,
 
 On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
 joshua_rie...@reyrey.comwrote:
 
 I am using the LiveTable macro to build a table similar to the one in
 XWiki.Tableview. I have custom columns and I want to display a column's
 pretty name as its header, but I can't find a way to pass a column pretty
 name in the column properties or otherwise set the column header. The only
 way I've found to set this column header pretty name is to pass a
 translationPrefix option in the table options.

 Is there any way to set the column headers to a pretty name without
 changing / creating translation keys in the core?

 
 Yes.
 
- Create a page named something like Space.LivetableTranslations
- In this page, add your keys in the following way:
prefix_columntitle=Column title nice translation
- Go to the administration, in the Programming section, and add
Space.LivetableTranslations in the internationalization document 
 bundles
field  save
 

Ah, excellent. Thanks.

I do agree with Vincent that this should not be mandatory. It would be 
nice to have a name parameter or something similar in the column options.

-Joshua

 You're done :-)
 
 Guillaume

 ___
 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] ORA-00932 inconsistent datatypes expected got clob

2010-02-18 Thread adoro

Hi Marius,

I've just tested WYSIWYG on XE 2.2-SNAPSHOT.27143 and XE 2.3-SNAPSHOT.27143

Insert link in both tabs (My Recent Changes and Search) works perfect. 

Yippee! 

Thanks a lot, Marius!

Alla

-- 
View this message in context: 
http://n2.nabble.com/ORA-00932-inconsistent-datatypes-expected-got-clob-tp4556042p4592039.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] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Vincent Gerris

hi Caleb James,

As my previous post shows, it does not work for me.
I use Oracle XE, I have encountered no 500 errors.
I do not know where to try that Jetty setting.

I also restarted the complete Xwiki instance by restarting Tomcat, do you
mean that by resetting the engine?

Well, I just see the post from Guillaume now.
The tomcat java only has 128MB now, so I will try to enlarge that and
otherwise use that codesnippet (if i figured out how).

-- 
View this message in context: 
http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4592052.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] Problems with links

2010-02-18 Thread ccoreggioli

Hi Marius,

i missed to mention that this problem occours only with WYSIWYG editor, and
i can always reproduce it. 

with WIKI editor this problem doesn't come and link behaviour is good, but
my users need to have the WYSIWYG one

If i enable script debugging no error arise, but i tried with IE8 too, and
the problem is even worse. With IE8, in fact, i cannot even save from
WYSIWYG. This is the error that occours when i open WYSIWYG editor with IE8:

Agente utente: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Timestamp: Thu, 18 Feb 2010 14:41:57 UTC
Messaggio: Proprietà o metodo non supportati dall'oggetto
Linea: 4559
Carattere: 107
Codice: 0
URI:
https://portal.gidi.it/xwiki/resources/js/xwiki/wysiwyg/xwe/8CD487D9EA80A10FBD0A29EBA781AB6F.cache.html

the message, translated, should sound like Property or method not supported
by the object, and sometimes, the editor icons don't appear at all.

let me know if you need any further details for both cases.

Thanks a lot,
claudio
-- 
View this message in context: 
http://n2.nabble.com/Problems-with-links-tp4435123p4592204.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] Search criteria for Livetable macro

2010-02-18 Thread Josh
If I understand the question correctly, the solution is to insert your 
own FROM and WHERE info in the search query, as follows:

...
#gridresultwithfilter( $request.collist.split(,) , StringProperty 
examplename and examplename.id.id=obj.id and 
examplename.name='examplename' and doc.space='Tutorials' and 
doc.name'WebHome' and doc.name'WebPreferences')
...

The last 2 parameters are the ones you're looking for. Be sure to add 
the initial comma in the FROM parameter and the initial and in the 
WHERE parameter.

See this page for more info (though I think it needs to be expanded with 
a more exhaustive list of queryable object fields):

http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples

-Joshua

Valdis Vītoliņš wrote:
 What is syntax to add filtering criteria for livetable macro?
 http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable
 
 It seems there should be possibility to add something for $options = ...
 part.
 
 Thanks,
 Valdis
 
 
 ___
 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] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Caleb James DeLisle
Hello Vincent,

Yes, resetting tomcat is what I was talking about.
Jetty is an alternative to tomcat so you can disregard that advice.
If you are importing an XAR file I recommend the code snippet as I
have tried to do large imports for a while and I ended up writing a
custom XMLRPC importer.
I remember trying to import a large file not only was troublesome
uploading the attachment but doing the actual import took a long time and
was prone to failure.

Thanks,

Caleb James DeLisle


Vincent Gerris wrote:
 hi Caleb James,
 
 As my previous post shows, it does not work for me.
 I use Oracle XE, I have encountered no 500 errors.
 I do not know where to try that Jetty setting.
 
 I also restarted the complete Xwiki instance by restarting Tomcat, do you
 mean that by resetting the engine?
 
 Well, I just see the post from Guillaume now.
 The tomcat java only has 128MB now, so I will try to enlarge that and
 otherwise use that codesnippet (if i figured out how).
 

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


Re: [xwiki-users] Search criteria for Livetable macro

2010-02-18 Thread Valdis Vītoliņš
It seems what I need,
though I couldn't find working templates for back-end macros.
From pages
http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiGridComponentTutorial
http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable

I got GridExtensionResultMacros and LiveTableResultsMacros, though
neither  worked for me.

Where can I get necessary macros, to get it working?
(I use xwiki 2.1.1.25889)

Valdis


 If I understand the question correctly, the solution is to insert your 
 own FROM and WHERE info in the search query, as follows:
 
 ...
 #gridresultwithfilter( $request.collist.split(,) , StringProperty 
 examplename and examplename.id.id=obj.id and 
 examplename.name='examplename' and doc.space='Tutorials' and 
 doc.name'WebHome' and doc.name'WebPreferences')
 ...
 
 The last 2 parameters are the ones you're looking for. Be sure to add 
 the initial comma in the FROM parameter and the initial and in the 
 WHERE parameter.
 
 See this page for more info (though I think it needs to be expanded with 
 a more exhaustive list of queryable object fields):
 
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
 
 -Joshua
 
 Valdis Vītoliņš wrote:
  What is syntax to add filtering criteria for livetable macro?
  http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro
  http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable
  
  It seems there should be possibility to add something for $options = ...
  part.
  
  Thanks,
  Valdis
  
  
  ___
  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] Problems with links

2010-02-18 Thread Sergiu Dumitriu
On 02/18/2010 05:30 PM, Marius Dumitru Florea wrote:
 Hi Claudio,

 ccoreggioli wrote:
 Hi Marius,


 i missed to mention that this problem occours only with WYSIWYG editor, and
 i can always reproduce it.

 I must be missing something. I'm unable to reproduce it.. The same thing
 happens if you switch to Source tab instead of clicking the SaveView
 button? Can this problem be caused by some IE add-on?


 with WIKI editor this problem doesn't come and link behaviour is good, but
 my users need to have the WYSIWYG one

 If i enable script debugging no error arise, but i tried with IE8 too, and
 the problem is even worse. With IE8, in fact, i cannot even save from
 WYSIWYG. This is the error that occours when i open WYSIWYG editor with IE8:

 Agente utente: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
 Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
 Timestamp: Thu, 18 Feb 2010 14:41:57 UTC
 Messaggio: Proprietà o metodo non supportati dall'oggetto
 Linea: 4559
 Carattere: 107
 Codice: 0
 URI:

 https://portal.gidi.it/xwiki/resources/js/xwiki/wysiwyg/xwe/8CD487D9EA80A10FBD0A29EBA781AB6F.cache.html

 You said you have XE 2.2 (final) right? I can't find
 8CD487D9EA80A10FBD0A29EBA781AB6F.cache.html on my XE 2.2.27100. I'm
 testing on IE 8.0.6001.18702 and the WYSIWYG editor is loaded fine and I
 can save. Can you clear the browser cache to make sure the right
 JavaScript file is loaded.

Could this be a wrong update? Did you have an older XWiki instance 
there, and just copied the new release over the old one?


 the message, translated, should sound like Property or method not supported
 by the object, and sometimes, the editor icons don't appear at all.

 This reminds me of http://jira.xwiki.org/jira/browse/XWIKI-4831 . After
 we upgraded to GWT 2.0 we got a similar exception in IE and I reported
 http://code.google.com/p/google-web-toolkit/issues/detail?id=4567 but I
 fixed it XE 2.2RC1.

 Thanks,
 Marius


 let me know if you need any further details for both cases.


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Adding custom object using Xwiki REST service

2010-02-18 Thread Valdis Vītoliņš
It can be done in once by setting all object properties (including
template, field names an dvalues).

At first look at code of the xwiki generated submission form, and get
names of all fields.
Then add name=value for properties (e.g. using curl with GET):
curl -u user:password -d
parent=MyWood.Iszinastemplate=Custom.IszinaTemplatesheet=1spaceName=MyWoodCustom.IszinaClass_0_datums=18.02.2010+18%3A06%3A44Custom.IszinaClass_0_darbinieks=%24userCustom.IszinaClass_0_tips=Custom.IenakosaCustom.IszinaClass_0_telefons=26563205Custom.IszinaClass_0_teksts=docName=S-100218-180644action_save=Saglab%C4%81t+un+skat%C4%ABt
  http://localhost/xwiki/bin/inline/MyWood/S-100218-180645

Do not forget to include ...action_save=Button_label at the end.
If list boxes are used, use ids for them, not label values.
see more http://curl.haxx.se/ 

Valdis

 Now I have more tricky question -- how to add custom object using Xwiki
 REST service.
 By browsing existing ones I assume, I can create linked custom object
 using POST before, and get object id.
 Then I add wiki document using PUT and set relation to previously
 created object.
 
 Is it right approach to test?
 Are there more recommendations beside
 http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
 
 Thanks,
 Valdis
 ___
 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] Wiki admin

2010-02-18 Thread stefan bachert
Hi,

the xwiki admin contains a category named programming.
All entries are empty. I do not have any idea what this page is good for.
What could I configure here?

Stefan Bachert

__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Adding custom object usinf groovy or velocity

2010-02-18 Thread Valdis Vītoliņš
Following velocity allows to create simpe xwiki document:
#set ($mydoc = $xwiki.getDocument(Sandbox.Test1))
$mydoc.setContent(sdfsdf)
$mydoc.save()

But How can I create custom object?

http://hans.gerwitz.com/projects/snipsnap-to-xwiki
shows some ideas but I can't make it working for me.

Another (awkward) way would be executing external curl command.
How can I do this?

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


Re: [xwiki-users] Adding custom object usinf groovy or velocity

2010-02-18 Thread Vincent Massol
Hi,

On Feb 18, 2010, at 7:33 PM, Valdis Vītoliņš wrote:

 Following velocity allows to create simpe xwiki document:
 #set ($mydoc = $xwiki.getDocument(Sandbox.Test1))
 $mydoc.setContent(sdfsdf)
 $mydoc.save()
 
 But How can I create custom object?
 
 http://hans.gerwitz.com/projects/snipsnap-to-xwiki
 shows some ideas but I can't make it working for me.
 
 Another (awkward) way would be executing external curl command.
 How can I do this?

you can check this example:
http://code.xwiki.org/xwiki/bin/view/Snippets/RestoreXWikiAllGroupSnippet

-Vincent

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


[xwiki-users] Problems with importing document into xwiki 2.1

2010-02-18 Thread 1 1
Hi,

We are having problem with importing document from xwiki 1.9 into 2.1. (Most
of the data in 1.9 was previously imported from v1.7).  Any insight will be
appreciated.


In the log file, there are SQL errors:

ERROR 2010-02-09 15:20:23,022 (Package.java:628) - Failed to save document
ABCD.System Management Plan (SMP)

WARN  2010-02-09 15:20:23,084 (JDBCExceptionReporter.java:77) - SQL Error:
1400, SQLState: 23000

ERROR 2010-02-09 15:20:23,084 (JDBCExceptionReporter.java:78) - ORA-01400:
cannot insert NULL into (XWIKI.XWIKIOBJECTS.XWO_CLASSNAME)

ERROR 2010-02-09 15:20:23,084 (AbstractFlushingEventListener.java:301) -
Could not synchronize database state with session

org.hibernate.exception.ConstraintViolationException: could not insert:
[com.xpn.xwiki.objects.BaseObject]

at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)


Thanks

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


Re: [xwiki-users] Glossar and Forum

2010-02-18 Thread Flavius Olaru
There is already a Bulleting Board Application. You just need to install it
to your xwiki.
You can check the existing application at
http://code.xwiki.org/xwiki/bin/view/Applications/ .

On Mon, Feb 15, 2010 at 9:39 PM, stefan bachert stefanbach...@yahoo.dewrote:

 Did some programmed a glossar for xwiki?
 My impression is, this is not to complicated.

 Did some programmed a forum for xwiki?
 This looks much more complex to me.
 However, maybe the commenting facility is suffient for a simple forum.

 If yes, are you willing to share code?

 Stefan Bachert

 __
 Do You Yahoo!?
 Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
 gegen Massenmails.
 http://mail.yahoo.com
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


Thanks,
-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] DeleteProperty

2010-02-18 Thread stefan bachert
Hi,

I did not find a DeleteProperty feature.
What is the reason?

Stefan Bachert


__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] DeleteProperty

2010-02-18 Thread Meng Wu
Hey Stefan,

As of now, I don't believe this feature is supported. You can vote on getting 
this feature implemented onhttp://jira.xwiki.org/jira/browse/XWIKI-99


but it's been an ongoing request for 5 years, so don't wait for this to get 
implemented to continue working on your project. :)

The only solution as of now is to create another property from scratch. The old 
one will become obsolete, but it will remain in the class.

Felix Wu


- Original Message 
From: stefan bachert stefanbach...@yahoo.de
To: users@xwiki.org
Sent: Thu, February 18, 2010 2:26:16 PM
Subject: [xwiki-users] DeleteProperty

Hi,

I did not find a DeleteProperty feature.
What is the reason?

Stefan Bachert


__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.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] DeleteProperty

2010-02-18 Thread Flavius Olaru
Hi Stefan,

You could also recreate your document that defines your class from scratch,
or if you don't need to change the property type you can always rename it.

Thanks
-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Group Access Rights, File Retrieve, and Livetable Options

2010-02-18 Thread Meng Wu
Hey,

I have a few questions on a variety of topics

1. Is there a method that returns the access rights for a given group? I tried 
to use method hasAccessLevel to return the access rights (at the group level) 
but it seems that the method only applies for users and not groups.
To expand on this thought, where are all the group names stored? I've been 
using hasAccessLevel using XWiki.{groupname} as the parameter, so I am not sure 
whether I am calling it right.

2. It seems that no one has addressed Mike Davis's question, but since I also 
need to do something similar to what he brought up, I'd like to bring it up 
again:

Mike Davis said:
 2) Is there a way to remotely access a sql 2005 database from an xwiki
script?  A groovy wrapper for java jdbc or something.  I want to query
the database and put the results in a livetable, but the db lives on a
completely separate server.

I understand that accessing files depends on the web server you are running 
xwiki on, but I am almost clueless on how to access information on another 
server from a web server. I'm not sure if I am asking the right people, but if 
someone would like to enlighten me, I'd greatly appreciate it.

3. Regarding Livetable, I need to create a (huge) table that includes the User 
field and well as the AllDocs field. What I am trying to do is create a table 
that will display the access rights for a given user and given document. 
Livetable is obviously the best option for this kind of task because of its 
organization, but it seems that I can only use one classname and either display 
AllDocs or Users on the livetable, not both. 

Thank you,

Felix


  

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