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

Allow attached properties to be specified using elements in WTKX

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.1
    • Component/s: wtk-wtkx
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              gbrown Gregory K. Brown

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment