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