[daisy] Custom part editor - first attempt
Valerie Nyre
valerie at nyre.de
Wed Jul 23 10:18:55 CEST 2008
Hello
Can you spend just a few words, and only indicate in short - whether it
is possible - and which methods might make sense to use?
The problem at hand:
I plan to use the forms binding to "stream" the contents of a Daisy part
into a Cocoon form. The part should be of text/xml.
In my first attempt, I see that the Daisy load operations only load
single fields - that is: the complete contents of the part is totally
filled into each field.
The reason might be that Daisy only provides a method that loads the
complete part data into one form field.
I hope it is possible to use the Cocoon forms binding framework, but I
do not know yet how to activate this from within a custom part editor...
Can you indicate the necessary actions to take - or at least what I
should be aware of?
Or do I have to use flow control and then pass the part data to the
Cocoon pipeline to get the forms binding to work?
But then again: How can I communicate or use some binding manager to
1. fill the form fields (do I have to parse the part content myself or
can I let the Cocoon forms binding do it? )
2. get validation results from the binding framework
3. tell Daisy to save each form into a part if no validation problems
remain.
thank you
Valerie Nyre
More information about the daisy
mailing list