Re: [xwiki-users] Using a Variable in the WindowsPath Macro

2010-10-11 Thread Marius Dumitru Florea
Hi Lockie,

On 10/11/2010 06:32 AM, Lockie wrote:

 Hi all,

 I made a form that a user uses to manually list files stored on the local
 network drive, that are then displayed in a table. It works fine but to get
 the link to be clickable you have to copy/paste the windowsPath macro into
 the inline form field.

 I am wondering how I can put the variable for the file into the windowsPath
 macro so its clickable in the table, like this (only it doesn't work):
 ...
 td{{windowsPath share=$formObj.file name=Link/}}/td
 ...

This works for me:

--8--
{{velocity}}
#set($path = C:\path\to\file.txt)
|=Path
|{{windowsPath share=$path name=file.txt/}}
{{/velocity}}
--8--

Make sure you save the page that holds the definition of the Windows 
Path Macro (XWiki.Windows Path Macro) with a user that has programming 
rights.

Hope this helps,
Marius


 I've tried a few things out but I'm not really sure on how to get it
 working. Do I have to create an entirely new macro?

 Thanks,

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


[xwiki-users] PDF export question

2010-10-11 Thread ccoreggioli

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


-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/PDF-export-question-tp5622410p5622410.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Paragraph ( heading ) editing problem H3 - H6

2010-10-11 Thread Piotr Dziubecki
Hi,

I'm testing my XWiki instance and noticed that I can edit headings from H1, H2 
levels, and the H3 - H6 are 
just treated like a text formatting. Is that intended behavior ? I found an old 
bug report:

http://jira.xwiki.org/jira/browse/XWIKI-4275?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

its status is fixed but somehow it's still an issue for me.

My XWiki version:
XWiki Enterprise 2.4.3.31377

Is there any option to enable editing those h3-h6 headings as well ?

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


Re: [xwiki-users] Paragraph ( heading ) editing problem H3 - H6

2010-10-11 Thread Vincent Massol
Hi Piotr,

On Oct 11, 2010, at 3:29 PM, Piotr Dziubecki wrote:

 Hi,
 
 I'm testing my XWiki instance and noticed that I can edit headings from H1, 
 H2 levels, and the H3 - H6 are 
 just treated like a text formatting. Is that intended behavior ? I found an 
 old bug report:
 
 http://jira.xwiki.org/jira/browse/XWIKI-4275?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
 
 its status is fixed but somehow it's still an issue for me.
 
 My XWiki version:
 XWiki Enterprise 2.4.3.31377
 
 Is there any option to enable editing those h3-h6 headings as well ?

Yes, see http://jira.xwiki.org/jira/browse/XWIKI-4330

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


Re: [xwiki-users] Paragraph ( heading ) editing problem H3 - H6

2010-10-11 Thread Maxime Mathieu
Hi,

It's a feature. By default, section editing is restricted to level 1 and 2.
But you can customise it using the property *xwiki.section.depth*.
This is descibed in the xwiki.cfg file
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HSamplexwiki.cfg

Hope this help.

Best regards,
Maxime

2010/10/11 Piotr Dziubecki deep...@man.poznan.pl

 Hi,

 I'm testing my XWiki instance and noticed that I can edit headings from H1,
 H2 levels, and the H3 - H6 are
 just treated like a text formatting. Is that intended behavior ? I found an
 old bug report:


 http://jira.xwiki.org/jira/browse/XWIKI-4275?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

 its status is fixed but somehow it's still an issue for me.

 My XWiki version:
 XWiki Enterprise 2.4.3.31377

 Is there any option to enable editing those h3-h6 headings as well ?

 Regards,
 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] Paragraph ( heading ) editing problem H3 - H6

2010-10-11 Thread Piotr Dziubecki
Dear Vincent, Maxime

thanks for the quick answers :) now headings look the way I expected.

Cheers,
Piotr

W dniu 10-10-11 15:51, Maxime Mathieu wrote:
 Hi,

 It's a feature. By default, section editing is restricted to level 1 and 2.
 But you can customise it using the property *xwiki.section.depth*.
 This is descibed in the xwiki.cfg file
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HSamplexwiki.cfg

 Hope this help.

 Best regards,
 Maxime

 2010/10/11 Piotr Dziubeckideep...@man.poznan.pl

 Hi,

 I'm testing my XWiki instance and noticed that I can edit headings from H1,
 H2 levels, and the H3 - H6 are
 just treated like a text formatting. Is that intended behavior ? I found an
 old bug report:


 http://jira.xwiki.org/jira/browse/XWIKI-4275?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

 its status is fixed but somehow it's still an issue for me.

 My XWiki version:
 XWiki Enterprise 2.4.3.31377

 Is there any option to enable editing those h3-h6 headings as well ?

 Regards,
 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


[xwiki-users] cookies' behaviour

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

Working in a XE/XEM 2.4 installation and login with a global user in a 
virtual wiki, cookies don't remember the status of the panels. When I 
use the same account in the controller, it works fine.

For instance, this cookie fails to store/retrieve the state of MREC 
panel. Each time I refresh, I get an expanded panel:

xwiki:XWiki.RicardoRodriguezFernandez_Panels.MREC


The same user in the controller works as expected having a cookie named...

XWiki.RicardoRodriguezFernandez_Panels.MREC


And when working without log in, it works as expected as well. In this 
case, the cookie is...

XWiki.XWikiGuest_Panels.MREC


Could this something to do with the name of the cookies being set as 
${xcontext.user}_${panel} when the user is a global one?

Any idea will be welcome! Thanks!

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


[xwiki-users] groups: mailing them

2010-10-11 Thread Joris Dirks
I intend to make more use of groups and updating the members on
changes relevant to them by sending them e-mail.
Watchlists look too technical/difficult and forcing group members to
use them is too cumbersome, so I'd like to start simple: exporting the
mail addresses and mailing them the old-fashioned way.

Now for the coding: I started with
http://code.xwiki.org/xwiki/bin/view/Snippets/CsvExportOfUsersSnippet
yet group membership is only enclosed in the objects of the respective
group pages. Any suggestions how to either export only members of a
set group, or include subscribed groups as a column?

Thanks in advance!
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Using a Variable in the WindowsPath Macro

2010-10-11 Thread Lockie

Hi Marius, thanks for the reply. 

That way doesn't really work for my situation, I probably should have
mentioned that the macro needed to be used in a filterable table (my script
is based off the 
http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborative-Apps
TODO tutorial , I think the variable/object is somehow breaking the html
tags of my table and therefore breaking the page. I decided to just change
the field of the object to wysiwyg so that the users can just use the macro
directly (that won't happen too often anyway) so its not a big issue.

On a slightly related note: I don't suppose anyone could point me in the
direction of a script that automatically lists paths to all files in a
folder to display in a table on a page? So far my searches have come up a
blank so I'm assuming there isn't anything.

Cheers,
Lockie
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Using-a-Variable-in-the-WindowsPath-Macro-tp5621876p5625312.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