Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-529

Allow attached properties to be specified using elements in WTKX

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.1
    • wtk-wtkx
    • None

    Description

      Currently, it is possible to specify attached properties via attributes but not elements. For example, this is supported:

      <Form>
      <sections>
      <Form.Section>
      <Label text="Sample text" Form.flag="

      {messageType:'error', message="Error!"}

      "/>
      </Form.Section>
      </sections>
      </Form>

      but this is not:

      <Form>
      <sections>
      <Form.Section>
      <Label text="Sample text">
      <Form.flag>
      <Form.Flag messageType="error" message="Error!"/>
      </Form.flag>
      </Label>
      </Form.Section>
      </sections>
      </Form>

      This prevents callers from specifying an attached property using anything other than primitive values. WTKXSerializer should also allow a caller to specify an attached property as a complex type, as shown above.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gbrown Gregory K. Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: