This project has retired. For details please refer to its
Attic page .
GetContinuationAction (Cocoon Ajax Block Implementation 1.0.0 API)
org.apache.cocoon.ajax
Class GetContinuationAction
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.apache.cocoon.ajax.GetContinuationAction
All Implemented Interfaces: org.apache.cocoon.acting.Action, Disposable , Serviceable , ThreadSafe
public class GetContinuationAction extends org.apache.cocoon.acting.ServiceableActionimplements ThreadSafe , Disposable
Get a continuation knowing its identifier, and set it as the current continuation
in the object model, in the same manner as cocoon.sendPageAndWait()
does.
This action is useful when an Ajax request is made that needs to access data related
to the continuation that originally displayed the current page.
The continuation id is either the src
attribute in <map:act>
or, if not specified, the continuation-id
request parameter.
This action is successful if the continuation exists and is still valid.
Since:
2.1.8
Version:
$Id: GetContinuationAction.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
GetContinuationAction
public GetContinuationAction ()
service
public void service (ServiceManager manager)
throws ServiceException
Specified by: service
in interface Serviceable
Throws:
ServiceException
act
public Map act (org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
throws Exception
Specified by: act
in interface org.apache.cocoon.acting.Action
Throws:
Exception
dispose
public void dispose ()
Specified by: dispose
in interface Disposable
Copyright © 1999-2008 The Apache Software Foundation . All Rights Reserved.