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 (18.104.22.168, 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>