Locale taglib ver. 1.1

    Custom JSP tags. This taglib lets you work with Locales.

For example:
 


<%@ taglib uri="taglib.tld" prefix="loc" %>
<html>

<loc:Locales name="a"/>

</html>

and you will get some like this:

Tags are:

IfLocaleExists

Body tag executes own body if locale exists. Parameters are:

1) code describes a code for the locale. Code has got the following format: language_CountryCode. E.g. en_US.

IfNoLocaleExists

Body tag executes own body if no locale exists. Parameters are:

1) code describes a code for the locale. Code has got the following format: language_CountryCode. E.g. en_US.

Locales

Displays drop down list that lets you select locales. Parameters are:

1) name name for HTML control.
2) selected Optional parameter. Describes a selected (default) value.
3) autoSubmit Optional parameter. Possible values are true and false. Enables/disables form submission after selection. Default value is false (disabled).
4) id Optional parameter. Describes a CSS/DHTML id.
 

for downloading:

    Library: localetag.jar    Description: taglib.tld

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: