Great news, Ivelin! > > +=============================================================+ > [|] Cocoon's new form handling solution just got more robust [|] > +-------------------------------------------------------------+ > [|] with the addition of two new tags - group and repeat. [|] > +=============================================================+
What tags else are supported? > > > The syntax and semantics for these tags was borrowed from the XForms spec. > > http://www.w3.org/TR/xforms/slice9.html#ui-group > http://www.w3.org/TR/xforms/slice9.html#ui-repeat > http://www.w3.org/TR/2002/WD-xforms-20020118/sliceE.html > > I would like to note that <repeat/> is a very powerful iterating tag, since > it unrolls over a nodeset resulting from its xpath selector. Flat > collections is the simplest type of things it can iterate over. > See the XForms repeat tag documentation to learn what you can do with it and > remember that since the underlying Form model can be a DOM node as well as a > JavaBean or even both mixed together, the data structures which can be > addressed and enumerated can be quite unconventional. > > The XMLForm demo in Cocoon Scratchpad was updated to show the use of group > and repeat. > > When you build the latest cocoon snapshot with scratchpad, > point your browsers to > > http://localhost:8080/cocoon/mount/xmlform/wizard.html If you add this to your xmlform/sitemap.xmap then your sample will be more user friendly ;) : <map:match pattern=""> <map:redirect-to uri="cocoon:/wizard.html"/> </map:match> > > > This addition mostly concludes my mission of implementing a server-side > XForms subset natively integrated in Cocoon. I am very interested to see where did you get with it. > > From here on, I will be looking for more feedback, suggestions for > improvement, performance enhancements, patches and very crital - user > documentation. > The code has relatively detailed javadoc, but any assistance with a HOWTO > document will be appreciated. > > Hopefully XMLForm can make it in the Cocoon 2.1 core distro if it gathers > enough votes. I am +1 for it. Expect more comments from me soon! -- Konstantin > > > Best wishes to all, > > > Ivelin > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]