I got it to work! There is a little variable called "out" in AbstractReader that I
am supposed to use. So small, I overlooked it!
Berin Loritsch wrote:
>
> I get
>
> java.lang.IllegalStateException: you are not a serializer or reader
>
> at org.apache.cocoon.environment.http.HttpResponse.getOutputStream(HttpResponse.java:130)
>
> at org.apache.cocoon.reading.DatabaseReader.serialize(DatabaseReader.java:211)
>
> at org.apache.cocoon.reading.DatabaseReader.generate(DatabaseReader.java:116)
>
> When I try to use my DatabaseReader. I need for this to work _today_. Can
> someone help me with how to get a correct version of the HttpResponse object?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
|