Re: [xwiki-users] Help with Live Table and Grid Component

2010-06-08 Thread Marius Dumitru Florea
Hi James,

On 06/08/2010 05:08 AM, James Cuzella wrote:
 I'm trying to create a live table similar to the All Docs  one in
 Main, but filtered for a specific space (in this case, named
 Software).

 i've used the Live table snippet for the table page itself:

 ---
 {{velocity}}
 #set($collist = [doc.name, doc.space,doc.date, doc.author, 
 _actions])
 #set($colprops = {
 doc.name : { type : text , size : 30,
 link : view},
 doc.space : { type : text, link : space},
 doc.date : { type : date },
 doc.author : { type : text, link : author},
 _actions : {actions: 
 [copy,delete,rename,rights]}
   })
 #set($options = { resultPage:XWiki.SofwareTableresults,
translationPrefix : xe.index.,
rowCount: 15 })
 #livetable(allsoftwaredocs $collist $colprops $options)
 {{/velocity}}
 ---

 And here's the Software table results page:
 ---
 {{include document=XWiki.LiveTableResultsMacros /}}


I don't know much about live table but the code below was already 
filtering by space if the space name was present on the request (i.e. if 
the page was called with space=SomeSpace in the query string). It looks 
like you can specify query string parameters using the extraParams 
live table option ( 
http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro ). So you 
should try using the default data source (XWiki.LiveTableResults) with 
extra query string parameters:

#set($options = { extraParams:space=Software,
   translationPrefix : xe.index.,
   rowCount: 15 })

(of course, this code should be place in the table page, before the call 
to livetable macro)

Hope this helps,
Marius

 {{velocity}}
 #set($extra = )
 #if($!request.space != ) #set($extra = ${extra} and doc.space =
 '$request.space') #end
 #if($!request.orphaned == 1) #set($extra = ${extra} and
 doc.parent='' and doc.name'WebHome') #end
 #gridresultwithfilter($!request.classname,
 $request.collist.split(,), doc.space = 'Software' , ${extra})
 {{/velocity}}
 ---

 As soon as I added the doc.space = 'Software'  parameter to the
 gridresultfilter(), it broke the page and gives: Failed to execute
 macro: velocity

 What is the correct way to filter the query?

 Thanks,
 - James Cuzella
 ___
 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-devs] [Proposal] Rights Management UI

2010-06-08 Thread Ecaterina Valica
On Tue, Jun 8, 2010 at 09:01, Denis Gervalle d...@softec.lu wrote:

 On Mon, Jun 7, 2010 at 17:00, Ecaterina Valica vali...@gmail.com wrote:

   It will if it display the inheritance source in a column. For right set
  at
   current level this column could even precise what inheritance has been
   overwritten, both in terms of allowance and origin.
  
   Denis.
 
 
  Hi Denis,
 
  Something like this:
  http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights51Space



 Yes, something like that. I would have expected a back to basic button
 in place of advanced, and the removal of the basic interface to avoid
 duplicating basic rights. Maybe the menu should be horizontal in the
 advanced interface, I do not know. Also add some hyperlinks to upper level
 in the column explaining inheritance. And put the highlight of changes over
 the rest of the row (includes name and inheritance)


http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights51Space

About:

 I would have expected a back to basic button
 in place of advanced, and the removal of the basic interface to avoid
 duplicating basic rights


http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights43Proposal/rights52Space.png

This removal of the basic interface will be set from the user profile's
variables (if it has advanced type)? I mean if the user is advanced, all the
rows will be presented in advances?
I'm asking because I think the collapsed view is great to see changes up in
the table, where you don't care the advanced status of those rights.


 WDYT ? Is this interesting ?


it's nice :P I would love to see some other opinions.

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


Re: [xwiki-users] [xwiki-devs] [Proposal] Documentation Standard Document Call to Vote

2010-06-08 Thread GeLo
Hello,

I think the most important is to have an up to date documentation, so I
favour minimalist options * (the fewer the better)*.

Q1 : I vote for option b) but this is not conflicting with d) proposed by
Thomas.

Q2 : Option a) the default skin.

A comment regarding this draft : I'm not sure that the USERS mailing list is
appropriate to ask for a documentation change. The documentation is a
component of the XWiki software and it must match the features implemented.
So, for me, the DEV mailing list would be quite natural.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Installation issue / import function

2010-06-08 Thread Dalluege, Pierre (extern)
Hello xwiki users,

After installing xwiki 2.3 (and 2.3.1 afterwards) on Centos5.5 with
MySQL 5.x and Tomcat 5.5 I still have the issue that I cannot import the
default .xar file. The same is true for all .xar files: I generated one
from this wiki and I wanted to re-import it. No chance yet.

Unfortunately I cannot see any problem on xwiki / tomcat or mysql level.
Everything looks fine.

As I shouldn't provide screen shots, you may have a look at
http://m2m.fm:8080/xwiki/bin/admin/Main/WebPreferences.

I am looking at this topic for some days now, with no result yet. ANY
IDEAS?

Thank you very much for your support.

Best regards

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


Re: [xwiki-users] [xwiki-devs] [Proposal] Rights Management UI

2010-06-08 Thread Denis Gervalle
On Tue, Jun 8, 2010 at 11:19, Ecaterina Valica vali...@gmail.com wrote:

 On Tue, Jun 8, 2010 at 09:01, Denis Gervalle d...@softec.lu wrote:

  On Mon, Jun 7, 2010 at 17:00, Ecaterina Valica vali...@gmail.com
 wrote:
 
It will if it display the inheritance source in a column. For right
 set
   at
current level this column could even precise what inheritance has
 been
overwritten, both in terms of allowance and origin.
   
Denis.
  
  
   Hi Denis,
  
   Something like this:
   http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights51Space
 
 

  Yes, something like that. I would have expected a back to basic
 button
  in place of advanced, and the removal of the basic interface to avoid
  duplicating basic rights. Maybe the menu should be horizontal in the
  advanced interface, I do not know. Also add some hyperlinks to upper
 level
  in the column explaining inheritance. And put the highlight of changes
 over
  the rest of the row (includes name and inheritance)
 

 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights51Space

 About:

  I would have expected a back to basic button
  in place of advanced, and the removal of the basic interface to avoid
  duplicating basic rights
 


 http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights43Proposal/rights52Space.png

 This removal of the basic interface will be set from the user profile's
 variables (if it has advanced type)?


No, just removed when the advanced interface is shown using the advanced
button, like you have done.


 I mean if the user is advanced, all the
 rows will be presented in advances?


No, the only thing I proposed is that user that are not set Advanced user
in their profile, will not be presented the advanced interface link, and
will never see extended rights.


 I'm asking because I think the collapsed view is great to see changes up in
 the table, where you don't care the advanced status of those rights.


I completely agree. Advanced interface is for understanding and fixing deep
complex stuffs




  WDYT ? Is this interesting ?
 

 it's nice :P I would love to see some other opinions.


Yes, could it be possible for you to fix the interactive version to hide the
basics and also to have hover and click work as expected. I think it will
helps in receiving more feed back with causing confusion.

I found the result really well suited now. There is just some improvement in
color contrast, icons aspect, and so on that should be applied if we get
approval for this proposal.

Once you have fixed the sample, I think that a summary page (resume of our
reflexion, and containing only the final proposal) and than a vote thread
could be appropriate to receive feedback from other committers, since the
size of this thread could be pushing back.

WDYT ?

Denis


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




-- 
Denis Gervalle
SOFTEC sa - CEO
eGuilde sarl - CTO
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] [Proposal] Rights Management UI

