Hi!
AFAIK there is no built-in functionality to print out workflow outputs directly in the webviews.
As a workaround: You can print out returns of an Action directly to a webview (there is an example in the Webview Developer guide, if I remember right; you have to call the action via a Tapestry element)...
Example:
<div id="requestTableDiv"><vmo jwcid="@Insert" value="ognl:page.executeAction('getExecutionsForCategory',{getAttribute('allWfls')})" raw="true"/></div>
...in this case with "getExecutionsForCategory" as Webview-Attribute of Type Action, and "allWfls" as Webview-Attribute of type WorkflowCategory. The action itself wants a parameter of type WorkflowCategory...
In your case you would create an Action that now could get the workflow output from a WorkflowToken and present it to an HTML-String...
Regards,
Joerg
Hi!
AFAIK there is no built-in functionality to print out workflow outputs directly in the webviews.
As a workaround: You can print out returns of an Action directly to a webview (there is an example in the Webview Developer guide, if I remember right; you have to call the action via a Tapestry element)...
Example:
<div id="requestTableDiv"><vmo jwcid="@Insert" value="ognl:page.executeAction('getExecutionsForCategory',{getAttribute('allWfls')})" raw="true"/></div>
...in this case with "getExecutionsForCategory" as Webview-Attribute of Type Action, and "allWfls" as Webview-Attribute of type WorkflowCategory. The action itself wants a parameter of type WorkflowCategory...
In your case you would create an Action that now could get the workflow output from a WorkflowToken and present it to an HTML-String...
Regards,
Joerg
