On Jan 29, 2008 4:34 PM, Harvey Kim <[EMAIL PROTECTED]> wrote:
> Anybody know how to gracefully exit out of "handleRow" method?  Before
> anybody suggests using "queryFor*" methods, I need to be able to query
> for potentially 12 million rows.  It's a straight download to an excel
> file so nothing is being displayed (thank god).  Anyway, I'm trying to
> exit out of "handleRow" method when the user clicks on the "cancel"
> button from the standard download dialogue box.

Hm, red flag there - I assume you're talking web app, but I don't
think the request is canceled when the user clicks on the cancel
button, it'll still going to run.

In any case, the only current way to cancel RH processing is to throw
an exception from the handleRow method. Not sexy, but it works. :-)

Larry

Reply via email to