Hi Erik,
Thanks it does. I think that there are discrepancies between what is in the tutorial disagrees with the online documentation:
* Pipeline outputs: Exactly 0, 1, or 2 outputs can be declared.
The root element of a XPL document (config) defines:
* Zero or more input or output parameters to the pipeline with <p:param>
No limit specified on the number of inputs or outputs.
* A model with 0 output exists for side-effect reasons only, for example recording an entry in a log. It does not pass data to the page view.
* If the model does want to pass data to the view, it must declare an output called data, which is declared as follows: <p:param name="data" type="output"/>. XML that is output by a model pipeline on its data output will be automatically connected to the view's data input.
* In some cases, a model needs to modify the XForms instance before the view accesses it. In this case, the model should declare an output called instance, which is declared as follows: <p:param name="instance" type="output"/>."
The <p:param> element defines what the inputs and outputs of the pipeline are. Each input and output has a name. There cannot be two inputs with the same name or two outputs with the same name, but it is possible to have an output and an input with the same name. Every input name defines an id that can be later referenced with the href attribute such as when connecting processors. The output names can be referenced with the ref attribute on <p:output> .
No specification that there are restricted names on the inputs or outputs. In fact, how would the <p:param type="output" name="bar"/> in the example be referenced; not by:
<p:output name="data" ref="bar"/>
but by:
<p:output name="bar" ref="bar"/>
so the ref attribute is not really a connector mapping an output from a processor to the output of pipeline as I had thought it was?
Cheers,
Matthew
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user
