cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandor Spruit <>
Subject Paginator with dynamic page sheet?
Date Thu, 08 Sep 2005 13:11:39 GMT


I want to vary a Paginator's parameter depending on the amount of info 
available. So I wrote "src='cocoon:/pagesheet' to fetch the pagesheet 
from a xml-producing pipeline. When I define it like this, it works:

<map:match pattern="pagesheet">
	<map:read mime-type="text/xml" src="mypagesheet.xml"/>

But this fails with a not-so-elegant NPE :(

<map:match pattern="pagesheet">
	<map:generate type="jx" src="mypagesheet.jx"/>
	<map:serialize type="xml"/>

Why? Opening "pagesheet" directly works, so it doesn't seem to be the 
pagesheet file itself. Paginator apparantly resolves 'cocoon:/' okay,
since the Reader-based attempt works.

Any suggestions? I don't see anything suspicious in


Information and Computing Sciences, Utrecht University, the Netherlands
'Content and knowledge engineering'
Personal coordinates:
"... unthinkable surprises, about to happen, but what they are -
  it's not up to you, oh, it never really was."  (Bjork on Vespertine)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message