Re: [xwiki-users] XWiki going out of resources

2011-03-23 Thread Andreas Hahn
This problem seems to strike back on me.
Whenever I open the users page .../XWiki/aha
it sends the garbage collector to infinity - restarting Tomcat is the only
help.
However its an older wiki: XWiki Enterprise 2.3-milestone-1.27899

This is the .xar:

https://docs.google.com/leaf?id=0B05JH-hYx5XINjkyNzBlNjAtODkyYy00MWUxLTlkNWQtODcwMTljMGNlOTY3hl=de

Thanks for your support

Andreas

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-going-out-of-resources-tp5885402p6199454.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] XWiki going out of resources

2011-03-23 Thread Vincent Massol
Hi Andreas,

On Mar 23, 2011, at 10:05 AM, Andreas Hahn wrote:

 This problem seems to strike back on me.
 Whenever I open the users page .../XWiki/aha
 it sends the garbage collector to infinity - restarting Tomcat is the only
 help.
 However its an older wiki: XWiki Enterprise 2.3-milestone-1.27899
 
 This is the .xar:
 
 https://docs.google.com/leaf?id=0B05JH-hYx5XINjkyNzBlNjAtODkyYy00MWUxLTlkNWQtODcwMTljMGNlOTY3hl=de
 
 Thanks for your support

I don't know what the problem is but do you have the same issue with XE 2.7.1 
or XE 3.0M3? (would be good to know if there's something to fix)

Thanks
-Vincent

PS: Note that the strategy for xwiki developers is to support only the last 2 
versions (ie 2.7.x and 3.0 as of now).
See http://www.xwiki.org/xwiki/bin/view/Main/Support (I've just added the info 
box)
That said, you may be lucky and find someone to help you with your specific 
problem on a 2.3M1 release.

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


Re: [xwiki-users] Introduction regarding GSOC Project

2011-03-23 Thread Ecaterina Moraru (Valica)
Hi Nikhil,

On Tue, Mar 22, 2011 at 23:07, nikhil gupta nikhilgupta0...@gmail.comwrote:

 Hello,
 I am Nikhil Gupta third year student pursuing my Btech in Computer Science
 from IIIT,Hyderabad.
 I have done many web based project which includes wide usage of the
 scripting language (JavaScript and Jquery) and  PHP and ASP as their core
 language.
 I have done one project(Automatic Form Generator) which is very much
 similar
 to the AJAX Form Editor project .In that project,  automated form is
 generated from the configuration file,user has to just give the input field
 and their type and from the configuration file form can be generated.In
 that
 project I have used PHP,JavaScript ,Jquery.


 I am deeply interested in  the project.How should I proceed for it?



Well it's very good that you introduced yourself :) so the first step is
made.
Now you should pick a project from
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
and focus on it: experiment a bit with XWiki, look for resources related to
your project, define your roadmap and ideas that will be integrated in your
proposal.

You should read the other mails we already discussed related to GSOC
projects, they can be found also here
http://xwiki.markmail.org/search/?q=GSOC+date%3A2011

If you have any questions ask them on d...@xwiki.org list or on IRC
http://dev.xwiki.org/xwiki/bin/view/Community/IRC

Thanks,
Caty



 Regards
 Nikhil Gupta

 Nikhil Gupta
 BTech CSE III yr
 IIIT Hyderabad
 Hyderabad 500032
 ___
 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] XWiki going out of resources

2011-03-23 Thread Andreas Hahn
Am 23.03.2011 10:31, schrieb Vincent Massol:
 Hi Andreas,

 On Mar 23, 2011, at 10:05 AM, Andreas Hahn wrote:

 This problem seems to strike back on me.
 Whenever I open the users page .../XWiki/aha
 it sends the garbage collector to infinity - restarting Tomcat is the only
 help.
 However its an older wiki: XWiki Enterprise 2.3-milestone-1.27899

 This is the .xar:

 https://docs.google.com/leaf?id=0B05JH-hYx5XINjkyNzBlNjAtODkyYy00MWUxLTlkNWQtODcwMTljMGNlOTY3hl=de

 Thanks for your support
 I don't know what the problem is but do you have the same issue with XE 2.7.1 
 or XE 3.0M3? (would be good to know if there's something to fix)

 Thanks
 -Vincent

 PS: Note that the strategy for xwiki developers is to support only the last 2 
 versions (ie 2.7.x and 3.0 as of now).
 See http://www.xwiki.org/xwiki/bin/view/Main/Support (I've just added the 
 info box)
 That said, you may be lucky and find someone to help you with your specific 
 problem on a 2.3M1 release.

