[seam-issues] [JBoss JIRA] Updated: (SEAMXML-25) Introduce s:values tag

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Wed Mar 16 00:23:48 EDT 2011


     [ https://issues.jboss.org/browse/SEAMXML-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Bryzak updated SEAMXML-25:
--------------------------------

    Fix Version/s: Future
                       (was: 3.0.0.Final)


> Introduce s:values tag
> ----------------------
>
>                 Key: SEAMXML-25
>                 URL: https://issues.jboss.org/browse/SEAMXML-25
>             Project: Seam Config
>          Issue Type: Feature Request
>          Components: XML Provider
>    Affects Versions: 3.0.0.Beta1
>            Reporter: Jozef Hartinger
>            Assignee: Stuart Douglas
>            Priority: Minor
>             Fix For: Future
>
>
> Currently, it is quite verbose to populate a collection with configured object instances using the XML module.
> For example:
> Foo is a class having a collection (bars) of Bars
> <e:Foo>
>    <e:bars>
>       <s:value>
>          <e:Bar id="1"/>
>       </s:value>
>       <s:value>
>          <e:Bar id="2"/>
>       </s:value>
>       <s:value>
>          <e:Bar id="3"/>
>       </s:value>
>       <s:value>
>          <e:Bar id="4"/>
>       </s:value>
>    </e:bars>
> </e:Foo>
> If the s:values tag is introduced, it'll make the configuration less verbose
> <e:Foo>
>    <e:bars>
>       <s:values>
>          <e:Bar id="1"/>
>          <e:Bar id="2"/>
>          <e:Bar id="3"/>
>          <e:Bar id="4"/>
>       </s:values>
>    </e:bars>
> </e:Foo>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list