[xwiki-users] Build xwiki xar from source

2010-10-29 Thread leonko

Hello, 
Anybody know how to build xar file from source, I didn't find this in docs.
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Build-xwiki-xar-from-source-tp5685471p5685471.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] Build xwiki xar from source

2010-10-29 Thread Vincent Massol
Hi leonko,

On Oct 29, 2010, at 9:40 AM, leonko wrote:

 
 Hello, 
 Anybody know how to build xar file from source, I didn't find this in docs.

You can check http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository

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


Re: [xwiki-users] issue with getAttachment from different document in Groovy

2010-10-29 Thread Arnaud bourree
2010/10/29 Caleb James DeLisle calebdeli...@lavabit.com:
 Hi Arnaud,

 I have indeed repeated this problem. It appears that I have introduced a bug 
 when I fixed
 http://jira.xwiki.org/jira/browse/XWIKI-5405. This bug nolonger exists on the 
 2.6 trunk due to
 additional refactoring and I will work on a targeted patch for v2.5.1
 Terribly sorry for the inconvenience and thank you for the report!

 Caleb


Thanks Caleb
That explain why that doesn't work for me and work for Ricardo

Arnaud.

 On 10/28/2010 06:25 PM, [Ricardo Rodriguez] eBioTIC. wrote:
 Hi!

 Arnaud bourree wrote:
 Hello

 I put a file Text.txt as attachment in a page: Sandbox.Page1
 I in an other page Sandbox.Page2, I write the following script:
 {{groovy}}
 def mydoc=xwiki.getDocument('Sandbox.Page1')
 def myfile=mydoc.getAttachment('Text.txt')
 println |+mydoc+|+myfile
 {{/goovy}}
 The result is
 |Sandbox.Page1|null

 If I put the same script in Sandbox.Page2, the result become:
 |Sandbox.Page1|com.xpn.xwiki.api.attachm...@331be8


 I don't understand the situation: do you have two documents? One having
 an attachment, and another one without it? In any case, myfile gets an
 array: classname (com.xpn.xwiki.api.Attachment) and an object ID. I
 can't explain why it varies though.
 Why cannot get attachments from other document?


 Check this...

 http://ebiotic.net/bin/ICT/HasAttachment#Attachments
 http://ebiotic.net/bin/ICT/GetAttachment#Attachments

 This should help:

 http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/com/xpn/xwiki/platform/xwiki-core/2.5/xwiki-core-2.5-javadoc.jar/!/com/xpn/xwiki/api/Attachment.html

 Please, take into account that I'm not a maven! I've just picked up some
 ideas here and there. Please, consider critically this message! Thanks.
 I run XWiki 2.5 with Tomcat 6.0.28, Mysql 5.1.49, Ubuntu 10.10

 Arnaud.
 ___
 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


Re: [xwiki-users] Successful FreeBSD (Tomcat) to Solaris (Glassfish) migration

2010-10-29 Thread Kaya Saman
[...]
 Did you see 
 http://xwiki.475771.n2.nabble.com/documentation-wiki-user-account-tp5680688p5680747.html
  
 ?

 Basically, you can register an account, but only on the main wiki 
 (www.xwiki.org), not on subwikis.

 I think it would be a great commodity to Xwiki users wishing to test out
 new installs or migrations between systems especially for new
 users like myself who have either just started with Xwiki or only been
 using it for a short period of time.


[...]

Thanks for the response and link :-)


Does this mean that I can actually add content to the main wiki?


I'll check it out soon!!


Thanks and regards,


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


Re: [xwiki-users] Successful FreeBSD (Tomcat) to Solaris (Glassfish) migration

2010-10-29 Thread Vincent Massol

On Oct 29, 2010, at 10:56 AM, Kaya Saman wrote:

 [...]
 Did you see 
 http://xwiki.475771.n2.nabble.com/documentation-wiki-user-account-tp5680688p5680747.html
  
 ?
 
 Basically, you can register an account, but only on the main wiki 
 (www.xwiki.org), not on subwikis.
 
 I think it would be a great commodity to Xwiki users wishing to test out
 new installs or migrations between systems especially for new
 users like myself who have either just started with Xwiki or only been
 using it for a short period of time.
 
 
 [...]
 
 Thanks for the response and link :-)
 
 
 Does this mean that I can actually add content to the main wiki?

yes you can add content to any wiki on xwiki.org. Just be careful to add good 
quality doc ;)

Thanks for your help, that's great!
-Vincent

 
 
 I'll check it out soon!!
 
 
 Thanks and regards,
 
 
 Kaya
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problems with the dashboard spaces panel ( using reverse proxy )

2010-10-29 Thread Piotr Dziubecki

Dear all,

I have a little problem with the behavior of the Spaces panel in the Dashboard 
section.

First of all, let me describe my portal configuration:

