onRequest and res.stop();

"Andreas Schuh" <[email protected]>
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
hi list,

i try to stop executing the called action after onRequest() function.

code:

function onRequest() {
	if(!hasActionAccess('view', this)) {
		http403(); //render 403 page
		res.stop();
	}
}

but it seems there is no res object available in onRequest

TypeError: undefined is not a function.
(/srv/helma/apps/mazda_austria_guzza/code/HopObject/class.js; line 43)

is there a way to cancel execute the called action in onRequest()?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.