In spring, I can do like this
Map<String, Object> model = new HashMap<String, Object>();
model.putAll(runtimeService.getVariables(executionId));
return new ModelAndView("page1", model);
runtimeService.getVariables(executionId) is returning a map
For example,
String Object
"id" "123"
"value" "4"
Then i can directly use ${id} to access the value
Variable name “id” is dynamic,
I am not sure how to do it in JSF way, since it uses getters and setters.
This should be simple, i am new to JSF 🙂
Thanks in advance.
You can have a
Mapin yourManaged Beanand render it on XHTML using#on page