You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Upayavira <uv...@upaya.co.uk> on 2003/11/27 23:00:54 UTC

Cont ID in woody hidden field

How do I store my continuation ID in a hidden field in Woody.instead of 
in the URL? I'd like to keep my URLs clean so that a URL refers directly 
to a specific resource.

At present, the continuation ID gets into the form using:jxpath with:

<wt:form-template action="#{$continuation/id}.continue" method="POST">

So I presume I've got to use jxpath somehow somewhere else in my 
template, but where?

Thanks in advance,

Upayavira



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


Re: Cont ID in woody hidden field

Posted by Upayavira <uv...@upaya.co.uk>.
Carlos Chávez wrote:

> Hi Upayavira,
>
> try use <wt:continuation-id/> in the form-template and the woody template
> transformer generate something like this :
>
>  <input value="0d6c4e4013886a407eg96g44gg05704456a590e36" type="hidden"
>   name="continuation-id">
>  
>
Carlos - thanks. I didn't think it would be that easy!

Regards, Upayavira

> Cheers,
>
> Carlos,
>
>Upayavira Escribio :-)
>  
>
>>How do I store my continuation ID in a hidden field in Woody.instead of
>>in the URL? I'd like to keep my URLs clean so that a URL refers directly
>>to a specific resource.
>>
>>At present, the continuation ID gets into the form using:jxpath with:
>>
>><wt:form-template action="#{$continuation/id}.continue" method="POST">
>>
>>So I presume I've got to use jxpath somehow somewhere else in my
>>template, but where?
>>
>>Thanks in advance,
>>
>>Upayavira
>>
>>
>>
>>---------------------------------------------------------------------
>>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
>
>
>  
>



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


Re: Cont ID in woody hidden field

Posted by Ugo Cei <u....@cbim.it>.
Carlos Chávez wrote:
>  try use <wt:continuation-id/> in the form-template and the woody template
>  transformer generate something like this :

Huh, cool. I didn't know about this.

Added to the Wiki [1].

	Ugo

[1]: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyTemplateTransformer

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it


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


Re: Cont ID in woody hidden field

Posted by Carlos Chávez <cc...@agsoftware.dnsalias.com>.
 Hi Upayavira,

 try use <wt:continuation-id/> in the form-template and the woody template
 transformer generate something like this :

  <input value="0d6c4e4013886a407eg96g44gg05704456a590e36" type="hidden"
   name="continuation-id">

 Cheers,

 Carlos,

Upayavira Escribio :-)
> How do I store my continuation ID in a hidden field in Woody.instead of
> in the URL? I'd like to keep my URLs clean so that a URL refers directly
> to a specific resource.
>
> At present, the continuation ID gets into the form using:jxpath with:
>
> <wt:form-template action="#{$continuation/id}.continue" method="POST">
>
> So I presume I've got to use jxpath somehow somewhere else in my
> template, but where?
>
> Thanks in advance,
>
> Upayavira
>
>
>
> ---------------------------------------------------------------------
> 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