On my host I have one portal which takes the standard :80 port, then it's Xwiki 
on :28181

Unfortunately I cannot make xwiki port ( 28181 ) public so I created a reverse 
proxy in the following way:

ProxyPass /xwiki/ http://localhost:28181/xwiki/
ProxyPassReverse /xwiki/ http://localhost:28181/xwiki/
ProxyPass /xwiki  http://localhost:28181/xwiki
ProxyPassReverse /xwiki http://localhost:28181/xwiki


Then I can access to my Xwiki with the following url:

apps.man.poznan.pl/xwiki

From the internal network I can use that one as well:

apps.man.poznan.pl:28181



Now I can describe my problem: when I access xwiki with the port, everything works as expected. 
Unfortunately when I use /xwiki url I'm getting the view as on the attached screenshot. It seems that 
somehow the links for those little icons are broken. Those links are still active but it doesn't look that good.


I imagine this a minor glitch but if someone has any ideas how to fix that..


Thanks,
Piotr

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


Re: [xwiki-users] Problems with the dashboard spaces panel ( using reverse proxy )

2010-10-29 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

Piotr Dziubecki wrote:
 Dear all,

 I have a little problem with the behavior of the Spaces panel in the 
 Dashboard section.

 First of all, let me describe my portal configuration:

 On my host I have one portal which takes the standard :80 port, then 
 it's Xwiki on :28181

 Unfortunately I cannot make xwiki port ( 28181 ) public so I created a 
 reverse proxy in the following way:

 ProxyPass /xwiki/ http://localhost:28181/xwiki/
 ProxyPassReverse /xwiki/ http://localhost:28181/xwiki/
 ProxyPass /xwiki  http://localhost:28181/xwiki
 ProxyPassReverse /xwiki http://localhost:28181/xwiki


 Then I can access to my Xwiki with the following url:

 apps.man.poznan.pl/xwiki

 From the internal network I can use that one as well:

 apps.man.poznan.pl:28181



 Now I can describe my problem: when I access xwiki with the port, 
 everything works as expected. Unfortunately when I use /xwiki url I'm 
 getting the view as on the attached screenshot. It seems that somehow 
 the links for those little icons are broken. Those links are still 
 active but it doesn't look that good.

Even though I'm sure more experienced users are already aware of what 
you are describing, please, take into account that attachments are not 
allowed in this list so we haven't received the screenshot. Perhaps you 
could grant access to unregistered users to some document in your wiki 
to see that online? Or simply the screenshot sent to me and I'll make it 
available for the community.

Thanks!

 I imagine this a minor glitch but if someone has any ideas how to fix 
 that..


 Thanks,
 Piotr

 

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

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

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


Re: [xwiki-users] Problems with the dashboard spaces panel ( using reverse proxy )

2010-10-29 Thread Piotr Dziubecki
Oops,


sorry, thanks for the info, Ricardo :)

just to not bother you more I've uploaded my screenshot here:

http://i.imgur.com/l7DSH.png

I forgot to mention, I'm using XWiki Enterprise 2.4.3.31377

Thanks,
Piotr


W dniu 10-10-29 11:38, [Ricardo Rodriguez] eBioTIC. wrote:
 Hi!

 Piotr Dziubecki wrote:
 Dear all,

 I have a little problem with the behavior of the Spaces panel in the
 Dashboard section.

 First of all, let me describe my portal configuration:

 On my host I have one portal which takes the standard :80 port, then
 it's Xwiki on :28181

 Unfortunately I cannot make xwiki port ( 28181 ) public so I created a
 reverse proxy in the following way:

 ProxyPass /xwiki/ http://localhost:28181/xwiki/
 ProxyPassReverse /xwiki/ http://localhost:28181/xwiki/
 ProxyPass /xwiki  http://localhost:28181/xwiki
 ProxyPassReverse /xwiki http://localhost:28181/xwiki


 Then I can access to my Xwiki with the following url:

 apps.man.poznan.pl/xwiki

  From the internal network I can use that one as well:

 apps.man.poznan.pl:28181



 Now I can describe my problem: when I access xwiki with the port,
 everything works as expected. Unfortunately when I use /xwiki url I'm
 getting the view as on the attached screenshot. It seems that somehow
 the links for those little icons are broken. Those links are still
 active but it doesn't look that good.

 Even though I'm sure more experienced users are already aware of what
 you are describing, please, take into account that attachments are not
 allowed in this list so we haven't received the screenshot. Perhaps you
 could grant access to unregistered users to some document in your wiki
 to see that online? Or simply the screenshot sent to me and I'll make it
 available for the community.

 Thanks!

 I imagine this a minor glitch but if someone has any ideas how to fix
 that..


 Thanks,
 Piotr

 

 ___
 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 the dashboard spaces panel ( using reverse proxy )

2010-10-29 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

