I need to generate a pdf at the end of a series of state transitions. Scanning the documentation indicates that a 'null view' seems to be the correct way to do this (220.127.116.11, seems almost to have an example). I can see how to create the 'null view', but I'm unsure how the create the associated action bean.
Can anyone provide an example action that would write the content to a binary stream?
<view-state id="displayPdf"> <render-actions> <action bean="pdfWriter" method="write"/> </render-actions> </view-state>