org.mentawai.i18n
Class I18nDisplaytagAdapter
java.lang.Object
org.mentawai.i18n.I18nDisplaytagAdapter
- All Implemented Interfaces:
- org.displaytag.localization.I18nResourceProvider, org.displaytag.localization.LocaleResolver
public class I18nDisplaytagAdapter
- extends Object
- implements org.displaytag.localization.I18nResourceProvider, org.displaytag.localization.LocaleResolver
Mentawai implementation of a resource provider and locale resolver.
- Author:
- Caio Oliveira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
I18nDisplaytagAdapter
public I18nDisplaytagAdapter()
resolveLocale
public Locale resolveLocale(javax.servlet.http.HttpServletRequest request)
- Specified by:
resolveLocale in interface org.displaytag.localization.LocaleResolver
getResource
public String getResource(String resourceKey,
String defaultValue,
javax.servlet.jsp.tagext.Tag tag,
javax.servlet.jsp.PageContext pageContext)
- Specified by:
getResource in interface org.displaytag.localization.I18nResourceProvider
findI18NInPageContext
protected I18N[] findI18NInPageContext(javax.servlet.jsp.PageContext pageContext)
loadI18NInPageContext
protected void loadI18NInPageContext(javax.servlet.jsp.PageContext pageContext)
Copyright © 2012. All Rights Reserved.