Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces ace:textAreaEntry
-
Assignee Priority:P2
-
ICEsoft Forum Reference:
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
In order to provide a more convenient way to restrict the maximum length of the value of an ace:textAreaEntry a new "maxlength" attribute should be added.
This attribute would optionally accept an integer value to specify the maximum number of characters that may be entered in this field.
This attribute would optionally accept an integer value to specify the maximum number of characters that may be entered in this field.
Done based on above, but using jQuery and keyup event. keydown will cause one-off problem because input character is not in value yet. Ditto keypress. (Then change event is not required? Not 100% sure. Kept it just in case.)
M: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\resources\icefaces.ace\textareaentry\textareaentry.js#33210
M: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\textareaentry\TextAreaEntryMeta.java#33210
M: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\textareaentry\TextAreaEntryRenderer.java#33210