[ 
https://issues.apache.org/jira/browse/OFBIZ-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906259#action_12906259
 ] 

Bruno Busco commented on OFBIZ-1425:
------------------------------------

Hi,
it seems that this feature does not allow to add an help string on form field 
titles that do not come from an Entity but from a Map.

For instance I would like to add the following in WebToolsUiLabels.xml:
    <property key="FieldDescription.useSoftReference">
        <value xml:lang="en">This property is used to specify whether soft 
references should be used for cache entries. Soft references help keep large 
caches from taking too much memory by allowing the garbage collector to clear 
these entries when more memory is needed. Possible values: true/false.</value>
    </property>

so that user can get help on the useSoftReference field when accessing 
https://localhost:8443/webtools/control/EditUtilCache

The FormFieldTitle_*** pattern, on the contrary, seems to be able to work on 
field titles that are not strictly related to entities field.

Shouldn't we follow a similar approach replacing the FieldDescription.*** with 
FormFieldDescription_***.
The field description is supposed to be used by an user that is in front of a 
field in a *form*  and not strictly in an *entity*.

What do you think about?

> Improve the ModelField.getDescription method
> --------------------------------------------
>
>                 Key: OFBIZ-1425
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1425
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: example.patch, example.patch
>
>
> Based upon discussion on the dev mailing list and in the OFBIZ-1387 issue, 
> modify the ModelField.getDescription method so it uses a more comprehensive 
> way to resolve a field description.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to