I understand that. However in that instance I did some changes to the 
*.cfg and thus I hoped to avoid trouble by postponing the migration ...

thanks
Andreas
 Andreas
 ___
 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] CSS customization and themes

2011-03-23 Thread Andreas Hahn
Hi again,

in my ongoing efforts in customizing the appearance of the pages of my 
wiki I've followed the steps of the skin extension tutorial:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial

I've created a StyleSheetExtension and selected 'Use this extension' 
'Always on the wiki' and it works as expected.

However I've started to replace fix color settings by references to the 
themes settings
e.g. $theme.borderColor ... $theme.titleColor
and also I've checked 'Parse content' 'Yes' and disabled caching this 
doesn't work.
Velocity statements seem not to be processed or I am referring to 
invalid property names.
(I have been trying the ones from /templates/colorThemeInit.vm)

What am I doing wrong here ?

In the example the page is laoded on demand with
$xwiki.jsx.use(XWiki.MyFirstStylesheetExtension)

so I would assume there should be a document named 
MyFirstStylesheetExtension in XWiki space (or maybe some other space).
Thats not the case for my own instance of 
XWiki.MyFirstStylesheetExtension that I've added.
Shouldn't I be able to find the instance as a document somewhere in the 
spaces ?

Thanks for your support

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


[xwiki-users] include search with parameters

2011-03-23 Thread Legeinfo
Hallo!
 
How to include a search like that in a page?
.../Main/Search?text=foo+bar
 
{{include document=Search?text=foo+bar/}}
does not do the job.
 
Volker


--
View this message in context: 
http://xwiki.475771.n2.nabble.com/include-search-with-parameters-tp6199809p6199809.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] include search with parameters

2011-03-23 Thread Thomas Mortagne
Include macro include content before it's executed by default so you
can't use that for your use case or at least not like that.

If you use context=new the content will be executed before it's
included but there is no support for parameters in include macro since
even in this case it does not execute like a browser either.

Depending of the page you are trying to include there could be
velocity variable you could set before the include context=new to
indicate what the page is supposed to do. You will have to look at
Search page source code to see if it can support it.

The only other way would be to replace the $request in the context to
set your own parameters but i doubt you can do that with public API
and it's hard to do in Velocity since you can't create new java
object.

You can of course write your own macro do support this use case. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingMacros

On Wed, Mar 23, 2011 at 14:14, Legeinfo v...@legeinfo.net wrote:
 Hallo!

 How to include a search like that in a page?
 .../Main/Search?text=foo+bar

 {{include document=Search?text=foo+bar/}}
 does not do the job.

 Volker


 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/include-search-with-parameters-tp6199809p6199809.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




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


Re: [xwiki-users] include search with parameters

2011-03-23 Thread Vincent Massol
We need a search wiki macro to include the result of a search in a page. Would 
be nice as a gadget for example.

Other wikis have that.

Thanks
-Vincent

