cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: svn commit: r616536 - in /cocoon/whiteboard/micro/misc: cocoon-micro-it-block/src/main/java/org/apache/cocoon/micro/it/ cocoon-micro-it-block/src/main/resources/COB-INF/ cocoon-micro-it-block/src/main/resources/META-INF/cocoon/spring/ cocoon-webapp/src...
Date Tue, 29 Jan 2008 22:16:00 GMT
reinhard@apache.org pisze:
> Author: reinhard
> Date: Tue Jan 29 14:07:32 2008
> New Revision: 616536
> 
> URL: http://svn.apache.org/viewvc?rev=616536&view=rev
> Log:
> add test for accessing the object model from within a generator and redirection (redirecting
to a servlet source doesn't work ATM)

Which object model you want to test here?

> +
> +public class RequestParametersGenerator extends AbstractGenerator {
> +
> +    public void generate() throws IOException, SAXException, ProcessingException {
> +        Request request = ObjectModelHelper.getRequest(this.objectModel);
> +

Modern way to access request object is PipelineInfoProvider bean.

-- 
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/

Mime
View raw message