whitemx / xcontrols-domino

A mobile and desktop XPages development framework, from Teamstudio.
http://xcontrols.org
Apache License 2.0
18 stars 10 forks source link

Search won't show more than 20 results #312

Open mickmoignard opened 9 years ago

mickmoignard commented 9 years ago

How do I get a search from an UnpBootFlatList or UnpBootAccordionView to show more than the 1st 20 search result hits?

edm00se commented 9 years ago

You can pass a property definition value with numberofrows or set it in sessionScope.rowcount. You can see it in action here, where the property is set in the xp:repeat control (showing from UnpBootFlatList, which correlates to the UnpBootFlatView custom control): https://github.com/teamstudio/xcontrols-domino/blob/master/sampler-app/CustomControls/UnpBootFlatView.xsp#L131-L140

mickmoignard commented 9 years ago

No, didn't work for me. Did you actually read the question?

  1. unpBootAccordionView doesn't support NumberofRows as a property. 2, I can alter the number of rows shown in the unpbootFlatList that way, but what I want is to be able to alter the number of rows in the search results list separately from the number of rows in the regular display.

Given that I can't change the number of rows on an accordion, I'm not going to change it on a flat list, because then the two displays would not be consistent. But I would like to display maybe 50 rows of search results. Or more. Or be able to get at the rest of the search results rows.

I'd also point out that your example doesn't actually use any sessionScope.rowcount value, because it replaces its value in the 1st line of the highlighted code with the components numberofrows!

whitemx commented 9 years ago

Mick,

This is a change request. It will get prioritised with the next round of development which will happen in the next 6-8 weeks.

Matt

mickmoignard commented 9 years ago

Cheers

Mick


Mick Moignard Software Developer OAC Actuaries and Consultants

mick.moignard@oacplc.com | +44 (0)20 7278 9500 | www.oacplc.com |
www.monetfinancialmodelling.com

Progress with Confidence

Follow us: Twitter | LinkedIn

From: Matt White notifications@github.com To: teamstudio/xcontrols-domino xcontrols-domino@noreply.github.com Cc: mickmoignardOAC mick.moignard@oacplc.com Date: 17/03/2015 09:26 Subject: Re: [xcontrols-domino] Search won't show more than 20 results (#312)

Mick, This is a change request. It will get prioritised with the next round of development which will happen in the next 6-8 weeks. Matt ? Reply to this email directly or view it on GitHub.

This email and any files transmitted with it are intended only for the person or entity to which it is addressed and may contain privileged or confidential information. If you're not the intended recipient, disclosing, copying, distributing or using this information is prohibited. If you've received this email in error, please contact the sender and delete all copies. This email may contain personal views which are not the views of OAC. We monitor our email system, and may record your emails. OAC Actuaries and Consultants is a trading name of OAC plc. Registered office: 141-142 Fenchurch Street, London, EC3M 6BL, United Kingdom. Registered in England no. 4663795.

edm00se commented 9 years ago

Woops, totally missed the aspect of this being for search results... don't mind me.