cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Thermos <mther...@gmail.com>
Subject Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)
Date Thu, 28 Jul 2005 14:37:13 GMT
Hallo. Again.

I'm using JXTemplateGenerator to pass values from the form to the
results page.Here is a bit of code:
     <map:match pattern="*-success-pipeline.jx">
       <map:generate type="jx" src="forms/{1}_success_jx.xml"/>
       <map:call resource="simple-page2html">
         <map:parameter name="file" value="forms/{1}_success_jx.xml"/>
       </map:call>
       <map:serialize/>
     </map:match>

My results page from a cform(that is after submiting the form) has an url like
http://localhost:8080/cocoon/test/6267201137490a377a5f79257a3810544b391352.continue

I'm trying to use a genarator  like
<map: generate type="html" src="#{$cocoon/continuation/id}" />
to pass my results page to xhtml.
The problem is i keep getting (Access is denied) error. 

Also tried 
<map: generate type="html" src="#{$cocoon/parent/continuation/id}" />
and it didn't work.

How can i access a results page after submitting a form??? 
I really need to do this so that later i can pass the xhtml to xsl-fo.



Thanks,
M.Thermos




On 7/26/05, Joerg Heinicke <joerg.heinicke@gmx.de> wrote:
> On 26.07.2005 19:55, Michael Thermos wrote:
>
> > I just found a new html2xhtml(from docbook project) file which seems
> > to be working. The problem i stated previously i believed was dued to
> > calling a new pipeline before finishing the application control flow
> > with cocoon.sendPage(cocoon.sendPage("test-success-pipeline.jx",
> > bizdata);)
>
> As already written in the original thread there is no need or even use
> for a html2xhtml stylesheet. You only need a HTMLGenerator. I really
> wonder what this stylesheet is about.
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message