Anahide Tchertchian a écrit :
> Hi,
>
> [EMAIL PROTECTED] a écrit :
>>> http://lists.nuxeo.com/pipermail/ecm/2007-June/002322.html
>>>> but you don't specify how are that label strings supposed
>>>> to be refered to in messages.properties.... maybe
>>> myschema.myfield=My label string for the field?
>>>
>>> If you customize the template you can adopt the naming
>>> strategy that suits ou the best. I agree that the current
>>> hardcoded convention is really limiting.
>>
>> i've explain myself bad! im not critizing current hardcoded
>> convention because I don't know that convention, please
>> specify it...
>>
>> if I have a schema named pa tient with a filed named 'age' I
>> have to put the label in my messages_xx.properties as
>> patient.age=Patient age ?
>
> You can add an attribute label="patient.age" to your widget
> configuration. otherwise by default the field name will be used so you
> would have to put "age=Patient age" in your messages.properties file.
Thanks for providing the details. I think it would be better if the new layout
system had default like:
label.widget.${fieldName} or even label.widget.${schemaName}.${fieldName}.
Best,
--
Olivier
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm