You could eventually use reactorFactory.createIterator("myObject") instead of 
createGateway.

Never tried before but I think it could work.

João Fernandes

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Dan Vega
Sent: Wed 19-Jul-06 9:42 PM
To: [email protected]
Subject: Re: [Reactor for CF] query page record navigation
 
Yes so a getAll() returns 100 records but we want to have x pages with x
number of records per page.

On 7/19/06, João Fernandes <[EMAIL PROTECTED]> wrote:
>
> What do you mean by a regular record? navigate between records from any
> query?
>
> João Fernandes
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] on behalf of Dan Vega
> Sent: Wed 19-Jul-06 9:24 PM
> To: [email protected]
> Subject: [Reactor for CF] query page record navigation
>
> I see that with an Iterator you can set the total amount of records
> returned
> along with the starting record. This would be great for page navigation of
> records. Is there anyway to do this with a regular record? I am trying to
> figure out the easiest way to provide this feature for my application
> without writing a custom funciton.
>
> <cfset customers = AddressRecord.getCustomerIterator().getQuery(10, 5) />
>
>
> --
> Dan Vega
> [EMAIL PROTECTED]
>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
> Reactor for ColdFusion Mailing List
> [email protected]
> Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
>
>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
> Reactor for ColdFusion Mailing List
> [email protected]
> Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
>
>


-- 
Dan Vega
[EMAIL PROTECTED]


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

<<winmail.dat>>

Reply via email to