Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.displaytag.localization: Javadoc index of package org.displaytag.localization.


Package Samples:

org.displaytag.localization

Classes:

I18nJstlAdapter: JSTL implementation of a resource provider and locale resolver. It will make the titleKey attribute of column tag works the same as fmt:message's key property . This tag must be the descendant of a fmt:bundle tag in order to use the titleKey. This is just a shortcut, which makes <display:column titleKey="bar"/> behave the same as <c:set var="foo"> <fmt:message key="bar"/> </c:set> <display:column title="${foo}"/> If you don't define either titleKey or titleKey property on your column, first the tag will attempt to look up the property property in your ResourceBundle. Failing that, ...
I18nResourceProvider: Interface for resource providers. Given a resourceKey and a defaultValue , a resource provider returns the String which should be displayed. For column headers resourceKey will be the value of the titleKey attribute, defaultValue will be the value of the property attribute. Different resource providers can be plugged using the displaytag.properties file.
I18nSpringAdapter: Spring implementation of a resource provider and locale resolver. Since Displaytag locale resolution is modelled on the Spring one, it simply forward resolveLocale calls to the Spring-configured LocaleResolver.
LocaleResolver: Handle the selection of the user locale. By default request.getLocale() is used, but specific implementations can use different way to determine the locale, for example looking at session variables or cookies.
I18nStrutsAdapter: Struts implementation of a resource provider and locale resolver. Uses Struts RequestUtils.getUserLocale() and TagUtils.message() for the lookup.
I18nWebworkAdapter: Webwork implementation of a resource provider and locale resolver.

Home | Contact Us | Privacy Policy | Terms of Service