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

BJ Freeman commented on OFBIZ-2021:
-----------------------------------

Modelfield.java deals with 
ccInfo.columnSize
but does not make it  public value.
so 
textField.setMaxlength(modelField.getcolumnSize())

any input from anyone else
do you want to make a patch?

http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices


> ModelFormField.java does not use the type size to define the 
> textField.setMaxlength
> -----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2021
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2021
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: BJ Freeman
>
> uses
>                 textField.setMaxlength(Integer.valueOf(60));
> instead of  setting it to the size defined by the type.

-- 
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