Piotr Dziubecki wrote:
 Oops,


 sorry, thanks for the info, Ricardo :)

 just to not bother you more I've uploaded my screenshot here:

 http://i.imgur.com/l7DSH.png

 I forgot to mention, I'm using XWiki Enterprise 2.4.3.31377
   

That's funny because it is possible to access to the icons from here. 
I'm seeing the icons correctly...

http://apps.man.poznan.pl/xwiki/resources/icons/silk/cog.gif
http://apps.man.poznan.pl/xwiki/resources/icons/silk/book_open.gif

When you get this error, are you trying to access your site from the 
Internet, a host outside your own network, or from a host inside the 
network?

 Thanks,
 Piotr


 W dniu 10-10-29 11:38, [Ricardo Rodriguez] eBioTIC. wrote:
   
 Hi!

 Piotr Dziubecki wrote:
 
 Dear all,

 I have a little problem with the behavior of the Spaces panel in the
 Dashboard section.

 First of all, let me describe my portal configuration:

 On my host I have one portal which takes the standard :80 port, then
 it's Xwiki on :28181

 Unfortunately I cannot make xwiki port ( 28181 ) public so I created a
 reverse proxy in the following way:

 ProxyPass /xwiki/ http://localhost:28181/xwiki/
 ProxyPassReverse /xwiki/ http://localhost:28181/xwiki/
 ProxyPass /xwiki  http://localhost:28181/xwiki
 ProxyPassReverse /xwiki http://localhost:28181/xwiki


 Then I can access to my Xwiki with the following url:

 apps.man.poznan.pl/xwiki

  From the internal network I can use that one as well:

 apps.man.poznan.pl:28181



 Now I can describe my problem: when I access xwiki with the port,
 everything works as expected. Unfortunately when I use /xwiki url I'm
 getting the view as on the attached screenshot. It seems that somehow
 the links for those little icons are broken. Those links are still
 active but it doesn't look that good.
   
 Even though I'm sure more experienced users are already aware of what
 you are describing, please, take into account that attachments are not
 allowed in this list so we haven't received the screenshot. Perhaps you
 could grant access to unregistered users to some document in your wiki
 to see that online? Or simply the screenshot sent to me and I'll make it
 available for the community.

 Thanks!
 
 I imagine this a minor glitch but if someone has any ideas how to fix
 that..


 Thanks,
 Piotr

 

 ___
 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

   

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

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


Re: [xwiki-users] Problems with the dashboard spaces panel ( using reverse proxy )

2010-10-29 Thread Arnaud bourree
Hello Piotr

2010/10/29 Piotr Dziubecki deep...@man.poznan.pl:
 Dear all,

 I have a little problem with the behavior of the Spaces panel in the
 Dashboard section.

 First of all, let me describe my portal configuration:

 On my host I have one portal which takes the standard :80 port, then it's
 Xwiki on :28181

 Unfortunately I cannot make xwiki port ( 28181 ) public so I created a
 reverse proxy in the following way:

 ProxyPass /xwiki/ http://localhost:28181/xwiki/
 ProxyPassReverse /xwiki/ http://localhost:28181/xwiki/
 ProxyPass /xwiki  http://localhost:28181/xwiki
 ProxyPassReverse /xwiki http://localhost:28181/xwiki


 Then I can access to my Xwiki with the following url:

 apps.man.poznan.pl/xwiki

 From the internal network I can use that one as well:

 apps.man.poznan.pl:28181



 Now I can describe my problem: when I access xwiki with the port, everything
 works as expected. Unfortunately when I use /xwiki url I'm getting the view
 as on the attached screenshot. It seems that somehow the links for those
 little icons are broken. Those links are still active but it doesn't look
 that good.

 I imagine this a minor glitch but if someone has any ideas how to fix that..


Did you try to define xwiki.home in xwiki.cfg?
That could help

Arnaud.


 Thanks,
 Piotr


 ___
 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] issue with xwiki.getURLContent()

2010-10-29 Thread Arnaud bourree
Hello,

I write the following test page:
= Goovy =
{{groovy}}
println 
xwiki.getURLContent(http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl;)
{{/groovy}}

= Velocity =
{{velocity}}
$xwiki.getURLContent(http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl;)
{{/velocity}}

And it doesn't return attachment file content.
If I change URL to http://www.google.com;, both returns Google page
If I curl URL from console, then I get my attachment file content.

What's wrong? Don't we allowed to used absolute URL to our wiki?

I run XWiki 2.5 with Tomcat 6.0.28, Mysql 5.1.49, Ubuntu 10.10

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


Re: [xwiki-users] Problems with the dashboard spaces panel ( using reverse proxy )

2010-10-29 Thread Piotr Dziubecki


