5.11 XForms Model Properties at a Glance


We conclude this chapter with a summary of the various model properties and their role in the overall XForms application in Table 5.2. For each property, we give a brief review of the motivating use cases.

Table 5.2. XForms Model Properties at a Glance

Property

Description

relevant

  • Model-based switching for conditional interfaces

  • Dynamically reveals appropriate portions of an interface

  • Enables controls based on state-of-instance data

required

  • Conditionally makes fields required

readonly

  • Conditionally edit data

  • Dynamic user interaction based on instance values

constraint

  • Refines static schema constraints

  • Constrains values based on previous user interaction

  • Expresses cardinality constraints on node-sets

calculate

  • Creates computational dependency among instance nodes

  • Automatically computes fields based on user input

  • Enables spreadsheet-like functionality within XForms

type

  • Extends schema type definitions

  • Useful when the schema cannot be modified

p3ptype

  • Holds P3P type information



XForms. XML Powered Web Forms with CD
XForms. XML Powered Web Forms with CD
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 94

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net