Tag handler for <locales>
LocalesTag localesTag = (LocalesTag) findAncestorWithClass( this, LocalesTag.class ); if ( localesTag == null ) { throw new JspTagException( "defaultLocale bust be inside locales"); } return localesTag.getCurrent().equals( defaultLocale );