>>>>> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes:

>>>>> "Ugo" == Ugo Cei <[EMAIL PROTECTED]> writes:
    Ugo> Colin Paul Adams wrote:
    >>>>>>>> "Ugo" == Ugo Cei <[EMAIL PROTECTED]> writes:
    Ugo> Il giorno 23/lug/04, alle 00:14, Colin Paul Adams ha
    >>> scritto: >> What is the proper way to drop off the end of the
    >>> flowscript, >> and display another page?
    Ugo> cocoon.sendPage(whatever); return;
    >>> This is of no use to me, as whatever is invoked with a
    >>> .continue URI, thus making it impossible to use relative links
    >>> within whatever.

    Ugo> Then maybe:

    Ugo> cocoon.redirectTo("/absoluteURI"); return;


    Colin> That is what I was doing (although with a relative URI).

    Colin> I have just changed to using sendpage instead, but sending
    Colin> it to a page does includes a meta to do a redirect
    Colin> (http-equiv refrsh, with a relative URI specified).

    Colin> But I think this is probably the same thing. Certainly the
    Colin> behaviour appears to be the same.

    Colin> I am wondering if perhaps the browser is caching the page
    Colin> that is produced by the flowscript, since when it goes
    Colin> astray, I can hit the reload button and get the correct
    Colin> page.  -- Colin Paul Adams Preston Lancashire

I have just discovered the flowscript debugger - so I decided to see
for myself what was happening.

However, when I try this, I press "Step out" from the first
function. I get:

"resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 50: uncaught 
JavaScript exception: at handleForm 
(resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line 249) at Form 
(resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line 50): 
java.lang.NullPointerException

org.apache.avalon.framework.CascadingRuntimeException: 
"resource://org/apache/cocoon/forms/flow/javascript/Form.js", line 50: uncaught 
JavaScript exception: at handleForm 
(resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line 249) at Form 
(resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line 50): 
java.lang.NullPointerException

cause: java.lang.NullPointerException 

Am I doing anything illegitimate?
-- 
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to