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

Anuj edited comment on OFBIZ-6711 at 4/16/16 2:10 PM:
------------------------------------------------------

Hello [~pfm.smits], It seems that it only works if you are using 
EntityUtilProperty's getPropertyValue, and 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 some of the property 
value from .properties file instead from database. On based on my searching, I 
think that getPropertyValue method takes wrong propertyName as an input 
parameter on calling.
For eg. To have the default number of items to be displayed in lookup ajax auto 
completer, we are calling 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 getPropertyValue with the propertyName which is not having any 
resourceId as the prefix.


was (Author: anuj.jain):
Hello [~pfm.smits], It seems that it only works if you are using 
EntityUtilProperty's getPropertyValue, and 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 some of the property 
value from .properties file instead from database. On based on my searching, I 
think that getPropertyValue method takes wrong propertyName as an input 
parameter on calling.
For eg. To have the default number of items to be displayed in lookup ajax auto 
completer, 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 getPropertyValue 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