Hello,
 
I have several pages (PageA, PageB, etc) all them with the same forms
fields. 

As I have a lot of them I want to define only one template-transformer and
include the result of same cform pipeline into each Page. But after the user
submit the form I want to go to different pages depended of current context.

PageA:submit -> PageA (with some minor changes)
PageB:submit -> PageB (with some minor changes)
PageC:submit -> PageC (with some minor changes)

So my idea was to put the action attribute with value of some request
parameter, but I don't know how to do it.

As I see in documentation that JXPath has the objects continuation,
requests, session and parameters available I though I can use it, but I
don't know  how. I try a lot of possibilities but it seems only child 'id'
is allowed under that objects.

<ft:form-template action="#{$request/MY_PARAMEYTER_VALUE}" method="post"
xmlns:ft="http://apache.org/cocoon/forms/1.0#template";
xmlns:fi="http://apache.org/cocoon/forms/1.0#instance";
xmlns="http://www.w3.org/1999/xhtml";>
....
</ft:form>

Can you help me please.

Thanks in advance

Isidro Vila Verde
email:[EMAIL PROTECTED]
web: http://serprest.pt/
tel: 223743701
tel: 969103006 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.672 / Virus Database: 434 - Release Date: 28-04-2004
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to