I try to print some components in my page by using p:print
could somebody tell me how to identify a component id in a page.
my code as following. but when I run it, then throw error
<h:panelGrid columns="2" style="width:600px" >
<h:panelGroup>
............
</h:panelGroup>
<h:panelGroup>
<h:commandButton id="btn" value="Print">
<p:printer target="dataPic" />
</h:commandButton>
</h:panelGroup>
</h:panelGroup>
<h:panelGrid id="chartPanel" columns="2" style="width:900px">
<p:graphicImage id="dataPic" value="#{wealthBean.displinechart}" />
</h:panelGroup>
....
a problem for use p:print
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
What is the error you are getting?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Can't replicate the issue.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 72 guests