Hi,
You have to do the following:
1) Create a Custom tag which will extend inputTextAreaTag and add Maxlength as one of the member
2) in setproperties(UIComponent component) method, first call super.setProperties(component) and then add the maxLength as one of the attributes for component as component.getAttributes().put("maxLength", maxLength);
3) Return the renderer that you are using from getRendererType method
4) In your renderer's encodeBegin method, get the attribute from the component. So now you have the maxLength handy and use maxLength as required.