Could I accomplish the same functionality using an xpl for the view and calling the xforms output processor explicitly?
Assuming the you have implemented the transformation from <widget:MatrixView>...</ widget:MatrixView> to XForms elements in a pipeline called xforms-output-prologue.xpl, if you implement your view in an XPL file, assuming your current view XPL look like:
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"> <p:param name="data" type="output"/> ... <p:processor ...> ... <p:output ... ref="data"/> </p:processor> </p:config>
You can modify it and manually call your xforms-output-prologue.xpl (and you don't need to manually call the XForms Output processor):
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"> <p:param name="data" type="output"/> ... <p:processor ...> ... <p:output ... id="pre-prologue"/> </p:processor> <p:processor uri="oxf/processor/pipeline"> <p:input name="config" href="xforms-output-prologue.xpl"/> <p:input name="data" href="#pre-prologue"/> <p:output name="data" ref="data"/> </p:processor> </p:config>
Of course, the drawbacks are that all the views need to be modified and possibly changed into XPL files. If this is too much work, I don't think it's worth starting it, as I will send you a patch for this shortly.
Alex
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