2010-06-08 Thread Raluca Stavro
On Mon, Jun 7, 2010 at 11:22 AM, Ecaterina Valica vali...@gmail.com wrote:
 On Fri, Jun 4, 2010 at 21:33, Raluca Stavro raluca.moro...@xwiki.comwrote:

 Hello all,

 I really like the last proposal, Caty :)

 On Fri, Jun 4, 2010 at 8:57 PM, Alex Busenius alex.busen...@xwiki.com
 wrote:
  Hi Caty,
 
 
  This version is really cool, just some minor comments:
 
  When I mouse over some right icon (FF 3.6), the dropdown menu with
  allow/deny/etc. is shown, but this menu is very hard to see, because it
  has almost the same color as the background and the icons are right
  above the right icons from the line below.
 
  The popup with the hint what right it is and why it is inherited is
  really helpful, but to open it I need to hit the small triangle near to
  the icon, otherwise only the dropdown menu is shown (but maybe its just
  because it is not the final version). This might be quite hard for some
  people.
 
  I'd made the icons larger (at least 24x24) and add more contrast (right
  now inherited rights look like disabled GUI controls to me), especially
  to the dropdown menu, view right icon and inherited right arrow from the
  menu.

 I think that the tooltip can be added on mouse click. This would imply
 adding a nice question mark instead of that small arrow, and the user
 would click anywhere on the span with the class name summary. And
 another improvement would be to add more padding to the drop down
 menus. Caty is currently using the secondary background color, right?
 Maybe we should use the highlight color, but I'm not sure of that.


 Thanks Raluca. Yes, a better solution is be to increase the padding and also
 use $theme.backgroundSecondaryColor (or a darker tone).
 The problem is that on default theme, backgroundSecondaryColor is a gray
 color and the contrast with the gray icon is not that good.

 In terms of interaction I think hover on tooltip and click on arrow for
 changing the rights is better. The user browse the rights to see the
 inheritance and see what those rights means, and when he made up his mind he
 clicks and change the right.
 There are more cases when the users is just browsing the rights, inspecting
 or see rights meaning, than actually change them; so the harder activity
 (clicking) should be put on changing the right.

 The small arrow is a sign that there is a menu. If the menu will appear on
 click, the arrow is necessary to work as an invitation and also to keep the
 consistency with actionMenus.

 Raluca, do you think we should use bigger icons, like Alex suggested? Maybe
 if we put enough padding and we work a bit on the contrast
 (backgroundSecondaryColor, highlightColor) this won't be necessary.

No, the icon size is ok. I modified a bit proposal 5.1 (I hope it's ok
with you Caty, otherwise we can revert the changes and add proposal
5.2) http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights51Space
.
I added more padding, more margin, a bigger width for the available
rights to change (.submenuitem a span.changedRight) and I've made the
arrow a bit bigger  (102% font size).

This way the user will select easier the items.

I didn't have time to change the way the submenu is displayed (click
instead of mouse over), but it's clear for me the way it will look
like and I really think that this proposal is clean and easy to
use/understand.

Raluca.

 The only advantage of another color set would be a greater space for user to
 click/hover (we can fix that with padding). The disadvantage is that the
 lookfeel will be broken and also other icons will not correlate actions
 done in XWiki (edit, delete, comment, etc) with the corresponding rights.

 If the hover/click and the size of the icons are the only problem :) then is
 ok

 Thanks,
 Caty



 Raluca.

 
 
  Alex
 
 
  On 06/04/2010 06:54 PM, Ecaterina Valica wrote:
  Hi,
 
  Take a look at Rights 5
  http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights5Space
 
  Added:
  * information regarding the advanced rights (inherits, overrides)
  * icons built together as a whole
 
 http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights5Space/icons.png
  * representation of advanced rights with the same abstract icon, but
 with
  different color (no text; we can debate this)
 
 http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights5Space/color.png
  * inheritance arrow married with +/-
 
  IMGs (in case of browser problem)
  - collapsed:
 
 http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights5Space/rights5Space.png
  - expanded:
 
 http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights5Space/rights5SpaceExpanded.png
 
  On Fri, Jun 4, 2010 at 10:42, Denis Gervalle d...@softec.lu wrote:
 
  Hi Caty,
 
  On Thu, Jun 3, 2010 at 18:09, Ecaterina Valica vali...@gmail.com
 wrote:
 
  Hi Denis,
 
  I want to thank you again for all the help you are giving :P
 
 
  This is pleasure to participate especially because you provide really
 good
  proposals.
  I 

[xwiki-users] Installation issue / import function

2010-06-08 Thread Dalluege, Pierre (extern)
Hello xwiki users, hello caleb,

The link links to the life system, so you simply may select the xar,
click on on importing, you get the toc of the xar and finally you may
import it with an error message of the importing tool.

Yes, we use Firefox (but it also happens on IE8).

Best regards

Pierre

-Original Message-
From: Caleb James DeLisle [mailto:calebdeli...@lavabit.com] 
Sent: Tuesday, June 08, 2010 1:32 PM
To: XWiki Users
Subject: Re: [xwiki-users] Installation issue / import function

What happens when you try to import (how far do you get?)

Importing is part of the automated tests which are run on firefox, are
you using a different browser? We have had issues with Microsoft
browsers in the past.

Caleb

Dalluege, Pierre (extern) wrote:
 Hello xwiki users,
 
 After installing xwiki 2.3 (and 2.3.1 afterwards) on Centos5.5 with 
 MySQL 5.x and Tomcat 5.5 I still have the issue that I cannot import 
 the default .xar file. The same is true for all .xar files: I 
 generated one from this wiki and I wanted to re-import it. No chance
