You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/06/14 00:35:13 UTC
[jira] Created: (PIVOT-529) Allow attached properties to be
specified using elements in WTKX
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.
[jira] Resolved: (PIVOT-529) Allow attached properties to be
specified using elements in WTKX
Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown resolved PIVOT-529.
------------------------------
Resolution: Fixed
> 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.