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

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Tue Feb 1 09:01:40 EST 2011


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

Jozef Hartinger updated SEAMXML-25:
-----------------------------------

         Assignee: Stuart Douglas
    Fix Version/s: 3.0.0.Beta3
      Component/s: XML Provider


Assigning to get some attention as this would be very nice for seam-rest. Feel free to postpone if needed, though.

> 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: 3.0.0.Beta3
>
>
> 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