cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karim ALKHADER <>
Subject Re: Re: Multipage forms and XML binding
Date Tue, 06 Jul 2004 08:38:28 GMT
Thank you for your answer and for the link.
Didn't change my model with union yet, but I think this will be fine.
I'm also thinking of another way to do this with a multipage form without 
exchange between client and server until the last page of the form.
Maybe I could use something like in the tabbed pane example...
As I don't exactly want to make the multipage looks like a tabbed pane 
other ideas would be welcome.



> Message du 03/07/04 14:13
> De : "Joerg Heinicke" 
> A :
> Copie à : 
> Objet : Re: Multipage forms and XML binding
> On 02.07.2004 14:03, Karim ALKHADER wrote:
> > I'm using Cocoon 2.1.5, I tried CForm and XMLBinding and this allows really powerfull
> > The problem I'm facing with is when I want to create an XML document from several
> > I did it having one form defintion file, several form template files and as many
binding files.
> > However I don't think this answer is convenient, it would be better to have only
one binding file 
> > (1 form definition, 1 XML document, 1 binding file).
> Think so too.
> > I didn't manage to do it because elements from model which are not in a form template
are consider 
> > to be null when saving (with something like "" in the flowscript)...
> > It's possible to make these elements hidden in the form but this is not convenient
> As their values are read from request though.
> > So I don't really know what to do, maybe there is something possible with fb:javascript

> > or fb:custom in the binding file...
> IMO that's not an issue of the binding, but of the form processing. You 
> must prevent the form from processing the widgets that are not available 
> at the moment. At the moment this is only doable using the union widget 
> ( The cases are then 'page1', 
> 'page2' and so on.
> > There is also the new flowscript API and an example with multipage form but nothing
about XML binding.
> > 
> > Thanks for any ideas.
> > Hope what I wrote was almost clear and correct.
> Yes, it was very clear :)
> Joerg
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message