W dniu 10-10-29 12:07, [Ricardo Rodriguez] eBioTIC. wrote:
 Hi!

 Piotr Dziubecki wrote:
 Oops,


 sorry, thanks for the info, Ricardo :)

 just to not bother you more I've uploaded my screenshot here:

 http://i.imgur.com/l7DSH.png

 I forgot to mention, I'm using XWiki Enterprise 2.4.3.31377


 That's funny because it is possible to access to the icons from here.
 I'm seeing the icons correctly...

 http://apps.man.poznan.pl/xwiki/resources/icons/silk/cog.gif
 http://apps.man.poznan.pl/xwiki/resources/icons/silk/book_open.gif

 When you get this error, are you trying to access your site from the
 Internet, a host outside your own network, or from a host inside the
 network?

Yes, that's true, you can access these icons but it looks more like a rendering 
issue ( we can see a part of 
the html tag ).

 Thanks,
 Piotr


 W dniu 10-10-29 11:38, [Ricardo Rodriguez] eBioTIC. wrote:

 Hi!

 Piotr Dziubecki wrote:

 Dear all,

 I have a little problem with the behavior of the Spaces panel in the
 Dashboard section.

 First of all, let me describe my portal configuration:

 On my host I have one portal which takes the standard :80 port, then
 it's Xwiki on :28181

 Unfortunately I cannot make xwiki port ( 28181 ) public so I created a
 reverse proxy in the following way:

 ProxyPass /xwiki/ http://localhost:28181/xwiki/
 ProxyPassReverse /xwiki/ http://localhost:28181/xwiki/
 ProxyPass /xwiki  http://localhost:28181/xwiki
 ProxyPassReverse /xwiki http://localhost:28181/xwiki


 Then I can access to my Xwiki with the following url:

 apps.man.poznan.pl/xwiki

   From the internal network I can use that one as well:

 apps.man.poznan.pl:28181



 Now I can describe my problem: when I access xwiki with the port,
 everything works as expected. Unfortunately when I use /xwiki url I'm
 getting the view as on the attached screenshot. It seems that somehow
 the links for those little icons are broken. Those links are still
 active but it doesn't look that good.

 Even though I'm sure more experienced users are already aware of what
 you are describing, please, take into account that attachments are not
 allowed in this list so we haven't received the screenshot. Perhaps you
 could grant access to unregistered users to some document in your wiki
 to see that online? Or simply the screenshot sent to me and I'll make it
 available for the community.

 Thanks!

 I imagine this a minor glitch but if someone has any ideas how to fix
 that..


 Thanks,
 Piotr

 

 ___
 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


Re: [xwiki-users] Problems with the dashboard spaces panel ( using reverse proxy )

2010-10-29 Thread Piotr Dziubecki
Hi Arnaud,

W dniu 10-10-29 12:28, Arnaud bourree wrote:
 Hello Piotr

 2010/10/29 Piotr Dziubeckideep...@man.poznan.pl:
 Dear all,

 I have a little problem with the behavior of the Spaces panel in the
 Dashboard section.

 First of all, let me describe my portal configuration:

 On my host I have one portal which takes the standard :80 port, then it's
 Xwiki on :28181

 Unfortunately I cannot make xwiki port ( 28181 ) public so I created a
 reverse proxy in the following way:

 ProxyPass /xwiki/ http://localhost:28181/xwiki/
 ProxyPassReverse /xwiki/ http://localhost:28181/xwiki/
 ProxyPass /xwiki  http://localhost:28181/xwiki
 ProxyPassReverse /xwiki http://localhost:28181/xwiki


 Then I can access to my Xwiki with the following url:

 apps.man.poznan.pl/xwiki

  From the internal network I can use that one as well:

 apps.man.poznan.pl:28181



 Now I can describe my problem: when I access xwiki with the port, everything
 works as expected. Unfortunately when I use /xwiki url I'm getting the view
 as on the attached screenshot. It seems that somehow the links for those
 little icons are broken. Those links are still active but it doesn't look
 that good.

 I imagine this a minor glitch but if someone has any ideas how to fix that..


 Did you try to define xwiki.home in xwiki.cfg?
 That could help

 Arnaud.

I changed that property to:
http://apps.man.poznan.pl/xwiki

and the effect of rendering is slightly different:

http://i.imgur.com/nD4v7.png

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


Re: [xwiki-users] Problems with the dashboard spaces panel ( using reverse proxy )

2010-10-29 Thread Sergiu Dumitriu
On 10/29/2010 11:23 AM, Piotr Dziubecki wrote:
 Dear all,

 I have a little problem with the behavior of the Spaces panel in the
 Dashboard section.

 First of all, let me describe my portal configuration:

 On my host I have one portal which takes the standard :80 port, then
 it's Xwiki on :28181

 Unfortunately I cannot make xwiki port ( 28181 ) public so I created a
 reverse proxy in the following way:

 ProxyPass /xwiki/ http://localhost:28181/xwiki/
 ProxyPassReverse /xwiki/ http://localhost:28181/xwiki/
 ProxyPass /xwiki http://localhost:28181/xwiki
 ProxyPassReverse /xwiki http://localhost:28181/xwiki

Try adding:

ProxyPreserveHost On

If that doesn't work, then note that this is a known and fixed issue, 
see http://jira.xwiki.org/jira/browse/XE-542, so you could try to 
upgrade to 2.5.


 Then I can access to my Xwiki with the following url:

 apps.man.poznan.pl/xwiki

  From the internal network I can use that one as well:

 apps.man.poznan.pl:28181



 Now I can describe my problem: when I access xwiki with the port,
 everything works as expected. Unfortunately when I use /xwiki url I'm
 getting the view as on the attached screenshot. It seems that somehow
 the links for those little icons are broken. Those links are still
 active but it doesn't look that good.

 I imagine this a minor glitch but if someone has any ideas how to fix
 that..



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


Re: [xwiki-users] Successful FreeBSD (Tomcat) to Solaris (Glassfish) migration

2010-10-29 Thread Kaya Saman
[...]
 yes you can add content to any wiki on xwiki.org. Just be careful to add good 
 quality doc ;)

 Thanks for your help, that's great!
 -Vincent


  
[...]

Have signed up now but can't figure out how to create my own page??

Basically the documentation I have is already compiled and want to 
copy/paste it into my own Space if possible rather then adding to the 
already very congested Xwiki Admin Installation guide.

I don't have rights to do this though so I'm wondering what the best way 
to go is as my stuff doesn't really fit I feel to what's up already??

It's basically a combination of Install and Configuration together 
compiled into a howto rather then broken up section by section.


Has anyone got any ideas of the best approach??


Thanks


--K


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


Re: [xwiki-users] issue with xwiki.getURLContent()

2010-10-29 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

Arnaud bourree wrote:
 Hello,

 I write the following test page:
 = Goovy =
 {{groovy}}
 println 
 xwiki.getURLContent(http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl;)
 {{/groovy}}

 = Velocity =
 {{velocity}}
 $xwiki.getURLContent(http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl;)
 {{/velocity}}

 And it doesn't return attachment file content.
 If I change URL to http://www.google.com;, both returns Google page
 If I curl URL from console, then I get my attachment file content.

 What's wrong? Don't we allowed to used absolute URL to our wiki?

 I run XWiki 2.5 with Tomcat 6.0.28, Mysql 5.1.49, Ubuntu 10.10
   

Here what I see: it does work in a XE/XEM 2.4.30451 installation...

http://ebiotic.net/bin/ICT/GetAttachmentContent

But id doesn't in a XE 2.6-SNAPSHOT.31892...

http://epecnetcore.environmentalchange.net:8080/xwiki/bin/view/ICT/GetAttachmentContent

Does this provide any clue?

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

   

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

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


Re: [xwiki-users] issue with xwiki.getURLContent()

2010-10-29 Thread Arnaud bourree
Hello Ricardo,

2010/10/29 [Ricardo Rodriguez] eBioTIC. ricardo.rodrig...@ebiotic.net:
 Hi!

 Arnaud bourree wrote:
 Hello,

 I write the following test page:
 = Goovy =
 {{groovy}}
 println 
 xwiki.getURLContent(http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl;)
 {{/groovy}}

 = Velocity =
 {{velocity}}
 $xwiki.getURLContent(http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl;)
 {{/velocity}}

 And it doesn't return attachment file content.
 If I change URL to http://www.google.com;, both returns Google page
 If I curl URL from console, then I get my attachment file content.

 What's wrong? Don't we allowed to used absolute URL to our wiki?

 I run XWiki 2.5 with Tomcat 6.0.28, Mysql 5.1.49, Ubuntu 10.10


 Here what I see: it does work in a XE/XEM 2.4.30451 installation...

 http://ebiotic.net/bin/ICT/GetAttachmentContent

 But id doesn't in a XE 2.6-SNAPSHOT.31892...

 http://epecnetcore.environmentalchange.net:8080/xwiki/bin/view/ICT/GetAttachmentContent

 Does this provide any clue?

It looks that could be regression introduce by correction
http://jira.xwiki.org/jira/browse/XWIKI-5405
As it it closed to doc.getAttachement()

Arnaud.


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



 --
 Ricardo Rodríguez
 CTO
 eBioTIC.
 Life Sciences, Data Modeling and Information Management Systems

 ___
 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] issue with xwiki.getURLContent()

