Articles Tutorials Interview Questions & Answers Certifications Free Books & Sample Chapters Technical Discussions    Your Account | Advertise with us | Feedback
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Log inLog in   RegisterRegister 

Printing with JSF

 
Post new topic   Reply to topic     Forum Index -> JavaServer Faces (JSF)
View previous topic :: View next topic  
Author Message
amarverma



Joined: 30 Oct 2007
Posts: 1

PostPosted: Tue Oct 30, 2007 5:04 am    Post subject: Printing with JSF Reply with quote

I've to scenario to Print a report from my web application which is displayed in the jsf data table. I've to print the report without using javascript. since I'm new to jsf.. could any one help me how to print the report using JSF?

Advance Thanks ,
Amar
________
HERBALAIRE


Last edited by amarverma on Fri Feb 11, 2011 12:42 am; edited 1 time in total
Back to top
View user's profile Send private message
doraiswamy



Joined: 30 Oct 2007
Posts: 1

PostPosted: Tue Oct 30, 2007 5:04 am    Post subject: Reply with quote

JSF is server side, it can't do something at the client side. At the client side you'll need Javascript anyway, since HTML has no functionality for it either. Use window.print() and if necessary apply CSS with a print media style.
________
S500


Last edited by doraiswamy on Fri Feb 11, 2011 8:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> JavaServer Faces (JSF) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group