Hi, after user cklick a button, we generate local a PDF. We would like to show it directly to client. In RIA can we use ClientContext.showDocument, but in JSF logik works this not... How to use it in JSF ?

asked 25.04.2014 at 10:56

tauser's gravatar image

tauser
(suspended)
accept rate: 33%


Create some managed bean to send the response and use a commandButton with target _blank to call it.
Follow this procedure.

link

answered 25.04.2014 at 11:40

Dominik%20Regli's gravatar image

Dominik Regli ♦
(suspended)
accept rate: 85%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×79

Asked: 25.04.2014 at 10:56

Seen: 1,755 times

Last updated: 25.04.2014 at 11:40