<!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="https://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;">
    Console customization with SmartGWT
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/fabo">fabo</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/804341#804341">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 style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am trying to modify the BPM console by substituting the ListBox (which shows the tasks assigned to a user) by a SmartGWT ListGrid. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I have added a new dependency in bpm-console\gui\pom.xml</p><pre class="jive-pre"><code class="jive-code">
&#160; &lt;dependencies&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;dependency&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;groupId&gt;com.smartgwt&lt;/groupId&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;artifactId&gt;smartgwt&lt;/artifactId&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;version&gt;3.1&lt;/version&gt;
&#160;&#160; &lt;/dependency&gt;</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>In bpm-console\gui\app-base\src\main\java\org\jboss\bpm\console\Application.gwt.xml I have added a new inheritance:</p><pre class="jive-pre"><code class="jive-code">
&lt;inherits name="com.smartgwt.SmartGwt"/&gt;</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The app-base is build successfully. Unfortunally, the jbpm-console fails to build. Here is the stack trace:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss BPM - Console::GUI::Webapp::jbpm 2.7.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.smartgwt:smartgwt:jar:3.1 is missing, no dependency information available
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ gwt-console-jbpm ---
[INFO] Deleting C:\Users\IT1\Desktop\jBPM-Projekt\github\bpm-console\gui\wars\jbpm\target
[INFO]
[INFO] --- maven-dependency-plugin:2.1:unpack-dependencies (unpack-gwt-sources) @ gwt-console-jbpm ---
[INFO] Unpacking C:\m2\org\jboss\bpm\gwt-console-app-base\2.7.0-SNAPSHOT\gwt-console-app-base-2.7.0-SNAPSHOT-sources.jar to
&#160; C:\Users\IT1\Desktop\jBPM-Projekt\github\bpm-console\gui\wars\jbpm\target\generated-sources\unpacked-gwt-sources
&#160;&#160; with includes null and excludes:null
[INFO]
[INFO] --- maven-dependency-plugin:2.1:unpack-dependencies (unpack-templates) @ gwt-console-jbpm ---
[INFO] Unpacking C:\m2\org\jboss\bpm\gwt-console-war-templates\2.7.0-SNAPSHOT\gwt-console-war-templates-2.7.0-SNAPSHOT.jar to
&#160; C:\Users\IT1\Desktop\jBPM-Projekt\github\bpm-console\gui\wars\jbpm\target\unpacked-templates
&#160;&#160; with includes null and excludes:null
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ gwt-console-jbpm ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:copy-resources (filter-unpacked-templates) @ gwt-console-jbpm ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:copy-resources (merge-webapp-with-resources) @ gwt-console-jbpm ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ gwt-console-jbpm ---
[INFO] Compiling 145 source files to C:\Users\IT1\Desktop\jBPM-Projekt\github\bpm-console\gui\wars\jbpm\target\classes
[INFO]
[INFO] --- gwt-maven-plugin:1.3-12393:clean (gwt-clean-compile) @ gwt-console-jbpm ---
[INFO] auto discovered modules [org.jboss.bpm.console.Application]
[INFO]
[INFO] --- gwt-maven-plugin:1.3-12393:compile (gwt-clean-compile) @ gwt-console-jbpm ---
[INFO] using GWT jars from project dependencies : 2.0.4
[WARNING] You should not declare gwt-dev as a project dependency. This may introduce complex dependency conflicts
[INFO] auto discovered modules [org.jboss.bpm.console.Application]
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] establishing classpath list (scope = compile)
[INFO] Loading inherited module 'com.smartgwt.SmartGwt'
[INFO]&#160;&#160;&#160; [WARN] Setting configuration property named document.compatMode in com.smartgwt.SmartGwt that has not been previously defined.&#160; This may be disallowed in the future.
[INFO] Compiling module org.jboss.bpm.console.Application
[INFO]&#160;&#160;&#160; Validating newly compiled units
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Errors in 'jar:file:/C:/m2/com/smartgwt/smartgwt/3.1/smartgwt-3.1.jar!/com/smartgwt/client/util/JSOHelper.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 27: The import com.google.gwt.core.client.JsDate cannot be resolved
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 252: The method convertToJavaScriptDate(Date) from the type JSOHelper refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 600: JsDate cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 608: JsDate cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 611: The method toJavaScriptDate() from the type LogicalDate refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 613: The method toJavaScriptDate() from the type LogicalTime refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 615: The method createJavaScriptDate(double) from the type JSOHelper refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 780: The method convertToJavaScriptDate(Date) from the type JSOHelper refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 786: JsDate cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 787: The method getJSLogicalDate(int, int, int) from the type JSOHelper refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 789: JsDate cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 793: JsDate cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 798: JsDate cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 815: The method convertToJavaScriptDate(Date) from the type JSOHelper refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Errors in 'jar:file:/C:/m2/com/smartgwt/smartgwt/3.1/smartgwt-3.1.jar!/com/smartgwt/client/util/LogicalDate.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 3: The import com.google.gwt.core.client.JsDate cannot be resolved
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 25: JsDate cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Errors in 'jar:file:/C:/m2/com/smartgwt/smartgwt/3.1/smartgwt-3.1.jar!/com/smartgwt/client/widgets/BaseWidget.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 843: The method convertToJavaScriptDate(Date) from the type JSOHelper refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Errors in 'jar:file:/C:/m2/com/smartgwt/smartgwt/3.1/smartgwt-3.1.jar!/com/smartgwt/client/widgets/form/fields/FormItem.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 4168: The method convertToJavaScriptDate(Date) from the type JSOHelper refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Errors in 'jar:file:/C:/m2/com/smartgwt/smartgwt/3.1/smartgwt-3.1.jar!/com/smartgwt/client/util/LogicalTime.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 3: The import com.google.gwt.core.client.JsDate cannot be resolved
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 25: JsDate cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Errors in 'jar:file:/C:/m2/com/smartgwt/smartgwt/3.1/smartgwt-3.1.jar!/com/smartgwt/client/core/BaseClass.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 411: The method convertToJavaScriptDate(Date) from the type JSOHelper refers to the missing type JsDate
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [WARN] Warnings in 'jar:file:/C:/m2/com/googlecode/gwtmosaic/gwt-mosaic/0.4.0-rc4/gwt-mosaic-0.4.0-rc4.jar!/org/gwt/mosaic/ui/client/impl/GlassPanelImpl.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [WARN] Line 52: Referencing deprecated class 'com.google.gwt.user.client.impl.DocumentRootImpl'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [WARN] Line 60: Referencing deprecated class 'com.google.gwt.user.client.impl.DocumentRootImpl'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Errors in 'jar:file:/C:/m2/com/smartgwt/smartgwt/3.1/smartgwt-3.1.jar!/com/smartgwt/client/util/LogicalTime_CustomFieldSerializer.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 3: The import com.google.gwt.user.client.rpc.CustomFieldSerializer cannot be resolved
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 8: CustomFieldSerializer cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 23: The method deserializeInstance(SerializationStreamReader, LogicalTime) of type LogicalTime_CustomFieldSerializer must override or implement a supertype method
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 28: The method hasCustomInstantiateInstance() of type LogicalTime_CustomFieldSerializer must override or implement a supertype method
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 33: The method instantiateInstance(SerializationStreamReader) of type LogicalTime_CustomFieldSerializer must override or implement a supertype method
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 38: The method serializeInstance(SerializationStreamWriter, LogicalTime) of type LogicalTime_CustomFieldSerializer must override or implement a supertype method
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Errors in 'jar:file:/C:/m2/com/googlecode/gwtmosaic/gwt-mosaic/0.4.0-rc4/gwt-mosaic-0.4.0-rc4.jar!/org/gwt/mosaic/ui/client/table/AbstractColumnDefinition.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 553: No source code is available for type org.gwt.beansbinding.core.client.PropertyResolutionException; did you forget to inherit a required module?
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Errors in 'jar:file:/C:/m2/com/smartgwt/smartgwt/3.1/smartgwt-3.1.jar!/com/smartgwt/client/util/LogicalDate_CustomFieldSerializer.java'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 3: The import com.google.gwt.user.client.rpc.CustomFieldSerializer cannot be resolved
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 8: CustomFieldSerializer cannot be resolved to a type
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 23: The method deserializeInstance(SerializationStreamReader, LogicalDate) of type LogicalDate_CustomFieldSerializer must override or implement a supertype method
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 28: The method hasCustomInstantiateInstance() of type LogicalDate_CustomFieldSerializer must override or implement a supertype method
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 33: The method instantiateInstance(SerializationStreamReader) of type LogicalDate_CustomFieldSerializer must override or implement a supertype method
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Line 38: The method serializeInstance(SerializationStreamWriter, LogicalDate) of type LogicalDate_CustomFieldSerializer must override or implement a supertype method
[INFO]&#160;&#160;&#160; Finding entry point classes
[INFO]&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Unable to find type 'com.smartgwt.client.SmartGwtEntryPoint'
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Hint: Previous compiler errors may have made this type unavailable
[INFO]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.904s
[INFO] Finished at: Fri Mar 22 17:59:36 CET 2013
[INFO] Final Memory: 17M/45M
[INFO] ------------------------------------------------------------------------
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Any help is appreciated. Thanks!</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/804341#804341">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://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>