So this is taking the xforms-instance generated by the forms submit and
creating a "null-serializer" to process the input that simply dumps it
to the console. Before I continue with my explanation resulting in my
current problem I would like to know if you could point me to the
documentation on the available processor factories that outlines how to
reference them the parameters that they take and what their
functionality is. I read the User Guide and the "Processor Reference"
but still feel I need more.
Greg, your description of the whole process is accurate. The processors are really described in the "processor reference" section of the documentation. You can also look for how a given processor is used in the examples. And of course, if you need additional information, there is always this mailing list.
[...] Is this right, content is dumped to the console but the page does not change in the browser? If I have been correct so far this is where I am lost.
If you want to change what is displayed in the browser, you need to modify the view. In your example, the view is just a static XML file. If you want the view to be dynamic, it needs to be either an XSL, or an XPL file. In most cases XSL will be enough. In your example, I renamed xform-view.xml to xform-view.xsl, and added the necessary declarations so it is a valid XSL file. The input of this XSL is the XForms instance. So I modified this file to display the credit card number the user just entered (see the attached archived).
Also in Struts form processing I always build a EditXXXFormAction and a SaveXXXFormAction. With OXF does every form "Action Event" need to be defined in a editModel.xpl and saveModel.xpl? Once I figure out why I don't get output to the browser I want to edit an XML Instance and load the xform with the instance data. How would that be achieved?
The form will be automatically populated with the content of the instance. So if the end user enters some data in the form, clicks "submit", and comes back to the same page, by default the form contains the data that he just entered.
Can anyone point me to a xforms tag lib documentation?
You can look at the XForms examples. XForms controls are divided in 3 sections: text controls, selection controls, and submit controls. Each page shows the control and the corresponding XML.
Alex
myapp-resources.zip
Description: Zip compressed data
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
