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

accept rate: 33%

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


answered 25.04.2014 at 11:40

Dominik%20Regli's gravatar image

Dominik Regli ♦
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



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



Asked: 25.04.2014 at 10:56

Seen: 1,306 times

Last updated: 25.04.2014 at 11:40