@Override public String getResult(String target, Object context) { FacesContext faces = null; if (context instanceof FacesContext) { faces = (FacesContext) context; } else { return null; } String theme = (String) faces.getExternalContext().getRequestMap().get(getProperty("negotiatedPageVariable")); if (theme != null) { ThemeStylingService service = Framework.getService(ThemeStylingService.class); return service.getDefaultFlavorName(theme); } return null; } }