Tutorial Questions

Posted by Salamon Mark on
URL: https://discuss.orbeon.com/Tutorial-Questions-tp30743.html

I am basing this email on the existing Tutorial, which I know is outdated.

(1) Starting on page 13, an <action/> element is added to the xml instance, in order to store the action taken by the user so the appropriate successor page can be selected.  This seems a bit kludgy.  I view the xml instance as a pure business object, storing on the data that I want to use for my business.  I shouldn't be forced to add additional information that controls simply the page flow for a given session.  Instead, either a separate action instance object should be declared and used or OPS should embed an implicit forward name that can be accessed by the next process.

(2) Similarly, as shown on page 14, when one process ends up with an xml instance, the only way to "pass" this instance on to the next process in the pipeline is to create an empty instance and then populate it, using value-of, with the values from the previous process.  There should be an easier way to give a name to the xml instance in the first process and simply reference it in the 2nd instance, without the addtl overhead.  I believe something like this is shown later on in the tutorial.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws