Re: [xwiki-users] livetable only on objects/pages under parent
----- "Vincent Massol" <[email protected]> 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#HFilter...
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
----- "Scott Serr" <[email protected]> wrote:
----- "Vincent Massol" <[email protected]> wrote:
Hi Scott,
<snip>
See the example at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HFilter...
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.
Hi Scott, On Sep 27, 2011, at 3:05 PM, Scott Serr wrote:
----- "Scott Serr" <[email protected]> wrote:
----- "Vincent Massol" <[email protected]> wrote:
Hi Scott,
<snip>
See the example at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HFilter...
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
participants (2)
-
Scott Serr -
Vincent Massol