cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: test if <map:read> was successful?
Date Wed, 16 Jul 2008 14:53:09 GMT
Take a look at the ResourceExistsSelector [1] This selector can test whether a resource exists
and you can base your handling of it on that.



Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem

-----Original Message-----
From: Nick McDonald []
Sent: Wed 7/16/2008 16:23
Subject: test if <map:read> was successful?
I'm using <map:read> to send a file. I use cocoon.sendPage() in my 
flowscript to initiate the transfer; once the transfer is complete, I 
need to "return" to the flowscript and possibly perform some additional 
actions, depending on whether the file was successfully transferred.

As it stands now, the additional action gets executed regardless of 
whether I cancel the download, it fails, etc. Is there anything I can do?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message