2010-10-29 Thread Arnaud bourree
2010/10/29 [Ricardo Rodriguez] eBioTIC. ricardo.rodrig...@ebiotic.net:


 Arnaud bourree wrote:
 Hello Ricardo,

 2010/10/29 [Ricardo Rodriguez] eBioTIC. ricardo.rodrig...@ebiotic.net:

 Hi!

 Arnaud bourree wrote:

 Hello,

 I write the following test page:
 = Goovy =
 {{groovy}}
 println 
 xwiki.getURLContent(http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl;)
 {{/groovy}}

 = Velocity =
 {{velocity}}
 $xwiki.getURLContent(http://localhost:8080/xwiki/bin/download/Sandbox/ReportMacro/report2xwiki.xsl;)
 {{/velocity}}

 And it doesn't return attachment file content.
 If I change URL to http://www.google.com;, both returns Google page
 If I curl URL from console, then I get my attachment file content.

 What's wrong? Don't we allowed to used absolute URL to our wiki?

 I run XWiki 2.5 with Tomcat 6.0.28, Mysql 5.1.49, Ubuntu 10.10


 Here what I see: it does work in a XE/XEM 2.4.30451 installation...

 http://ebiotic.net/bin/ICT/GetAttachmentContent

 But id doesn't in a XE 2.6-SNAPSHOT.31892...

 http://epecnetcore.environmentalchange.net:8080/xwiki/bin/view/ICT/GetAttachmentContent

 Does this provide any clue?


 It looks that could be regression introduce by correction
 http://jira.xwiki.org/jira/browse/XWIKI-5405
 As it it closed to doc.getAttachement()

 Arnaud.



 Or something new as it is fixed in trunk for 2.6 (warning: I've not a
 clear idea about what this means concerning snapshots!) Let's see what
 others has to say about this! I'll update the snapshot I've in my
 develop environment ASAP and try gain. I'm afraid that won't happens
 before next Tuesday though.

By chance I can used URL later in my code without retrieving content.
So, I can do without, but I will follow correction.

Arnaud.



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



 --
 Ricardo Rodríguez
 CTO
 eBioTIC.
 Life Sciences, Data Modeling and Information Management Systems

 ___
 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


 --
 Ricardo Rodríguez
 CTO
 eBioTIC.
 Life Sciences, Data Modeling and Information Management Systems

 ___
 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] Properties List of users and DB list (and DB Tree)

2010-10-29 Thread Erica Usui
Hi!

I'm trying to list the users' name in a form, but the name have complement
(p.e. Name: Carlos Eduardo da Silva / HR - manager). As in a List of users
property, I want to display, when someone is selecting a name, the full name
and complement, but when displaying in the results I want it to show the
user's Alias.

So what I did was a class (XWiki.dbClass)  with two properties:
Name (String) (p.e. Carlos Eduardo da Silva / HR - manager)
Alias (String) (p.e.Carlos)
Which I used as a DataBase to the property Name in the other class
(XWiki.formClass).

So, I chose for this property:
XWiki Class Name: XWiki.dbClass
Id Field Name: Name
Value Field Name: Alias

But the result was not as in a List of Users property, in which when one
choose for example Carlos Eduardo da Silva the result in the table is
Carlos.
The result was that both, selected and diplayed information, are in this
example Carlos.

And another thing... I didn't understand the DB Tree property. One thing
that worked was:
XWiki Class Name: XWiki.dbClass
Id Field Name: doc.fullName
Value Field Name: Alias
Parent Field Name: doc.parent

But I don't understand the meaning of that...

Can anyone help me ?
-- 
Atenciosamente,
Erica Usui.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] date query (date property equals specified date)

2010-10-29 Thread Erica Usui
Hi!

I'm having trouble with date queries...
I have a class with a date property and I want to filter all its documents
which have this date property equal to a defined value.

How can do that?

-- 
Atenciosamente,
Erica Usui.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Successful FreeBSD (Tomcat) to Solaris (Glassfish) migration

2010-10-29 Thread [Ricardo Rodriguez] eBioTIC.
Hi Kaya,

Kaya Saman wrote:
 [...]
   
 yes you can add content to any wiki on xwiki.org. Just be careful to add 
 good quality doc ;)

 Thanks for your help, that's great!
 -Vincent


 
  
   
 [...]

 Have signed up now but can't figure out how to create my own page??

 Basically the documentation I have is already compiled and want to 
 copy/paste it into my own Space if possible rather then adding to the 
 already very congested Xwiki Admin Installation guide.

 I don't have rights to do this though so I'm wondering what the best way 
 to go is as my stuff doesn't really fit I feel to what's up already??

 It's basically a combination of Install and Configuration together 
 compiled into a howto rather then broken up section by section.


 Has anyone got any ideas of the best approach??

   
Please, check this...

http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiOrgDocumentationStandard
http://dev.xwiki.org/xwiki/bin/view/Drafts/

Hope this helps!

Ricardo

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

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


Re: [xwiki-users] Properties List of users and DB list (and DB Tree)

2010-10-29 Thread Erica Usui
Hi!

My property is just like a static list, but populated by another class - so,
I used a DB List property.
What I want to show on select is different from what I want the stored value
to be, this is actually the purpose of DB List properties' id name and
value name, but my experience showed the contrary...

