Commit e689a8fd authored by pborate's avatar pborate

For Layout column.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184323 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0af5132d
...@@ -238,6 +238,10 @@ public class Pophelp implements java.io.Serializable ...@@ -238,6 +238,10 @@ public class Pophelp implements java.io.Serializable
} }
public String getLayout() { public String getLayout() {
if( layout == null )
{
layout = "{}";
}
return layout; return layout;
} }
......
...@@ -690,7 +690,7 @@ public class DashboardUtil ...@@ -690,7 +690,7 @@ public class DashboardUtil
filter.put("multi_opt", checkNull(pophelpData.getMultiOpt())); filter.put("multi_opt", checkNull(pophelpData.getMultiOpt()));
filter.put("key_string", checkNull(pophelpData.getSqlInput())); filter.put("key_string", checkNull(pophelpData.getSqlInput()));
filter.put("data_model_name", checkNull(pophelpData.getDataModelName())); filter.put("data_model_name", checkNull(pophelpData.getDataModelName()));
filter.put("layout", checkNull(pophelpData.getLayout())); filter.put("layout", new JSONObject( pophelpData.getLayout() ));
} }
else { else {
filter.put("is_pophelp", false); filter.put("is_pophelp", false);
......
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