resultInfo = analysisManagementService.queryCubeDimMeta(request.getParameter("cube_id"));
}
return SUCCESS;
}
public String queryDimTreeMeta(){
AnalysisManagementService analysisManagementService = (AnalysisManagementService)StorageService.ctx.getBean("analysisManagementService");
if(analysisManagementService!=null){
if(request.getSession()!=null){
Object localeObj = request.getSession().getAttribute(WebVariable.I18N_ATTRIBUTE_NAME);
if(localeObj==null){
localeObj = DEFAULT_LOCALE;
request.getSession().setAttribute(WebVariable.I18N_ATTRIBUTE_NAME,localeObj);
}
resultInfo = analysisManagementService.queryDimTreeMeta(request.getParameter("dim_id"),(Locale)localeObj);
}else{
resultInfo = analysisManagementService.queryDimTreeMeta(request.getParameter("dim_id"),DEFAULT_LOCALE);
}
// localeObj = request.getHeader(WebVariable.I18N_ATTRIBUTE_NAME);
// localeObj = request.getParameter(WebVariable.I18N_ATTRIBUTE_NAME);
}
return SUCCESS;