I've already seem these
linkhttp://dev.xwiki.org/xwiki/bin/view/Drafts/DatabaseListProperties,
and also found important information about this subject on this mailing (
http://lists.xwiki.org/pipermail/users/2008-February/010417.html). But
didn't solve my problem.

Again, I just want to do the same as property List of users does, which is
when selecting it is shown first_name+last_name, and when querying the
result is XWiki.alias. I want to do something similar, but with my own
class, not XWiki.XWikiUsers.
For example:
XWiki.dbClass [which has: property1 (string), property2 (string)].
XWiki.class1Class [which has: property3 (dbList)= XWiki class name:
XWiki.dbClass, id field name: property1; value field name: property2)].

2010/10/29 [Ricardo Rodriguez] eBioTIC. ricardo.rodrig...@ebiotic.net

 Hi,

 Erica Usui wrote:
  Hi!
 
  I'm trying to list the users' name in a form, but the name have
 complement
  (p.e. Name: Carlos Eduardo da Silva / HR - manager). As in a List of
 users
  property, I want to display, when someone is selecting a name, the full
 name
  and complement, but when displaying in the results I want it to show the
  user's Alias.
 
  So what I did was a class (XWiki.dbClass)  with two properties:
  Name (String) (p.e. Carlos Eduardo da Silva / HR - manager)
  Alias (String) (p.e.Carlos)
  Which I used as a DataBase to the property Name in the other class
  (XWiki.formClass).
 
  So, I chose for this property:
  XWiki Class Name: XWiki.dbClass
  Id Field Name: Name
  Value Field Name: Alias
 
  But the result was not as in a List of Users property, in which when
 one
  choose for example Carlos Eduardo da Silva the result in the table is
  Carlos.
  The result was that both, selected and diplayed information, are in this
  example Carlos.
 

 Perhaps I'm missing something, Erica, but if you are dealing with XWiki
 users, what not simply modify XWiki.XWikiUsers class to  host the new
 information you need to store? You must be careful when you updated this
 class at XWiki update time!

 Or create that new dbClass to store new data (position and alias) and
 instantiate it (add an instance of that class) to each XWiki user.

 I know this is not what you are asking for, but I'm trying to understand
 what do you want to do. I've tried this Database List properties type in
 a XE 2.6-SNAPSHOT.31892 and it seems to work a expected.

 When you talk about result in the table, what table are you talking
 about? Thanks!

  And another thing... I didn't understand the DB Tree property. One thing
  that worked was:
  XWiki Class Name: XWiki.dbClass
  Id Field Name: doc.fullName
  Value Field Name: Alias
  Parent Field Name: doc.parent
 
  But I don't understand the meaning of that...
 
  Can anyone help me ?
 

 This is the only file where I can find a reference to Tree Property in
 the XWiki ecosystem...

 http://dev.xwiki.org/xwiki/bin/view/Drafts/DatabaseListProperties

 But it is just in the title of the document. I've trying to get it
 working to no avail. It seems that it allows to assign a value of a
 property by selecting a document from a tree of documents. But I'm not
 able to get it working. Could you try with, let's say, a dbTree based on
 XWiki.XWikiUsers? Thanks!

 Just my two cents!

 Ricardo

 --
 Ricardo Rodríguez
 CTO
 eBioTIC.
 Life Sciences, Data Modeling and Information Management Systems

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




-- 
Atenciosamente,
Erica Usui.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Error number 4001 in 4: Error while parsing velocity page

2010-10-29 Thread Ken McWilliams
I have a new XWiki installation on Windows XP, Glassfish 3.0.1 Xwiki
version xwiki-enterprise-web-2.5.war, MySQL 5.1.35

The Issue:
I have a new empty wiki... on the page :
http://IPADDR:8080/xwiki/bin/import/XWiki/XWikiPreferences

Which says : Your wiki seems empty. You may want to import the default
XWiki Enterprise wiki which...

So in the dialogue box I browse to a downloaded backup of the wiki in a
xar file and try to import it but it returns back to the main screen as
if nothing happened (it does seem to upload but it is not listed as an
Available package after this.  So I then try to default set of pages at 
http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-wiki/2.5/xwiki-enterprise-wiki-2.5.xar
and this does not work either.

I've set up Xwiki successfully before (although the other installation
was on linux) and it went without issue.  

As a clue I was getting this error first:
Error number 4001 in 4: Error while parsing velocity
page /templates/importinline.vm Wrapped Exception: Failed to evaluate
content with id [/templates/importinline.vm]

I noticed that I needed to start up the windows Glassfish service
manually... So I changed the user to be the Administrator account (Under
options for the Windows Glassfish Service) and then the template error
went away... Go figure... anyways the above error prevented the file
upload dialogue from even appearing but now... there is this issue. 

Any suggestions? Other than not using Windows ;) because I tried that
suggestion already.

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


