Comments? Feedback?

This wiki does not yet support public comments (a limitation of Google Sites), so we encourage you to post your comments either:

On Twitter by responding to @orbeon.

On our community mailing list: subscribe sending an email to ops-users-subscribe@ow2.org (content of subject/body doesn't matter), you'll get a response with the email to use to send your message to the community mailing list.

Recent site activity

XForms - Notes About Model Variables

2012-01-23 notes

Until now, model variables were re-evaluated lazily whenever the "default evaluation context" of a model (that is the root element of the default instance if present) was needed. This was evaluated too often.

As of now:
  • XFormsModel.getBindingContext() throws
  • XFormsModelSubmission.getBindingContext() throws
  • XFormsModel.getDefaultEvaluationContext() returns the default evaluation context as last computed
  • the default evaluation context and variables are computed when resetAndEvaluateVariables() is called:
    • binds
      • doRebuild()
      • applyCalculateBinds()
      • applyComputedExpressionBinds()
      • applyValidationBinds()
    • submission
      • doSubmit()
        • beginning of the submission
        • handleSubmissionResult()
      • doSubmitReplace()
        • before processing response of async submission
      • sendSubmitDone()
        • before dispatching
      • sendSubmitError()
        • before dispatching

2012-02-25 notes

Shadowing of model variables in the view has been fixed.

Until now, other model variables could incorrectly be seen in transparence. Say you had switched between model1 and model2, in the view you would see the following variables:
  • view variables up to switch to model2
  • model2 variables (incorrect)
  • view variables up to the top
  • model1 variables (incorrect)
Now, you see:
  • view variables up to the top
  • model2 variables