Hi,

I have a question about linking actions together.  In the Controller
documentation is states that you can have an infinite number of actions
per page, but it does not state how you can link actions together.

It seems logical that you might want to perform branching in the
controller.  Right now all examples of actions that I could find have
their results pointing to pages.  I tried having a result point to
another action within the page and got an "Error attribute "action" not
allowed at this point; ignored near
{http://www.orbeon.com/oxf/controller}result (schema:
http://www.orbeon.com/oxf/controller)" So I assume that this is not
possible. See below.

Is it possible for the result of an action to point to anything but
another page?

Thanks

Peter

         <action id="enter" when="/XFormsInstance/UserAction = 'next'"
action="../actions/new/newUserAction.xpl">    
            <result id="continueID" when="/SchematronValidation/Result =
'success'" action="actionID"/>
            <result id="retryID" when="/validationResult = 'fail'"/>
        </action>        
        <action id="actionID" when="/XFormsInstance/UserAction = 'next'"
action="../actions/new/testUserAction.xpl">    
            <result id="continueID" when="/SchematronValidation/Result =
'success'" page="newUser2ID"/>
            <result id="retryID" when="/validationResult = 'fail'"/>
        </action>
    </page>

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to