<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Add jsp or html form to user-task without using guvnor
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/rajan01">Rajan Bansal</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/623731#623731">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p>I am developing the web-application using spring.. And I want to handle the back-ground process using jBPM5.1.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am able to shift the database from h2 to oracle-db successfully..</p><p>And I call the jbpm process from the controller.. </p><p>I am not using and dont want to use&#160; <strong>the jbpm-console and gwt-console and not even the guvnor repository.</strong>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Now I want to add forms which are in "Jsp and html" to be attaced with user-task-nodes...</p><p>I am using eclipse and didn't find any means to add forms</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So in the .bpmn file I tried to add form by written but un-sucessfull as shown below:</p><p>&lt;dataOutputAssociation&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;sourceRef&gt;_2_performanceOutput&lt;/sourceRef&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;targetRef&gt;performance&lt;/targetRef&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/dataOutputAssociation&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;potentialOwner&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;resourceAssignmentExpression&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;formalExpression&gt;#{employee}&lt;/formalExpression&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/resourceAssignmentExpression&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/potentialOwner&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;rendering id="requestform"&gt;</p><p>&#160;&#160;&#160;&#160; <strong> &lt;jbpm:form&gt;evaluation/Request Approval.ftl&lt;/jbpm:form&gt;</strong></p><p>&#160;&#160;&#160;&#160;&#160; &lt;/rendering&gt;</p><p>&#160;&#160;&#160; &lt;/userTask&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>It gives an error:</p><p>(null: 124, 18): The prefix "jbpm" for element "jbpm:form" is not bound.</p><p>16:53:46,228 ERROR [STDERR] org.xml.sax.SAXParseException: The prefix "jbpm" for element "jbpm:form" is not bound.</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:293)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:172)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:249)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:516)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:560)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.jbpmweb.jbpm.Evaluation.readKnowledgeBase(Evaluation.java:54)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.jbpmweb.jbpm.Evaluation.processCalling(Evaluation.java:31)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at com.jbpmweb.service.ProbationService.handleJbpmRequest(ProbationService.java:20)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)</p><p>16:53:46,228 ERROR [STDERR]&#160;&#160;&#160;&#160; at org.springframework.web.servle</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Please tell me how to add html or jsp forms to user-tasks???</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Regards</p><p>Rajan Bansal</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/623731#623731">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>