https://issues.apache.org/jira/browse/WICKET-5232
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Can-i-display-a-WepPage-in-a-PDF-How-to-get-the-rendered-markup-tp4659290p4659438.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Hi,
This can be relaxed. Please file a ticket.
On Wed, Jun 12, 2013 at 2:55 PM, harmoniaa <
edvard.fons...@nitorcreations.com> wrote:
> I created a quickstart but didn't create a ticket yet, because I found out
> that ComponentRenderer expects to get a component whose markupId equals to
> Compo
I created a quickstart but didn't create a ticket yet, because I found out
that ComponentRenderer expects to get a component whose markupId equals to
ComponentRenderer.COMP_ID.
Is this a bug or a feature? Is there some way to render the markup of an
existing component that has an arbitrary markupI
On Mon, Jun 10, 2013 at 4:30 PM, harmoniaa <
edvard.fons...@nitorcreations.com> wrote:
> Good point. Anyway, that still leaves me the issue with ListView...
>
Please create a ticket with a quickstart for this.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.c
Good point. Anyway, that still leaves me the issue with ListView...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Can-i-display-a-WepPage-in-a-PDF-How-to-get-the-rendered-markup-tp4659290p4659354.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi Edvard,
Thank you for the feedback.
ComponentRenderer (CR) just asks Wicket to render a component. The
rendering process uses all the application settings so if the wicket
tags/attributes cause any problems then the application can turn them off
before using CR and turn on after.
So I think CR
FYI:
I had a problem using ComponentRenderer with ListView (it was complaining
the there was no markup for wicket-id "my-wicket-id").
Additionally, ITextRenderer (or xerces actually) was not able to parse XML
from the markup with Wicket tags ("The prefix "wicket" for element
"wicket:container" is
Hi,
Since Wicket 6.7.0 there is ComponentRenderer class which does exactly the
same.
On Sat, Jun 8, 2013 at 12:01 AM, Per Newgro wrote:
> Found the solution already. I did it that way:
>
> public class FlyingSaucerPdfResource extends ByteArrayResource {
>
> public FlyingSaucerPdfResource()
Found the solution already. I did it that way:
public class FlyingSaucerPdfResource extends ByteArrayResource {
public FlyingSaucerPdfResource() {
super("application/pdf");
}
@Override
protected byte[] getData(Attributes attributes) {
ByteArrayOutputStream os;