cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beyaNet <>
Subject No function nor continuation given in <map:call function>
Date Mon, 11 Oct 2004 16:07:42 GMT
I am getting the above mentioned error and I don't understand why. The  
problem is occurring because a continuation id is not being generated  
when I call the page login.xml:


now the funny thing about this error message is it is intermittent. It  
also seems to occur if i have loaded the page but the browser has been  
idle for a few minutes. Is there a timeout period on continuation ids?

If I shutdown the browser and then reload the site the problem seems to  

What is the issue here. I have included snippets from my sitemap and  
login.js file respectively.

Any ideas on this issue will be greatly appreciated

thanks in advance


<!-- ================= -->
<!-- Simple login page -->
<!-- ================= -->
<map:match pattern="login.xml">
	<map:call function="login"/>

function login() {
	userGlobal = null;
	while (true) {
		//Load in login page
		cocoon.sendPageAndWait("unprotected.xml", {"msg":msg,  
		msg = null;
		//read in details...
		try {
			userGlobal =  
		}catch(e) {
			msg = "Incorrect username or password. Please re-enter.";
	//Create session variable
	//Assign user object into session variable
	//Redirect user to registered area of site
	cocoon.sendPage("registered_section1.xml", {"msg":msg,  

<map:generator label="content,data" logger="sitemap.generator.jxt"  
name="jxt" src="org.apache.cocoon.generation.JXTemplateGenerator"/>

			<map:match pattern="unprotected.xml">
				<map:generate type="jxt" src="jx/home.jxt"/>
				<map:transform type="cinclude"/>
				<map:transform type="xslt" src="style/home.xsl"/>
				<map:call resource="serialize"/>
View raw message