Commit 01c0b0dc authored by cmahajan's avatar cmahajan

For show report on jsp page on click link.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102395 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1d93a95a
......@@ -561,18 +561,27 @@ public class CustomGrid extends AbstractDataGrid<DataGridTableRowModel>
metadataName = splitArr[0];
linkFormat = splitArr[1];
dispFilterStatus = splitArr[2];
//F means open url in the frame
if(linkFormat.trim().length()>0 && linkFormat.trim().equalsIgnoreCase("F"))
{
buildGridFrame(metadataName,cellValue, propertyStr,urlStr,parameterListString,dispFilterStatus);
}
//P means open url in the new window
if(linkFormat.trim().length()>0 && linkFormat.trim().equalsIgnoreCase("P"))
{
Window.open("/ibase/dwh/GwtDashboardPage.html?metadataname="+metadataName+"&CELL_VAL="+cellValue.trim()+propertyStr+"&"+parameterListString+"&FLAG="+dispFilterStatus+"&P1="+urlStr+"&SALES_PERS="+firstIndex+"&FLAG=N", "_blank", "menubar=no,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=no,height=450,width=700,top=100,left=300");
}
//N means open url in the new tab
if(linkFormat.trim().length()>0 && linkFormat.trim().equalsIgnoreCase("N"))
{
Window.open("/ibase/dwh/GwtDashboardPage.html?metadataname="+metadataName+"&CELL_VAL="+cellValue.trim()+propertyStr+"&"+parameterListString+"&FLAG="+dispFilterStatus+"&P1="+urlStr,"", "");
}
/*Added by Chetan mahajan For show report on jsp page on click link on 1-July-2016 Start*/
if(linkFormat.trim().length()>0 && linkFormat.trim().equalsIgnoreCase("JSP"))
{
Window.open(metadataName+"&CELL_VAL="+cellValue.trim()+propertyStr+"&"+parameterListString+"&P1="+urlStr, "_blank", "menubar=no,toolbar=no,location=no,resizable=yes,scrollbars=yes,status=no,height=700,width=1000,top=200,left=200");
}
/*Added by Chetan mahajan For show report on jsp page on click link on 1-July-2016 End*/
//buildGridFrame(metadataName,cellValue, propertyStr,urlStr,parameterListString,dispFilterStatus);
}
}
......
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