« Return to Thread: PDF Plugin Upgrade to 0.4 error

Re: PDF Plugin Upgrade to 0.4 error

by Marc Dworkin :: Rate this Message:

Reply to Author | View in Thread


Hi Aaron,

Thanks!

Marc

--- On Fri, 5/1/09, Aaron Eischeid <a.eischeid@...> wrote:

> From: Aaron Eischeid <a.eischeid@...>
> Subject: Re: [grails-user] PDF Plugin Upgrade to 0.4 error
> To: user@...
> Date: Friday, May 1, 2009, 12:26 PM
> The demo stuff  is kinda sketchy in
> 1.1, because the views don't show up in the app after
> installing the plugin. and therefore I don't have good
> testing of the plugin as installed in a 1.1 app. I will look
> into this next week as soon as I get time.
>
>
> it should work for jSecurity (or any other security?) if
> you use the pdfForm and do method="post" which
> also requires that you use either
> template="something" or
> controller="something"
> action="someAction". Tags which use a url still
> don't work with secured views.
>
>
>
>
> On Thu, Apr 30, 2009 at 9:40 PM,
> Marc Dworkin <marcvsxiv@...>
> wrote:
>
>
> Hi,
>
>
>
> I upgraded my PDF plugin to 0.4, which broke the included
> Simple PDF Demo.
>
>
>
> Selecting the link for http://localhost:8080/MyApp/pdf/demo2?url=/pdf/demo2&filename=document.pdf
>
>
>
> Returns an html page and the following logs
>
>
>
> --------------------------
>
> BaseUri is http://localhost:8080/MyApp
>
> Fetching url http://localhost:8080/MyApp/pdf/demo2
>
> 2009-04-30 22:30:22,311 [7832332@qtp0-4] ERROR
> service.PdfService  -
> org.xhtmlrenderer.util.XRRuntimeException: Can't load
> the XML resource (using TRaX transformer).
> org.xml.sax.SAXParseException: The entity name must
> immediately follow the '&' in the entity
> reference.there was a problem with PDF generation
> java.lang.NullPointerException: Cannot get property
> 'length' on null object
>
>
> --------------------------
>
>
>
> Also, from the release notes.  Does "ability to use
> on secured applications" mean it now works with
> Jsecurity?
>
>
>
> Thanks!
>
>
>
> Marc
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe from this list, please visit:
>
>
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: PDF Plugin Upgrade to 0.4 error