I can not return a zone on submit event. To return a zone you need a ajax
request. Or? (Maybe code example)
By ajax submit you can not return a StreamResponse. 

And if it work how can i bring up the jquery modal box?

-----Ursprüngliche Nachricht-----
Von: Barry Books [mailto:trs...@gmail.com] 
Gesendet: Mittwoch, 27. November 2013 16:41
An: Tapestry users
Betreff: Re: switch Modal Box

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.
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to