IT2BE wrote:Haven't tested this but I guess you should be able to return the image from a call to a method or write the image to the server directory and show it from there within a link...
Yes, we are doing something like that with our headless client solution. The user fills in and submits a pdf form, and later wants to email the form and its data using the free Adobe Reader. Using a Servoy method we create a flattened pdf file from the pdf template and its submitted data. The method loops through the submitted data creating an Adobe fdf (form data format) file. The pdf template is grabbed from a blob field and combined with the fdf file using the Servoy pdf plugin to create a flattened pdf file for emailing. The flatten pdf file is written to disk and a link to the file is returned. This can be seen under the "Forms" link of our headless client solution at:
http://server5.hopto.org:8080/choices/login.jsp
I will leave the solution running for a couple of days in case anyone is interested in looking at it.
Bob Cusick and the Servoy programming team helped make this happen. If others are interested in PDFs and Servoy I will be glad to put together a sample file as part of my session at Servoy World.
Dean Westover