Re: [xwiki-users] Error number 4001 in 4: Error while parsing velocity page

2010-10-29 Thread Ken McWilliams
Sorry I left Error number 4001 in 4: Error while parsing velocity
page... This is NOT the current issue. The current issue is the upload
for XAR does not add it to the available packages.

On Fri, 2010-10-29 at 16:46 -0600, Ken McWilliams wrote:
 I have a new XWiki installation on Windows XP, Glassfish 3.0.1 Xwiki
 version xwiki-enterprise-web-2.5.war, MySQL 5.1.35
 
 The Issue:
 I have a new empty wiki... on the page :
 http://IPADDR:8080/xwiki/bin/import/XWiki/XWikiPreferences
 
 Which says : Your wiki seems empty. You may want to import the default
 XWiki Enterprise wiki which...
 
 So in the dialogue box I browse to a downloaded backup of the wiki in a
 xar file and try to import it but it returns back to the main screen as
 if nothing happened (it does seem to upload but it is not listed as an
 Available package after this.  So I then try to default set of pages at 
 http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-wiki/2.5/xwiki-enterprise-wiki-2.5.xar
 and this does not work either.
 
 I've set up Xwiki successfully before (although the other installation
 was on linux) and it went without issue.  
 
 As a clue I was getting this error first:
 Error number 4001 in 4: Error while parsing velocity
 page /templates/importinline.vm Wrapped Exception: Failed to evaluate
 content with id [/templates/importinline.vm]
 
 I noticed that I needed to start up the windows Glassfish service
 manually... So I changed the user to be the Administrator account (Under
 options for the Windows Glassfish Service) and then the template error
 went away... Go figure... anyways the above error prevented the file
 upload dialogue from even appearing but now... there is this issue. 
 
 Any suggestions? Other than not using Windows ;) because I tried that
 suggestion already.
 
 ___
 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] PDF export question

2010-10-29 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

ccoreggioli wrote:
 Hi all,

 when exporting info macros or warning macros to PDF, these components aren't
 rendered as they are in browser, in facts the box edge, the background color
 and the related icons aren't printed in resulting pdf document. In this way,
 the will of highlighting some text isn't ported to the pdf (and rtf) export.

 is this a bug or simply this feature haven't been developed yet?

 i'm testing XE 2.5M2 on Centos 5 64bit, tomcat 6.0.26 and jdk 1.6.0_20. IE7
 on client side.

 thanks,
 claudio

   
Please, have you checked this?

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel

I'm not able yet of telling you if this is a bug or it is simple not 
supported with the current export architecture. Print preview does its 
job without a glitch, the rendered page is ok. So, I only find one option:

The pdf*.vm templates out strip these macro layouts and we do need 
another customized template/templates to get them rendered with the 
current architecture.

But I don't know yet what changes are required. Any idea will be welcome!

The new architecture will solve this issue!

http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule

Cheers,

Ricardo

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

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


Re: [xwiki-users] Error number 4001 in 4: Error while parsing velocity page

2010-10-29 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

Ken McWilliams wrote:
 Sorry I left Error number 4001 in 4: Error while parsing velocity
 page... This is NOT the current issue. The current issue is the upload
 for XAR does not add it to the available packages.
   

Please, checked max_allowed_packet for your MySQL instance.

See this...

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL

 On Fri, 2010-10-29 at 16:46 -0600, Ken McWilliams wrote:
   
 I have a new XWiki installation on Windows XP, Glassfish 3.0.1 Xwiki
 version xwiki-enterprise-web-2.5.war, MySQL 5.1.35

 The Issue:
 I have a new empty wiki... on the page :
 http://IPADDR:8080/xwiki/bin/import/XWiki/XWikiPreferences

 Which says : Your wiki seems empty. You may want to import the default
 XWiki Enterprise wiki which...

 So in the dialogue box I browse to a downloaded backup of the wiki in a
 xar file and try to import it but it returns back to the main screen as
 if nothing happened (it does seem to upload but it is not listed as an
 Available package after this.  So I then try to default set of pages at 
 http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-wiki/2.5/xwiki-enterprise-wiki-2.5.xar
 and this does not work either.

 I've set up Xwiki successfully before (although the other installation
 was on linux) and it went without issue.  

 As a clue I was getting this error first:
 Error number 4001 in 4: Error while parsing velocity
 page /templates/importinline.vm Wrapped Exception: Failed to evaluate
 content with id [/templates/importinline.vm]

 I noticed that I needed to start up the windows Glassfish service
 manually... So I changed the user to be the Administrator account (Under
 options for the Windows Glassfish Service) and then the template error
 went away... Go figure... anyways the above error prevented the file
 upload dialogue from even appearing but now... there is this issue. 

 Any suggestions? Other than not using Windows ;) because I tried that
 suggestion already.

 ___
 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

   

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

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