cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beya! <and...@jibeya.com>
Subject Flow continuation error
Date Tue, 16 Nov 2004 18:23:59 GMT
Ok,
i'm completely lost with this one. I have a line of code which should  
take me back to the page I have just come from:

<input type="submit" name="prev" value="Back"  
onClick="document.forms[0].action='#{$cocoon/continuation/ 
previousBookmark/id}.continue';document.forms[0].submit()"/>

but when the page loads I get the follwoing error message, why?:

cause: org.apache.commons.jxpath.JXPathException: No value for xpath:  
$cocoon/continuation/previousBookmark/id

full exception chain stacktrace[hide]

Original Exception: org.apache.commons.jxpath.JXPathException: No value  
for xpath: $cocoon/continuation/previousBookmark/id
	at  
org.apache.cocoon.generation.JXTemplateGenerator.call(JXTemplateGenerato 
r.java:3124)
	at  
org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGener 
ator.java:3610)
	at  
org.apache.cocoon.generation.JXTemplateGenerator.performGeneration(JXTem 
plateGenerator.java:2979)
	at  
org.apache.cocoon.generation.JXTemplateGenerator.generate(JXTemplateGene 
rator.java:2970)
	at  
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process 
XMLPipeline(AbstractProcessingPipeline.java:545)
	at  
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe 
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:173)
	at  
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process 
(AbstractProcessingPipeline.java:490)
	at  
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke( 
SerializeNode.java:120)
	at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:72)
	at  
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(Sel 
ectNode.java:97)
	at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:72)
	at  
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(Containe 
rNode.java:31)
	at  
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallN 
ode.java:93)
	at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:49)
	at  
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i 
nvoke(PreparableMatchNode.java:130)
	at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:72)
	at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P 
ipelineNode.java:126)
	at  
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode. 
invokeNodes(AbstractParentProcessingNode.java:72)
	at  
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke( 
PipelinesNode.java:101)
	at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro 
cessor.java:336)
	at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.handleCocoonRed 
irect(TreeProcessor.java:386)
	at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.access$000(Tree 
Processor.java:66)
	at  
org.apache.cocoon.components.treeprocessor.TreeProcessor$TreeProcessorRe 
director.cocoonRedirect(TreeProcessor.java:547)
	at  
org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirect 
or.java:58)
	at  
org.apache.cocoon.components.flow.AbstractInterpreter.forwardTo(Abstract 
Interpreter.java:182)
	at  
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpret 
er.forwardTo(FOM_JavaScriptInterpreter.java:837)
	at  
org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.forwardTo(FO 
M_Cocoon.java:1482)
	at  
org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsFunction_s 
endPage(FOM_Cocoon.java:265)

regards

Andrew

Mime
View raw message