On 6/6/06, Dezbah Duchicela <[EMAIL PROTECTED]> wrote:
What about not using Cforms but instead forms using external handlers and then using sourcewritingtransformer to take the information to generate xml file. Would this work?
Yes. I have a simple application: - Control page shows document choices. - An XSLT transforms the document to a form for display. - Submit pipeline uses post.xsp (get the POST data as XML), XSLT transform, SourceWritingTransformer to save data as an XML file, and returns to the first pipeline to regenerate the form. Security is handled by the XMAP (who can access the application, and their edit abilities) and the XSLT (which fields a specific visitor can edit and save based on their edit abilities). There are also "Exit" and "Printable version" links. The three options from my previous post are not exclusive. You could use CForms to generate the form and basic validation, Flow for process control and advanced validation, and the SourceWritingTransformer to write the files (with XSLT and maybe my post.xsp.) Or you can create your own forms as HTML, XML, and/or XSLT files. (HTML is a poor choice if you need i18n.) Or you can write client-side JS for validation (although a cracker could bypass it.) Or Flow can write the files. (Requires tons of code, but more control, and better if you prefer writing JS rather than XSL.) Lenya (and Cocoon) provide options. You pick the technologies with which you are most comfortable. solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
