[
https://jira.nuxeo.org/browse/NXS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=85268#action_85268
]
Stéphane Lacoin commented on NXS-314:
-------------------------------------
http://hgpriv.nuxeo.org/nuxeo-studio/log?rev=+NXS-314
> default values are not well supported
> -------------------------------------
>
> Key: NXS-314
> URL: https://jira.nuxeo.org/browse/NXS-314
> Project: Nuxeo Studio
> Issue Type: Bug
> Components: Layouts, Schemas
> Affects Versions: 1.5
> Reporter: Stéphane Lacoin
> Assignee: Stéphane Lacoin
> Priority: Major
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> The way of defining a default value to a fields is to define a 'default'
> attribute value in the schema. Studio is not taking in account the default
> attribute defined in the project at generation time.
> We should note also that the facelet properties 'value' should not be used in
> the layout at this moment. (generate exception when the layout is being used
> in the application).
> A workaround is to register a listener that will react to
> 'emptyDocumentCreated' events by setting properties with the default values.
> Impacted code is located in the method SchemaFeatureBuilder#createXSDFile
--
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