cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Re: coplet / flowscript cache invalidation question
Date Wed, 10 Mar 2004 01:29:58 GMT
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 <jon.evans@misgl.com> 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:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message