I would use an event link. From the event handler you should be able to return a StreamResponse (which could be the PDF) or a Zone which would bring up the Modal.
On Wed, Nov 27, 2013 at 8:52 AM, Vasili Petrenko < vasili.petre...@devintime.de> wrote: > Scenario: > > > Someone clicks on the actionlink and want to download a PDF. But if there > is > no data, I want show a Modal Box and offer a further suggestion. > > If data exists then download the PDF file. > > How can I do that? > I am new on Tepastry. > > > >