Some little points:
- on the "onsubmit" of a form (or any onsubmit like in button,
submitlink, ajaxfallbackbutton, etc.) you don't need to verify the
validity: wicket does it for you, it firsts validate the form and then
call onsubmit if there is no error. Thus it means you can remove your
"v
.getOutputStream();
>> stream.write(pdfData.toByteArray());
>> stream.flush();
>> }catch(Exception ex){
>> throw new RuntimeException(ex);
>> }
>>
>> That results in an error like so...
>> [org.apache.wicket.protocol.http.WicketFilter] - closing t
Have a look at RequestCycle#setRequestTarget.
Additionnaly, you may have a look at SubmitLink, since the validation
step has nothing to do in the onClick of a link
jeredm wrote:
I am using FOP to create a PDF dynamically based on user input into a web
form. I don't have a problem creating th
hrow new RuntimeException(ex);
}
That results in an error like so...
[org.apache.wicket.protocol.http.WicketFilter] - closing the buffer error...
Any help would be appreciated! Thanks!
Jered
--
View this message in context:
http://www.nabble.com/Dynamic-PDF-Creation-tp21377725p21377725.html
Se