Introduce s:values tag
----------------------

                 Key: SEAMXML-25
                 URL: https://issues.jboss.org/browse/SEAMXML-25
             Project: Seam Config
          Issue Type: Feature Request
    Affects Versions: 3.0.0.Beta1
            Reporter: Jozef Hartinger
            Priority: Minor


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

        
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to