p:printer does not work wih StreamedContent

UI Components for JSF
Post Reply
palman
Posts: 17
Joined: 18 May 2011, 11:59

21 Sep 2011, 10:40

Hi All,

chartBean.chart1 is a jfreechart png image

Code: Select all

<p:panel id="st">...
...
                    <p:panel header="HEADER">
                        <p:graphicImage id="chart1" value="#{chartBean.chart1}"/>
                    </p:panel>

Code: Select all

                <h:outputLink id="lnk" value="#">  
                <p:printer target="st" />  
                <p:graphicImage value="/images/print.png" />  
            </h:outputLink> 
Image

greetz palman

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 63 guests