Why not return an ILink from the listener ?
http://tapestry.apache.org/tapestry4.1/usersguide/listenermethods.html
Not sure about others, but I don't think this will work for
me. I'm generating a PDF inside my listener, which I then
wish to send to the client as a download. Any
Yep. That's exactly how I have done it in the past.
On 1/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Why not return an ILink from the listener ?
http://tapestry.apache.org/tapestry4.1/usersguide/listenermethods.html
Not sure about others, but I don't think this will work for
It would be nice if you could return Object from a listener and let
Tapestry figure it out. Having to pick between ILink and IPage at
compile time is a bit of a problem.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I am very intrested! Please share your code
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von James Carman
Gesendet: Mittwoch, 10. Januar 2007 02:32
An: Tapestry users
Betreff: Re: download a file
Let me know if Shing's example (it looks to be
Holger,
This is what I did, perhaps it'll give you some hints on how to fix your
problem:
SomePage.html
...
input type=button value=Download PDF Report onClick=serviceLink()/
...
script type=text/javascript
function serviceLink() {
window.location='span jwcid=@Insert value=ognl:serviceURL
how about putting the file in some location the user can access directly
(htdocs of webserver) and just render a link with the name of your file?
-Ursprüngliche Nachricht-
Von: Edoardo Campagnano [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 9. Januar 2007 15:29
An: