AnsweredAssumed Answered

binary form: GetRenderedStartFormCmd vs GetStartForm w/ rest

Question asked by markjans on Dec 13, 2010
Latest reply on Dec 13, 2010 by frederikheremans1
Hi,

I'd like to load a binary actionscript module as a process definition form via the activiti-rest webapp, however the exception below is thrown by the juel engine during processing.

I can see the GetRenderedStartFormCmd vs GetStartForm in the codebase, but is there a way to cause the restful webapp to load the form unrendered?

Many thanks,
Mark


´┐¢A    Yt´┐¢♣´┐¢`´┐¢◄+´┐¢I5Q☺<f♥J´┐¢´┐¢z´┐¢→I´┐¢←´┐¢´┐¢8┘Ö´┐¢´┐¢2X´┐¢´┐¢$´┐¢;0@[)´┐¢k^y´┐¢Lr´┐¢´┐¢0∟´┐¢O´┐¢´┐¢♂o´┐¢´┐¢ ´┐¢uG4´┐¢P´┐¢◄D´┐¢89p´┐¢▼´┐¢%´┐¢@▀æ´┐¢´┐¢∟┌Â☺´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢´┐¢ t4 ´┐¢´┐¢': l
exical error at position 1,757, encountered invalid character '´┐¢', expected expression token
        at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:69)
        at org.activiti.engine.impl.form.JuelFormEngine.renderStartForm(JuelFormEngine.java:40)
        at org.activiti.engine.impl.cmd.GetRenderedStartFormCmd.execute(GetRenderedStartFormCmd.java:61)
        at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:22)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:37)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
        at org.activiti.engine.impl.FormServiceImpl.getRenderedStartForm(FormServiceImpl.java:36)
        at org.activiti.rest.api.process.ProcessDefinitionFormGet.executeStreamingWebScript(ProcessDefinitionFormGet.java:32)
        at org.activiti.rest.util.ActivitiStreamingWebScript.execute(ActivitiStreamingWebScript.java:65)
        at org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:69)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:333)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:189)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Outcomes