Jon,

Maybe I'm missing something, but why can't you just
set the state of your coplet in the flowscript, so
that it shows the first page after it's done?

e.g.:

if (state == 'done')
 cocooon.sendPage(welome-page);

-Alex

--- Jon Evans <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm using the Portal engine.
> 
> I have a coplet which uses flowscript and woody to
> present the user 
> with a form.  The coplet type is
> ApplicationCopletAdapter although I've 
> also got it working with CachingURICoplet.
> 
> After the user has filled in the last page and hit
> the "submit" button, 
> the coplet displays a fairly normal "thanks for your
> feedback" page.  
> However at that point I also want the flowscript to
> reset the coplet so 
> that the next time it is displayed it shows the
> first page of the form.
> 
> So, before displaying the result pipeline, it has to
> both invalidate 
> the cache, and set it so that the next time the
> coplet is displayed it 
> comes from the "default" URL for the coplet (as
> specified in 
> copletdata/portal.xml) rather than the continuation
> ID.
> 
> Hope this is descriptive enough. :-)
> 
> Thanks in advance,
> 
> Jon
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


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

Reply via email to