• Post Reply Bookmark Topic Watch Topic
  • New Topic

CommandButton and javascript call  RSS feed

 
tejasree gut
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a commandButton where I call a method from a bean. The bean actually gives output and generates a PDF. It opens the PDF in another window(that is what I want). But I want to resize the window to a smaller size. But I am not sure how should I do that using javascript onclick event on the command button.I can not use the window.open because I do not have any URL of the output that is coming from server side.
Any ideas would be greatly appreciated.

Thanks
Tej
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!