Is there someone who might be interested in the following: <map:match pattern="flowshow.html"> <map:act type="flowControler"> <map:parameter name = "flow" value = "a,b, c;d"/> <map:generate src="{nextpage}.xsp"/> <map:transform src="simple-page2html.xsl"/> <map:serialize/> </map:act> <map:redirect-to uri="flowerror.html"/> </map:match>
For example: b.xsp ================== <?xml version="1.0" encoding="ISO-8859-1"?> <xsp:page language="java" xmlns:xsp="http://apache.org/xsp"> <page> <title>B</title> <form action="flowshow.html"> <button label="Jump to A" command="jump(1)"/> <button label="Jump to C" command="jump(3)"/> <button label="Jump to D" command="jump(4)"/> <hr/> <button label="Prev" command="prev"/> <button label="Next" command="next"/> <button label="Start" command="Start"/> <button label="End" command="end"/> </form> </page> </xsp:page> The flow of xsp pages is set in the flow parameter. Pages are seperated with a , or ; You can jump to some position in the flow or you can just follow the flow with prev or next. Finally you can use start and end. I am thinking about giving it to the community, but only if people are interested. Because maybe you got something better or nobody wants to use it... regards, Edgar --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>