appName = super.getName();
getSecuritySettings().setAuthenticationStrategy(new OmAuthenticationStrategy());
IPageSettings pageSettings = getPageSettings();
pageSettings.addComponentResolver(new MessageResolver());
pageSettings.addComponentResolver(new MessageTagHandler());
getMarkupSettings().setMarkupFactory(new MarkupFactory(){
@Override
public MarkupParser newMarkupParser(MarkupResourceStream resource) {
MarkupParser mp = super.newMarkupParser(resource);
mp.add(new MessageTagHandler());
return mp;