Theme IO: add support for list of string fields in fragments
------------------------------------------------------------

                 Key: NXP-4922
                 URL: https://jira.nuxeo.org/browse/NXP-4922
             Project: Nuxeo Enterprise Platform
          Issue Type: Improvement
            Reporter: Jean-Marc Orliaguet
            Assignee: Jean-Marc Orliaguet



*) Make it possible to use list of strings in fragment models, e.g.

@FieldInfo(type = "lines", label = "A list of things")
public List<String> things;
...

*) In the theme editor, add a "lines" type of input (textarea with one string 
by line)

*) list of strings are then serialized in the CSV format:

    <properties element="page[1]/section[1]/cell[1]/fragment[1]">
        <field>a,b,c</field>
    </properties>

there is already such a feature in FieldIO.java but it is not entirely 
implemented or even robust (commas are not escaped)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to