Re: [xwiki-users] Do you like our new T-Shirt?

2008-03-09 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team

Hi Vincent,

It will be with pleasure that we order a number of them for our TeamMates!

In fact I would like to add a Powered by XWiki motto and XWiki logo to 
the T-shirt we are designing for our volley, basket and street-hockey 
teams! (well, in the street-hockey case is more a bunch of crazy 
rollers... :-)


Considering we are not playing Premier League, what are the conditions 
we must follow to wear the XWiki logo? Is there a vectorial format file 
available with the logo?


We would like a reverse option: black background, so we need a 
different color for the X. Could you propose it? Thanks!!!


Greetings,

Ricardo


Vincent Massol wrote:

Hi,

Here's the new T-shirt that we're planning to print:
http://www.xwiki.com/xwiki/bin/download/Blog/NoTShirtYetCeBIT2008/TSHIRTCEBIT9.png

WDYT? Do you like it? Would you wear it? :)

(Full story at CEBIT here:
http://www.xwiki.com/xwiki/bin/view/Blog/NoTShirtYetCeBIT2008) 
http://www.xwiki.com/xwiki/bin/view/Blog/NoTShirtYetCeBIT2008


Thanks
-Vincent


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



--
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] trying to understand colorsblack.css - background-image

2008-03-09 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Chengmin Ding wrote:
 I am not sure if the following suggestion will help but it helps me
 solve a websphere portal related skin/theme problem recently.
 If there is any background tag or background-image defined after the
 background-image in your skin, the later background tag will overwrite
 your background-image tag defined previously. So you can try to use
 background instead of background-image to check or rearrange the
 sequence of your css file so your skin's tag is the last to fire on.

 -Chengmin

Thanks for the tip.

I think this was not the case here. The point was that all background 
tags worked fine, but images where loaded from the base skin instead of 
from the folder where the CSS for the customized skin is stored.

I've just upgraded to 1.3 and it is working fine now. I don't know why, 
but it seems that any of the changes done between 1.3RC1 and 1.3 
affected this behavior. Great! Although I've learned nothing :-(

I know skins and in general interface issues are hot issue right now, so 
I will try to stop finding fancy solutions and keep an eye on 
http://dev.xwiki.org/xwiki/bin/view/Design/InterfaceExtensions :-)

Cheers,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


[xwiki-users] How to export a number of documents to xar?

2008-03-09 Thread Ngo Thi Hong Nga
Hi, I want to export some documents to xar. I go to Administration\Export,
enter package name,.. and click Export, then all of my documents are
exported. Is there any way allowed me to export only documents that I want?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to export a number of documents to xar?

2008-03-09 Thread Guillaume Lerouge
Hi,


 Hi, I want to export some documents to xar. I go to Administration\Export,
 enter package name,.. and click Export, then all of my documents are
 exported. Is there any way allowed me to export only documents that I want?


Sure :-)

Check out :
http://code.xwiki.org/xwiki/bin/view/Applications/PackagerApplication

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


Re: [xwiki-users] ghost document

2008-03-09 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
[Ricardo Rodriguez] wrote:
 Sorry for insisting on this topic, but I have at least an annoying
 aesthetic problem that is causing me some problems here. You will see in
 the following link two documents starting with PCI. The second one, PCI/...
 points to nothing.

 http://mire.environmentalchange.net/~webmaster/images/GhostPci.png

 May I simply delete this document from the database without affecting its
 integrity?

 Thank you so much for your help,

 Ricardo
   
Done! See 
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToDeleteAnInaccessibleDocument

Thanks,

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] panel background

2008-03-09 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Vincent Massol wrote:
 yes that's what we do in the toucan skin for the search panel.

Done! Thanks.

It is just a matter of creating a div DivName within the panel and a 
new #DivName in one of the CSS files. I've create it in style.css.

I'm guessing if MergeCSS Snippet could be the tool to avoid modifying 
default css as IncludeMacro avoid to modify default macro.vm. Isn't it? 
Thanks.

Best,

Ricardo


-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] panel background

2008-03-09 Thread Vincent Massol

On Mar 9, 2008, at 3:21 PM, [Ricardo Rodriguez] Your EPEC Network ICT  
Team wrote:

 Vincent Massol wrote:
 yes that's what we do in the toucan skin for the search panel.

 Done! Thanks.

 It is just a matter of creating a div DivName within the panel and a
 new #DivName in one of the CSS files. I've create it in style.css.

This is not required since the panels already provide a css hook... So  
all you need is a CSS entry.

 I'm guessing if MergeCSS Snippet could be the tool to avoid modifying
 default css as IncludeMacro avoid to modify default macro.vm. Isn't  
 it?

Not sure I understand what you mean ;)

-Vincent

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


Re: [xwiki-users] How to export a number of documents to xar?

2008-03-09 Thread Vincent Massol

On Mar 9, 2008, at 2:53 PM, Ngo Thi Hong Nga wrote:

 Hi, I want to export some documents to xar. I go to Administration 
 \Export, enter package name,.. and click Export, then all of my  
 documents are exported. Is there any way allowed me to export only  
 documents that I want?

We have a jira issue for this:
http://jira.xwiki.org/jira/browse/XWIKI-800

We really need this feature implemented (especially as it's not hard  
to do). Anyone here feels like contributing a patch for this?

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


Re: [xwiki-users] panel background

2008-03-09 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team

Vincent Massol wrote:


Not sure I understand what you mean ;)

  


Some time it is easier to ask directly instead of doing weird things :-( 
Sorry for not being clearer.


The point is that by using macro.vm I can easily add new macros to our 
sites without needing to modify macros.vm. This way, our customizations 
are completely independent of the base skin and updates are pretty 
straightforward.


Now that following your advise I have learned how to control panels' 
appearance by using CSS, it will be great to have a tool to include new 
CSS code in the rendering process without modifying the default css 
files. This way, as with the macros, I have not to be concerned about 
overwriting old default css while updating.


The only tool I founded in xwiki.org that I guess could do something 
like this is MergeCSS. But I don't understand well how it could be used.


Hope this is a bit clearer now. Thanks for your patience!

Ricardo

--
Ricardo Rodríguez
Your EPEC Network ICT Team

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


[xwiki-users] Problem using 'delete space' snippet

2008-03-09 Thread Dowson_Jim
I was using the 'delete page snippet' from
http://code.xwiki.org/xwiki/bin/view/Snippets/DeleteSpaceSnippet 

 

When confirming a space to be deleted (under 1.2-milestone-2.5917), self
contained Windows version

 

I received the following error:

 

Error number 4001 in 4: Error while parsing velocity page Main.Delete
Space

Wrapped Exception: Invocation of method 'delete' in  class
com.xpn.xwiki.api.Document threw exception java.lang.OutOfMemoryError:
Java heap space @ Main.Delete Space6,71?

com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page Main.Delete Space

Wrapped Exception: Invocation of method 'delete' in  class
com.xpn.xwiki.api.Document threw exception java.lang.OutOfMemoryError:
Java heap space @ Main.Delete Space6,71?

at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:157)

at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.
java:95)

at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWiki
RenderingEngine.java:222)

at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWiki
RenderingEngine.java:154)

at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWiki
RenderingEngine.java:125)

at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultX
WikiRenderingEngine.java:117)

at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:40
7)

at
com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371)

at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)

at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)

at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)

at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)

at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)

at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:238)

at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:152)

at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1309)

at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1278)

at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:599)

at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)

at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)

at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)

at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)

at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)

at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:194)

at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)

at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)

at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:88)

at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)

at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)

at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)

at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)

at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:238)

at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:152)

at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1309)

at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1278)

at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:105)

at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:158)

at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)

at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)

at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

at 

Re: [xwiki-users] Problem using 'delete space' snippet

2008-03-09 Thread Vincent Massol

Hi,

On Mar 9, 2008, at 5:59 PM, [EMAIL PROTECTED] wrote:


I was using the ‘delete page snippet’ from 
http://code.xwiki.org/xwiki/bin/view/Snippets/DeleteSpaceSnippet

When confirming a space to be deleted (under 1.2-milestone-2.5917),  
self contained Windows version


I received the following error:

Error number 4001 in 4: Error while parsing velocity page  
Main.Delete Space
Wrapped Exception: Invocation of method 'delete' in  class  
com.xpn.xwiki.api.Document threw exception  
java.lang.OutOfMemoryError: Java heap space @ Main.Delete Space6,71?


Seems like you don't have enough memory.

2 solutions:
1) don't delete all space pages at once, partition the deletetions
2) increase the memory

That said I'm not sure why lots of memory is required. Maybe one doc  
has lots of versions?


-Vincent

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


[xwiki-users] contentcontainerinner background

2008-03-09 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi,

Working with XWiki 1.3 and Albatross skin I've successfully changed the 
background of the inner content container by editing colorsblack.css 
this way...

.content #contentcontainerinner, .contenthideright #contentcontainerinner {
background-image:url(MyBackGroundImage.png);
background-position:right top;
background-repeat:no-repeat;
}

My challenge now is to be able to set a different background on per 
space basis.

By googling on this topic, I've found a number of reference using 
JavaScript to dynamically change CSS.

Please, is this the path I must follow in this case or could I find 
other alternative in XWiki? Thanks!

Best,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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