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

Anuj commented on OFBIZ-6711:
-----------------------------

Hello [~pfm.smits], It seems that it only works if you are using 
EntityUtilProperty's getPropertyValue, and is not working if you are assigning 
any property value in the screen widgets using  <property-to-field>. 

Second thing, after adding the data, system still reads the some of the 
property value from .properties file instead from database. On based on my 
searching I think that getPropertyValue method calling takes wrong propertyName 
as an input parameter.
For eg. To have the default number of items to be displayed in lookup ajax 
autocompleter, we are calling the getPropertyValue method with the propertyName 
widget.autocompleter.defaultMinLength (having resourceId as the prefix). And by 
looking into the data, it should be autocompleter.defaultMinLength.

After discussing it with [~upadhyay.ratnesh], We concluded that it should be 
good to call the getPropertyValues with the propertyName which is not having 
any resourceId as the prefix.

> Have configuration options regarding widgets
> --------------------------------------------
>
>                 Key: OFBIZ-6711
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6711
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS, ALL COMPONENTS
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>         Attachments: OFBIZ-6711-widget.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to