Open Core
Tag limit


Custom tag to intelligently limit the length of a text to certain length. If the length of the string needs to be limited, it will be cut if possible on a word boundary and a ... will be appended to the end.

Example:
<core:limit limit="45"><%=data.getName()%></core:limit>


Tag Information
Tag Classorg.opensubsystems.core.www.StringLimitTag
TagExtraInfo ClassNone
Body ContentJSP
Display Namelimit

Attributes
NameRequiredRequest-timeTypeDescription
limittruetruejava.lang.StringNumber representing the length to limit the text present in the body of the tag to.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.