Commit 79e6e248 authored by abibave's avatar abibave

Changes for issue of getting incomplete value in drilldown for parameter containing '&' in it.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104751 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3171b167
...@@ -537,6 +537,11 @@ public class CustomGrid extends AbstractDataGrid<DataGridTableRowModel> ...@@ -537,6 +537,11 @@ public class CustomGrid extends AbstractDataGrid<DataGridTableRowModel>
int count=0; int count=0;
String cellValue=""; String cellValue="";
cellValue = tableCell.getInnerText(); cellValue = tableCell.getInnerText();
//Added by Aniket on 24-02-2017 Start
if(cellValue.contains("&")){
cellValue = cellValue.replaceAll("&", "and");
}
//Added by Aniket on 24-02-2017 End
String period =parameterList.get(1); String period =parameterList.get(1);
for (FilterInfo filterInfo : filterList) for (FilterInfo filterInfo : filterList)
{ {
...@@ -562,6 +567,11 @@ public class CustomGrid extends AbstractDataGrid<DataGridTableRowModel> ...@@ -562,6 +567,11 @@ public class CustomGrid extends AbstractDataGrid<DataGridTableRowModel>
Element spanElemt = tdCell.cast(); Element spanElemt = tdCell.cast();
String colName= spanElemt.getElementsByTagName("div").getItem(0).getAttribute("colname"); String colName= spanElemt.getElementsByTagName("div").getItem(0).getAttribute("colname");
String colval= spanElemt.getElementsByTagName("div").getItem(0).getAttribute("title"); String colval= spanElemt.getElementsByTagName("div").getItem(0).getAttribute("title");
/*added by Aniket on 24-02-2017 for issue of getting incomplete value in drilldown Start*/
if(colval.contains("&")){
colval = colval.replaceAll("&", "and");
}
/*added by Aniket on 24-02-2017 for issue of getting incomplete value in drilldown End*/
parameterListString = parameterListString + "&" + colName.trim() + "=" + colval.trim(); parameterListString = parameterListString + "&" + colName.trim() + "=" + colval.trim();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment