cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <nickl...@planet.nl>
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.

[1] http://cocoon.apache.org/2.1/userdocs/resourceexists-selector.html

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



-----Original Message-----
From: Nick McDonald [mailto:nickm@fluxcorp.com]
Sent: Wed 7/16/2008 16:23
To: users@cocoon.apache.org
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?

Thanks,

Nick


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



Mime
View raw message