yet.
 
 Unfortunately I cannot see any problem on xwiki / tomcat or mysql
level.
 Everything looks fine.
 
 As I shouldn't provide screen shots, you may have a look at 
 http://m2m.fm:8080/xwiki/bin/admin/Main/WebPreferences.
 
 I am looking at this topic for some days now, with no result yet. ANY 
 IDEAS?
 
 Thank you very much for your support.
 
 Best regards
 
 Pierre
 ___
 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] Installation issue / import function

2010-06-08 Thread Asiri Rathnayake
Hi,

On Tue, Jun 8, 2010 at 4:02 PM, Dalluege, Pierre (extern) 
p.dallu...@external.telekom.de wrote:

 Hello xwiki users,

 After installing xwiki 2.3 (and 2.3.1 afterwards) on Centos5.5 with
 MySQL 5.x and Tomcat 5.5 I still have the issue that I cannot import the
 default .xar file. The same is true for all .xar files: I generated one
 from this wiki and I wanted to re-import it. No chance yet.

 Unfortunately I cannot see any problem on xwiki / tomcat or mysql level.
 Everything looks fine.


Are you sure tomcat logs don't have any exceptions logged? I have
experienced issues with importing when max_allowed_packet (mysql
configuration) is not  large enough.

And did you make sure that your xar file is valid? (Not corrupted)

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


[xwiki-users] [myxwiki] XWiki Enterprise 2.4 Milestone 1 Upgrade

2010-06-08 Thread Thomas Mortagne
Hello,

myxwiki.org has been upgraded to XE 2.4 Milestone 1, if you own a wiki
hosted there you should have a look at :
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise24M1

We also strongly recommend an upgrade to the latest wiki version. To
upgrade you must download XE 2.4 Milestone 1 XWiki XAR from :
http://www.xwiki.org/xwiki/bin/view/Main/Download
And follow the upgrade guide available at :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocuments

To be notified of the myxwiki.org server upgrade you can follow
myxwiki on twitter:
http://twitter.com/myxwiki

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


[xwiki-users] showing xwiki-page incl. images in jsp.

2010-06-08 Thread -the-
hi,

i'm new on the group but i use xwiki since 3 years.

for a automatic display panel application we show a xwiki-page via rpc
like the reference 
http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPC;

but with this code we can't display images.
only the name of the picture will displayed.

have anybody a solution/reference for this problem.

with regards
-the-

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


[xwiki-users] Installation issue / import function

2010-06-08 Thread Dalluege, Pierre (extern)
Hello xwiki users, hello asiri,

Thank you very much for your personal support. I have no errors in the
tomcat log, but I also increased the packet size before.

BR

Pierre

-Original Message-
From: Asiri Rathnayake [mailto:asiri.rathnay...@gmail.com] 
Sent: Tuesday, June 08, 2010 1:47 PM
To: XWiki Users
Subject: Re: [xwiki-users] Installation issue / import function

Hi,

On Tue, Jun 8, 2010 at 4:02 PM, Dalluege, Pierre (extern) 
p.dallu...@external.telekom.de wrote:

 Hello xwiki users,

 After installing xwiki 2.3 (and 2.3.1 afterwards) on Centos5.5 with 
 MySQL 5.x and Tomcat 5.5 I still have the issue that I cannot import 
 the default .xar file. The same is true for all .xar files: I 
 generated one from this wiki and I wanted to re-import it. No chance
yet.

 Unfortunately I cannot see any problem on xwiki / tomcat or mysql
level.
 Everything looks fine.


Are you sure tomcat logs don't have any exceptions logged? I have
experienced issues with importing when max_allowed_packet (mysql
configuration) is not  large enough.

And did you make sure that your xar file is valid? (Not corrupted)

- Asiri
___
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-devs] [Proposal] Documentation Standard Document Call to Vote

2010-06-08 Thread GeLo
Just to point out that my comment is focused on the Documentation Standard
draft, not the current mailing thread. Following the document, if you want
to update a page or create a new one, you have to ask the XWiki community
before starting. Below this sentence, the user mailing list is clearly
specified.

Maxime

2010/6/8 Thomas Mortagne thomas.morta...@xwiki.com


 Actually you answered on USERS only but the proposal has been sent on
 both USERS and DEVS ;)

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