I've got several instances where I use this exact combination (subtemplates & iText).
However I just wrote a servlet that generates the pdf independently. The definition for the subtemplate is as follows: ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
<<inline: PastedGraphic-6.png>>
- you need to take care with case at subTemplates - iirc the "parameters" node was created upon restart of the tomcat Last version I implemented upon: CE 4.2.3 hth, Thomas On 31.03.2011, at 20:15, Scrivo Codice wrote: > > Hi, > > I would like to call http://localhost:8080/myapp/mypage.pdf instead of > http://localhost:8080/myapp/mypage.html. > > I try with subtemplates and adding a class that extend Template, i use > iText, i change content type, content disposition... but doesn't work! > I think I'm wrong ;) > > Any ideas with a simple sample? > > Thanks! > SC > > > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- >
