Skip to content

Commit

Permalink
BZ-1002586: initializing FormRenderContext with the ContentMarshaller…
Browse files Browse the repository at this point in the history
…Context again.
  • Loading branch information
pefernan committed Sep 2, 2013
1 parent ed816bc commit c11e85d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -91,7 +91,7 @@ public String getFormDisplayProcess(String deploymentId, String processId) {
Map<String, Object> renderContext = new HashMap<String, Object>();
renderContext.put("process", processDesc);
renderContext.put("outputs", processData);
renderContext.put("deploymentId", deploymentId);
renderContext.put("marshallerContext", getMarshallerContext(deploymentId, processId));

for (FormProvider provider : providers) {
String template = provider.render(processDesc.getName(), processDesc, renderContext);
Expand Down Expand Up @@ -160,7 +160,7 @@ public String getFormDisplayTask(long taskId) {
// merge template with process variables
renderContext.put("task", task);
renderContext.put("outputs", finalOutput);
renderContext.put("deploymentId", task.getTaskData().getDeploymentId());
renderContext.put("marshallerContext", marshallerContext);

// add all inputs as direct entries
if (input instanceof Map) {
Expand Down

0 comments on commit c11e85d

Please sign in to comment.