[ https://issues.apache.org/jira/browse/OFBIZ-6312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559968#comment-14559968 ]
Forrest Rae commented on OFBIZ-6312: ------------------------------------ 1. I think this was a copy/paste error. I was following the format of the code in the "TextField" class to guide me in adding the necessary code to the "TextareaField". It should be: {code:java} Debug.logError("Could not parse the max-length value of the text element: [" + maxlengthStr + "], setting to null; default of no maxlength will be used", module); {code} 2. Not sure, that same code exists for "TextArea" class as well. Perhaps both areas (and others) need improvement. 3. Yea, probably a better Exception to catch. > Catalog Manager's EditProduct screen HTML should place a limit on the size of > text that can be entered in the Product Description box > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-6312 > URL: https://issues.apache.org/jira/browse/OFBIZ-6312 > Project: OFBiz > Issue Type: Improvement > Components: product > Affects Versions: Release Branch 14.12, Trunk, 12.04.05, 13.07.01 > Reporter: Forrest Rae > Assignee: Michael Brohl > Fix For: Trunk > > Attachments: OFBIZ-6312.patch > > > Catalog Manager's EditProduct and EditProductDup screens HTML should place a > limit on the size of text that can be entered in the Product Description box. > When more than 255 characters are entered an error is displayed. There is > no easy way of knowing when you've hit the 255 character max without the HTML > limiting it. > The patch I'm including changes the TextArea to include the maxlength > argument. This should be useful in other areas of the system. -- This message was sent by Atlassian JIRA (v6.3.4#6332)