Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Print Form data in JSF  RSS feed

 
HemPushap Kaushik
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am having a problem in my JSP.I just want to print the form data of my JSP instead of the whole page.using javascript:print() method prints the whole page.
so can you help me in solving this issue.

Thanks
Hem Pushap Kaushik
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way I know to do that is to use CSS features to control how the different parts of the page will print (or not print!).

Use them the same way you would for straight HTML. There's nothing special about JSF in that regard.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!