Sunday, June 12, 2011

How to find the content length of the af:inputvalue ?

This use case is, how to disable a component based on the length of the value in the inputvalue , or to find the length of inputvalue.

import the tag library in the page if you are using these functions

xmlns:fn="http://java.sun.com/jsp/jstl/functions"

JSTL functions like contains(),length(),toLoweCase(),toUpdderCase() and so on, we can use those in the jspx pages as well, for more functions see the link

You can download the sample here

Go through for more details about jstl functions

http://download.oracle.com/docs/cd/E17802_01/products/products/jsp/jstl/1.1/docs/tlddocs/fn/tld-summary.html

No comments:

Post a Comment