cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Sparkes <pe...@didm.co.uk>
Subject Re: CForms - Binding to one of Multiple Records
Date Sat, 29 Apr 2006 22:26:08 GMT
Hi Ben,

Thank you - but I don't know how to get the "recordId" from the pipeline 
into the binding document. Can you please help

Peter


> On 28/04/06, Peter Sparkes <peter@didm.co.uk> wrote:
>
>> Hi
>>
>> I have an xml file containing multiple records of identical structure -
>> I want to use CForms  to allow uses to update individual records,
>> selected by its ID.
>>
>> Please, is it possible to bind a CForm to one of many records in the
>> file and if so how?
>
>
> If you serve the binding file through a pipeline then you can
> customise the path:
>
> <fb:context xmlns:fb="http://apache.org/cocoon/forms/1.0#binding"
> path="/records/record[@id=$(recordId)]" >
>
> recordId can be a parameter passed in from the sitemap.
>
> Ben Pope
> -- 
> I'm not just a number. To many, I'm known as a string...


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


Mime
View raw message