cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
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:23:05 GMT
Grzegorz Kossakowski wrote:
> pisze:
>> Author: reinhard Date: Tue Jan 29 14:07:32 2008 New Revision: 616536
>> URL: 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?

TBH, from an integration test perspective, I don't care which one. I want to 
test if the object model can be accessed at all from within a generator. I want 
to make sure that the OM is still available after doing refactorings, because I 
guess that the old one will be removed sooner or later.

>> + +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.


Reinhard Pötz                            Managing Director, {Indoqa} GmbH

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair

View raw message