You would need to pop up a new window using javascript and then
reference a servlet which serves the data. The other option would be to
put a JSP include inside of some f:verbatum tags. The include would
point to the servlet resource.
The third option is a custom JSF component.
Scott
Perkins, Nate-P63196 wrote:
I have page that contains a table of information. There are 2 command
buttons for the table, one generates a PDF document based on the
selected row data in the table and allows the user to download the PDF
(I use the fileDownloadListener). This works great.
The second button is supposed to be a "view" of the selected row data.
My PDF generator has the option of generating HTML to an OutputStream.
I would like my "view" button to load a dialog and show the generated
HTML but I do not have any idea how to do that. How can I load a
trinidad dialog and supply generated HTML into the output stream??
thanks
Nate Perkins
General Dynamics C4 Systems
This email message is for the sole use of the intended recipient(s) and
may contain GDC4S
confidential or privileged information. Any unauthorized review, use,
disclosure or distribution
is prohibited. If you are not an intended recipient, please contact
the sender by reply email and
destroy all copies of the original message.