Hi,
I'm following your instructions but an error is returned:

http status 404 /magnoliaAuthor/PdfWriterStandard
the requested resource is not available.

but if I call:   /magnoliaAuthor/PdfWriterStandard the servlet is executed.

So the subtemplate don't call the servlet.

What do I miss?
Any Ideas?

Thank you.
Andrea


2011/4/5 Scrivo Codice <[email protected]>
>
> Thanks so much!
>
> I use magnolia 4.4.2 and subtemplates work with templatePath and type
> definition like:
> templatePath: /html2pdf
> type: servlet
>
> In attach my piece of code! It's cool! :)
> (Yes, I must refactor my code... but it's my two cents to community :) )
>
> Thanks!
> SC
>
> On Tue, 2011-04-05 at 16:07 +0200, Thomas Martin wrote:
> > Hi Scrivo
> >
> > I've attached you the source for a bare-bone servlet that generates entries 
> > found in NodeDatas called "title", "text" and "image" found under 
> > "mainColumnParagraphs".
> >
> > I've tested it against 4.4.2 of ce today and it worked.
> >
> > Two things that need to be in place:
> >
> > - subtemplate as in my previous email
> > - servlet definition as follows:
> >
> >
> >
> > ----------------------------------------------------------------
> > For list details see
> > http://www.magnolia-cms.com/home/community/mailing-lists.html
> > To unsubscribe, E-mail to: <[email protected]>
> > ----------------------------------------------------------------
> >
> >
> > Hope this helps.
> > Cheers, Thomas
> >
> > @Jan, re(have you thought of maybe sharing your servlet with others as a 
> > separate module on forge?)
> > I'm leaving on thursday for holidays (yay!) so my schedule is unfortunately 
> > quite intense - I honestly will try to do so upon return.
> >
> >
> >
> >
> > On 04.04.2011, at 15:36, Codice Scrivo wrote:
> >
> > >
> > > Thanks for help, but it seems that solution does't work for me.
> > >
> > > I use magnolia 4.4.2 and subtemplates with configuration posted is never
> > > called.
> > > By the way, the servlet is properly configured and respond on request.
> > >
> > > I try to found another solution, but my problem is how make my jsp to
> > > pdf?
> > > In other words: I haven't the html page rendered, i think that i need
> > > get the page with stream or not?
> > > Do I need to write a pdf renderer or a pdf template?
> > >
> > > I try flying-saucer, but the problem remain the same: how can
> > > I read the html filtered by magnolia?
> > >
> > > Thanks!
> > > SC
> > >
> > >
> > > ----------------------------------------------------------------
> > > For list details see
> > > http://www.magnolia-cms.com/home/community/mailing-lists.html
> > > To unsubscribe, E-mail to: <[email protected]>
> > > ----------------------------------------------------------------
> > >
> >
>
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to