Allow attached properties to be specified using elements in WTKX
----------------------------------------------------------------
Key: PIVOT-529
URL: https://issues.apache.org/jira/browse/PIVOT-529
Project: Pivot
Issue Type: Improvement
Components: wtk-wtkx
Reporter: Greg Brown
Priority: Minor
Fix For: 1.5.1
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.