cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivelin Ivanov <ive...@apache.org>
Subject Re: FlowControleAction
Date Tue, 18 Jun 2002 02:41:50 GMT
What is the semantics of

"a,b, c;d" ?


Ivelin



Graaf, Edgar de (fin) wrote:
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 
> 



-- 

-= Ivelin =-


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message