Re: [xwiki-users] livetable only on objects/pages under parent

2011-09-27 Thread Scott Serr

- Vincent Massol vinc...@massol.net wrote:

 Hi Scott,
 
 On Sep 27, 2011, at 12:34 AM, Scott Serr wrote:
 
  
  Can I limit livetable to display only the objects/pages under a
 certain parent page?
  
  Looks like this:
  
  Detectors (space)
  Detectors.Detector1 (page)
  Detectors.Detector2 (page)
  Detectors.Detector1History1 (page with parent set to Detector1)
  Detectors.Detector1History2 (page with parent set to Detector1)
  
  I have livetable on both pages Detector1 and Detector2, trying to
 display only their children history.  But livetable displays all
 DetectorHistoryClass objects.  (The Detector2 page shows Detector1's
 history objects)  Is there a way to limit the results to only children
 of the calling page?
  
  I know you can do all this manually with foreach and filtering them
 out one at a time, but I'd like to use livetable.
 
 See the example at
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HFilterorganizationsbydomain
 
 Hope it helps,
 -Vincent

Thanks Vincent, I'll give it a try.

Those in charge of the xwiki web sites:

If I am not logged in, just looking at the pages the code macro can't execute!
Failed to execute the [code] macro

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


Re: [xwiki-users] livetable only on objects/pages under parent

2011-09-27 Thread Scott Serr

- Scott Serr se...@theserrs.net wrote:

 - Vincent Massol vinc...@massol.net wrote:
 
  Hi Scott,
 
snip
 
  See the example at
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HFilterorganizationsbydomain
 
  Hope it helps,
  -Vincent
 
 Thanks Vincent, I'll give it a try.
 
 Those in charge of the xwiki web sites:
 
 If I am not logged in, just looking at the pages the code macro can't
 execute!
 Failed to execute the [code] macro
 

I'm sorry, I just tried again as not logged in and it worked.  I think there 
must be some heavy loading on the xwiki server or something which causes the 
code macro not to execute some of the time.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] livetable only on objects/pages under parent

2011-09-27 Thread Vincent Massol
Hi Scott,

On Sep 27, 2011, at 3:05 PM, Scott Serr wrote:

 
 - Scott Serr se...@theserrs.net wrote:
 
 - Vincent Massol vinc...@massol.net wrote:
 
 Hi Scott,
 
 snip
 
 See the example at
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HFilterorganizationsbydomain
 
 Hope it helps,
 -Vincent
 
 Thanks Vincent, I'll give it a try.
 
 Those in charge of the xwiki web sites:
 
 If I am not logged in, just looking at the pages the code macro can't
 execute!
Failed to execute the [code] macro
 
 
 I'm sorry, I just tried again as not logged in and it worked.  I think there 
 must be some heavy loading on the xwiki server or something which causes the 
 code macro not to execute some of the time.

Yes we had this issue and it was fixed in more recent versions of XWiki 
Enterprise than the one installed on xwiki.org (see 
http://jira.xwiki.org/browse/XWIKI-6164)
We need to upgrade xwiki.org to a newer version (shall be done soon).

Thanks for reporting it!
-Vincent

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


[xwiki-users] livetable only on objects/pages under parent

2011-09-26 Thread Scott Serr

Can I limit livetable to display only the objects/pages under a certain parent 
page?

Looks like this:

Detectors (space)
Detectors.Detector1 (page)
Detectors.Detector2 (page)
Detectors.Detector1History1 (page with parent set to Detector1)
Detectors.Detector1History2 (page with parent set to Detector1)

I have livetable on both pages Detector1 and Detector2, trying to display only 
their children history.  But livetable displays all DetectorHistoryClass 
objects.  (The Detector2 page shows Detector1's history objects)  Is there a 
way to limit the results to only children of the calling page?

I know you can do all this manually with foreach and filtering them out one at 
a time, but I'd like to use livetable.

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


Re: [xwiki-users] livetable only on objects/pages under parent

2011-09-26 Thread Vincent Massol
Hi Scott,

On Sep 27, 2011, at 12:34 AM, Scott Serr wrote:

 
 Can I limit livetable to display only the objects/pages under a certain 
 parent page?
 
 Looks like this:
 
 Detectors (space)
 Detectors.Detector1 (page)
 Detectors.Detector2 (page)
 Detectors.Detector1History1 (page with parent set to Detector1)
 Detectors.Detector1History2 (page with parent set to Detector1)
 
 I have livetable on both pages Detector1 and Detector2, trying to display 
 only their children history.  But livetable displays all DetectorHistoryClass 
 objects.  (The Detector2 page shows Detector1's history objects)  Is there a 
 way to limit the results to only children of the calling page?
 
 I know you can do all this manually with foreach and filtering them out one 
 at a time, but I'd like to use livetable.

See the example at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HFilterorganizationsbydomain

Hope it helps,
-Vincent

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