On Mar 23, 2011, at 2:27 PM, Thomas Mortagne wrote:

 Include macro include content before it's executed by default so you
 can't use that for your use case or at least not like that.
 
 If you use context=new the content will be executed before it's
 included but there is no support for parameters in include macro since
 even in this case it does not execute like a browser either.
 
 Depending of the page you are trying to include there could be
 velocity variable you could set before the include context=new to
 indicate what the page is supposed to do. You will have to look at
 Search page source code to see if it can support it.
 
 The only other way would be to replace the $request in the context to
 set your own parameters but i doubt you can do that with public API
 and it's hard to do in Velocity since you can't create new java
 object.
 
 You can of course write your own macro do support this use case. See
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingMacros
 
 On Wed, Mar 23, 2011 at 14:14, Legeinfo v...@legeinfo.net wrote:
 Hallo!
 
 How to include a search like that in a page?
 .../Main/Search?text=foo+bar
 
 {{include document=Search?text=foo+bar/}}
 does not do the job.
 
 Volker
 
 
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/include-search-with-parameters-tp6199809p6199809.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
 
 
 
 
 -- 
 Thomas Mortagne
 ___
 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] include search with parameters

2011-03-23 Thread Thomas Mortagne
On Wed, Mar 23, 2011 at 14:45, Vincent Massol vinc...@massol.net wrote:
 We need a search wiki macro to include the result of a search in a page. 
 Would be nice as a gadget for example.

Yes we need plenty of macros like that :)


 Other wikis have that.

 Thanks
 -Vincent

 On Mar 23, 2011, at 2:27 PM, Thomas Mortagne wrote:

 Include macro include content before it's executed by default so you
 can't use that for your use case or at least not like that.

 If you use context=new the content will be executed before it's
 included but there is no support for parameters in include macro since
 even in this case it does not execute like a browser either.

 Depending of the page you are trying to include there could be
 velocity variable you could set before the include context=new to
 indicate what the page is supposed to do. You will have to look at
 Search page source code to see if it can support it.

 The only other way would be to replace the $request in the context to
 set your own parameters but i doubt you can do that with public API
 and it's hard to do in Velocity since you can't create new java
 object.

 You can of course write your own macro do support this use case. See
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingMacros

 On Wed, Mar 23, 2011 at 14:14, Legeinfo v...@legeinfo.net wrote:
 Hallo!

 How to include a search like that in a page?
 .../Main/Search?text=foo+bar

 {{include document=Search?text=foo+bar/}}
 does not do the job.

 Volker


 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/include-search-with-parameters-tp6199809p6199809.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




 --
 Thomas Mortagne
 ___
 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




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


Re: [xwiki-users] CSS customization and themes

2011-03-23 Thread Elena-Oana Tabaranu
Hello,

You can try including the colorThemeInit template at the beginning of 
your style sheet extension:
#template('colorThemeInit.vm')

Hope this helps,
Oana

On 03/23/2011 01:13 PM, Andreas Hahn wrote:
 Hi again,

 in my ongoing efforts in customizing the appearance of the pages of my
 wiki I've followed the steps of the skin extension tutorial:
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial

 I've created a StyleSheetExtension and selected 'Use this extension'
 'Always on the wiki' and it works as expected.

 However I've started to replace fix color settings by references to the
 themes settings
 e.g. $theme.borderColor ... $theme.titleColor
 and also I've checked 'Parse content' 'Yes' and disabled caching this
 doesn't work.
 Velocity statements seem not to be processed or I am referring to
 invalid property names.
 (I have been trying the ones from /templates/colorThemeInit.vm)

 What am I doing wrong here ?

 In the example the page is laoded on demand with
 $xwiki.jsx.use(XWiki.MyFirstStylesheetExtension)

 so I would assume there should be a document named
 MyFirstStylesheetExtension in XWiki space (or maybe some other space).
 Thats not the case for my own instance of
 XWiki.MyFirstStylesheetExtension that I've added.
 Shouldn't I be able to find the instance as a document somewhere in the
 spaces ?

 Thanks for your support

 Andreas
 ___
 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] CSS customization and themes

2011-03-23 Thread Andreas Hahn
Am 23.03.2011 15:46, schrieb Elena-Oana Tabaranu:
 Hello,

 You can try including the colorThemeInit template at the beginning of
 your style sheet extension:
 #template('colorThemeInit.vm')

 Hope this helps,
 Oana
Thanks,

that did the trick !

