{
log.error("QueryFieldsService::initJclDialog - Parameters are not valid");
return Response.ok(i18n.getText("queryfields.error.notvalidparms")).status(500).build();
}
XsrfTokenGenerator xsrfTokenGenerator = ComponentManager.getComponentInstanceOfType(XsrfTokenGenerator.class);
String atl_token = xsrfTokenGenerator.generateToken(req);
Map<String, Object> params = new HashMap<String, Object>();
params.put("i18n", authCtx.getI18nHelper());
params.put("baseUrl", Utils.getBaseUrl(req));
params.put("atl_token", atl_token);