@SuppressWarnings("unchecked")
@Override
public void encodeBegin(FacesContext context) throws IOException {
try {
Map<String,Object> a = getAttributes();
ContextConfig contextConfig = CdiService.getContextConfig();
AdaptrexConfig adaptrexConfig = CdiService.getAdaptrexConfig();
Map<String,Object> extConfig = new HashMap<String,Object>();
if (adaptrexConfig.get("ext") != null) {
extConfig.putAll((Map<String,Object>) adaptrexConfig.get("ext"));
}
if (contextConfig.get("ext") != null) {
extConfig.putAll((Map<String,Object>) contextConfig.get("ext"));
}
/*
* If we're configuring Ext, do it here
*/