How to use print functionality in Java Studio Creator

Hi,

I am working on one JSF project using Java Studio Creator.

I have requirement where I have one table and print button.

By clicking the print button, I want the contents of table to be printed.

I have configured all the required properties of this button but still by clicking this print button, I am not able to see the print window.

Please help me in that, Its urgent.

Thanks in advance.

Vijay

[447 byte] By [vijay_foruma] at [2007-11-27 3:21:03]
# 1
Hi,i think the best thing for you to do is to use javascript. go to jsp page of the form and find the button, as part of its attribute type onClick="window.print()"
kaskaleea at 2007-7-12 8:23:48 > top of Java-index,Development Tools,Java Tools...
# 2
Thanks for the answer.It worked and resolved my problem.Thanks again,Vijay
vijay_foruma at 2007-7-12 8:23:48 > top of Java-index,Development Tools,Java Tools...