On Mon, May 10, 2010 at 13:43, Vincent Massol <[email protected]> wrote:
> > On May 10, 2010, at 1:28 PM, Denis Gervalle wrote: > > > Hi devs, > > > > I want to add a control to choose the page size of livetables. I have > made a > > proposal, and Guillaume Lerouge has suggested to show it by the default > when > > using the #livetable macro. This addition is not intrusive, takes no > > additional place in the UI and does not require additional support on the > > server side. > > My updated proposal is resumed here: > > > http://incubator.myxwiki.org/xwiki/bin/view/Improvements/LivetablePageSizer > > > > I would like to apply this patch for XE2.4M1. > > > > Here is my +1 > > Question: is the developer-defined size available in the select? (the size > specified in the #livetable macro call). > Yes, if it is not part of the proposed size, it is inserted in the right place by the livetable.js in all cases. > +0 for me. I'd like this to be an option in the livetable macro call (in > $options). The reason for an option is that as a developer I choose the > number of items to be displayed based on several criteria and it may happen > that on some pages I don't want the livetable to be able to be resized for > some reason. I'd be ok that this option be on by default if we think it's > best (I'm neutral on this). > You may both disable the control and/or chose the pages bounds (min, max, steps) by options to the #livetable macro. If you do not use the livetable macro, but directle the livetable.js, the control only appears if there is a node for it to be injected, and you may precise the bound as well. The default bounds are 10 to 100 by 10. > Note that I haven't checked the patch. > No problem. Denis > > Thanks > -Vincent > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Denis Gervalle SOFTEC sa - CEO eGuilde sarl - CTO _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

