-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
In my view model
I have attempted the following logic
Map<string, object=""> arguments = new HashMap<string, object="">();
arguments.put("detailsPojo", pojo);
arguments.put("scDetailPojo", scPojo);
arguments.put("bindVarPojoParam", selectedRecord);
arguments.put("parentSubBindVarPojoParam", editRecord);
arguments.put("subBindVarPojoParam", subBindVariable);
BindUtils.postGlobalCommand(null, null, "openSubBindVarDetailsView2", arguments);
The page does not reload.
I have also tried this
Execution exec = Executions.getCurrent();
HashMap arguments = (HashMap)exec.getArg();
arguments.put("detailsPojo", pojo);
arguments.put("scDetailPojo", scPojo);
arguments.put("bindVarPojoParam", selectedRecord); // parentSubBindVarPojoParam
arguments.put("parentSubBindVarPojoParam", editRecord);
arguments.put("subBindVarPojoParam", subBindVariable);
exec.sendRedirect("");
I get the following error
java.lang.ClassCastException: java.util.Collections$EmptyMap cannot be cast to java.util.HashMap
2 | No.2 Revision |
In my view model
I have attempted the following logic
Map<string, object="">
Map<String, Object>
arguments = new The page does not reload.
I have also tried this
Execution exec =
exec.sendRedirect("");
I get the following error
java.lang.ClassCastException: java.util.Collections$EmptyMap cannot be cast to