Andreas
 On 03/23/2011 01:13 PM, Andreas Hahn wrote:
 Hi again,

 in my ongoing efforts in customizing the appearance of the pages of my
 wiki I've followed the steps of the skin extension tutorial:
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial

 I've created a StyleSheetExtension and selected 'Use this extension'
 'Always on the wiki' and it works as expected.

 However I've started to replace fix color settings by references to the
 themes settings
 e.g. $theme.borderColor ... $theme.titleColor
 and also I've checked 'Parse content' 'Yes' and disabled caching this
 doesn't work.
 Velocity statements seem not to be processed or I am referring to
 invalid property names.
 (I have been trying the ones from /templates/colorThemeInit.vm)

 What am I doing wrong here ?

 In the example the page is laoded on demand with
 $xwiki.jsx.use(XWiki.MyFirstStylesheetExtension)

 so I would assume there should be a document named
 MyFirstStylesheetExtension in XWiki space (or maybe some other space).
 Thats not the case for my own instance of
 XWiki.MyFirstStylesheetExtension that I've added.
 Shouldn't I be able to find the instance as a document somewhere in the
 spaces ?

 Thanks for your support

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


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


[xwiki-users] Ideas For AJAX Form Editor

2011-03-23 Thread nikhil gupta
Hello,
I have gone though the form editing part of the xwiki,where we can include
the fields according to the requirement.
As per the requirement of our project (AJAX FORM EDITOR) we have to provide
one USER INTERFACE for the user through which he can drag /drop the fields
according to his form requirement.

We can extend this idea a little bit .We will not only provide the form
generation part but also include its action part i.e  user will give the
name of the database where the action has to take place(if have to insert
the record or update the record in the database).Moreover, we can also add
style for each field where user can define its style according to its choice
and we can also provide the style sheet for the whole form also.

User will select the type of the field for example in the form there are
certain fields which get insert ,some gets updated when the form gets
submitted,so according to the nature and requirement, user will enter the
type of the field.Types can be INSERT,UPDATE,VIEW etc.

So for this we can use the resources which is present in the xwiki,in that
we have all the fully functional fields , we can make any field , so our
work will now to provide the interface for the user where he can drag/drop
the fields and also provide the interface for the style part and also to
create the action file and rendering file which would render the
requirement.

Thnx
Nikhil Gupta

-- 

Nikhil Gupta
BTech CSE III yr
IIIT Hyderabad
Hyderabad 500032
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] include search with parameters

2011-03-23 Thread Legeinfo

Thomas Mortagne wrote:
 
 ...Yes we need plenty of macros like that :)
 

Another question/macro:

How to use multiple Tags?
Tags?tag=foo+tag=bar

I want only pages with both(all) tags.

Volker

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/include-search-with-parameters-tp6199809p6201565.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] include search with parameters

2011-03-23 Thread Sergiu Dumitriu
On 03/23/2011 08:10 PM, Legeinfo wrote:

 Thomas Mortagne wrote:

 ...Yes we need plenty of macros like that :)


 Another question/macro:

 How to use multiple Tags?
 Tags?tag=foo+tag=bar

 I want only pages with both(all) tags.


Are you referring to the Main/Tags document? Then it isn't possible at 
the moment, see http://jira.xwiki.org/jira/browse/XATAG-4

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


[xwiki-users] External OpenOffice Server

2011-03-23 Thread Ramon Gomes Brandão - SERINT
Hi, 

Is it possible to use an external OpenOffice Server that is not on the same 
machine as the XWiki instance, i.e., not local? If so, how can I do that? If 
not, can't I even test this possibility? External local one is running in my 
test place, but in production environment this probably won't be the case.   

I'm using XE 2.7.1 and I'll test also XE 3.0M3.

Ramon Gomes Brandão

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


[xwiki-users] OpenOffice Importer XWR_PATCH error

2011-03-23 Thread Ramon Gomes Brandão - SERINT
Hi, 

When I try to create a page from an Office Doc in XE 2.7.1 (Add - Create a 
Page from Office Document), some documents succeed without problems, others get 
an exception caused by:

java.sql.BatchUpdateException: Incorrect string value: '\xEF\x80\xBD|(%...' for 
column 'XWR_PATCH' at row 1

I get this also with the same docs when I try to use the office importer macro 
on WYSIWYG editor. 

I've searched the user list archive and found something about this was a 
misconfgured charset. But I've created the xwiki database with charset=utf8 
just like the instructions, and double checked on mysql:

My xwiki database:
+--++
| Variable_name| Value  |
+--++
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database   | utf8   |
| character_set_filesystem | binary |
| character_set_results| latin1 |
| character_set_server | latin1 |
| character_set_system | utf8   |
| character_sets_dir   | /usr/share/mysql/charsets/ |
+--++


My MySQL System database:
+--++
| Variable_name| Value  |
+--++
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database   | latin1 |
| character_set_filesystem | binary |
| character_set_results| latin1 |
| character_set_server | latin1 |
| character_set_system | utf8   |
| character_sets_dir   | /usr/share/mysql/charsets/ |
+--++

The strange point is why some docs succeed, others not. I've tested a bunch of 
docs, and found this behaviour.

Any ideas? Is it a BUG? Other places to check? I've though at first the problem 
happened just with docs containing some bullets markings, but not only. 

Regards, 

Ramon Gomes Brandão

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


Re: [xwiki-users] External OpenOffice Server

2011-03-23 Thread Marius Dumitru Florea
Hi Ramon,

On 03/23/2011 11:22 PM, Ramon Gomes Brandão - SERINT wrote:
 Hi,


 Is it possible to use an external OpenOffice Server that is not on the same 
 machine as the XWiki instance, i.e., not local? If so, how can I do that? If 
 not, can't I even test this possibility? External local one is running in my 
 test place, but in production environment this probably won't be the case.

We're using http://code.google.com/p/jodconverter/ to connect to the 
OpenOffice server and convert office documents. Here's a discussion 
regarding your problem on their google group, raised by Asiri, the 
person who wrote the xwiki-office-importer module: 
http://groups.google.com/group/jodconverter/browse_thread/thread/f4f0e8328d422fbf
 
.

Using a remote OpenOffice server had some limitations at that point. 
Maybe you can check if the latest version of jodconverter was improved 
in this direction.

Hope this helps,
Marius


 I'm using XE 2.7.1 and I'll test also XE 3.0M3.

 Ramon Gomes Brandão

 ___
 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] OpenOffice Importer XWR_PATCH error

2011-03-23 Thread Sergiu Dumitriu
On 03/23/2011 10:36 PM, Ramon Gomes Brandão - SERINT wrote:
 Hi,

 When I try to create a page from an Office Doc in XE 2.7.1 (Add -  Create a 
 Page from Office Document), some documents succeed without problems, others 
 get an exception caused by:

 java.sql.BatchUpdateException: Incorrect string value: '\xEF\x80\xBD|(%...' 
 for column 'XWR_PATCH' at row 1

This means that the database is expecting UTF8, but it got latin1 data. 
Somewhere along the way the wrong encoding is used.

As an experiment, what does this print: (put it in a wiki page)

{{groovy}}
print System.getProperty('file.encoding');
{{/groovy}}

 I get this also with the same docs when I try to use the office importer 
 macro on WYSIWYG editor.

 I've searched the user list archive and found something about this was a 
 misconfgured charset. But I've created the xwiki database with charset=utf8 
 just like the instructions, and double checked on mysql:
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [myxwiki] new wiki request

2011-03-23 Thread Sergiu Dumitriu
On 03/21/2011 09:17 AM, Stefan Leon Orzu wrote:
 Hi, I would like to create a wiki on myxwiki.org which I will use for a
 school project, for collaborative documents and resource sharing.
 The Wiki's name should be HCI (comes from Human-Computer Interaction),
 so the url would be hci.myxwiki.org
 The myxwiki account I created is sorzu, and I would be its main
 aministrator.

Hi Stefan,

Your wiki is ready.

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