Hello Esteban,<br><br>I am facing a problem in using your samples available at <a href="http://ilesteban.wordpress.com/2010/11/23/guvnor-embed-assets-editor-in-your-application/" target="_blank">http://ilesteban.wordpress.com/2010/11/23/guvnor-embed-assets-editor-in-your-application/</a><br>
<br>Steps:<br>1. Deployed the guvnor war from the location: <a href="http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/" target="_blank">http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/</a><br>
2. Modified the form action URL to <br>        <a href="http://127.0.0.1:8080/drools-guvnor/org.drools.guvnor.Guvnor/standaloneEditorServlet?gwt.codesvr=127.0.0.1:9997">http://127.0.0.1:8080/drools-guvnor/org.drools.guvnor.Guvnor/standaloneEditorServlet?gwt.codesvr=127.0.0.1:9997</a><br>
3. Opened the newAssetEditor.htm page in browser &amp; changed the rule name to &quot;Bankruptcy history&quot;. This rule is available in the mortgage package in the repository.<br>4. Click Submit. Opens a new page with error : HTTP Status 404 - /drools-guvnor/org.drools.guvnor.Guvnor/standaloneEditorServlet<br>
<br><b>I checked that web.xml has no url pattern for standaloneEditorServlet and hence no servlet is invoked.</b><br><br>Modification &amp; Review<br><b>1.</b> Updated web.xml by adding <br>     &lt;servlet&gt;<br>        &lt;servlet-name&gt;standaloneEditorService&lt;/servlet-name&gt;<br>
        &lt;servlet-class&gt;org.drools.guvnor.server.StandaloneEditorServiceImplementation&lt;/servlet-class&gt;<br>    &lt;/servlet&gt;<br>    &lt;servlet&gt;<br>        &lt;servlet-name&gt;standaloneEditorServlet&lt;/servlet-name&gt;<br>
        &lt;servlet-class&gt;org.drools.guvnor.server.StandaloneEditorServlet&lt;/servlet-class&gt;<br>    &lt;/servlet&gt;    <br>     &lt;servlet-mapping&gt;<br>        &lt;servlet-name&gt;standaloneEditorService&lt;/servlet-name&gt;<br>
        &lt;url-pattern&gt;/org.drools.guvnor.Guvnor/standaloneEditorService&lt;/url-pattern&gt;<br>    &lt;/servlet-mapping&gt;<br>    &lt;servlet-mapping&gt;<br>        &lt;servlet-name&gt;standaloneEditorServlet&lt;/servlet-name&gt;<br>
        &lt;url-pattern&gt;/org.drools.guvnor.Guvnor/standaloneEditorServlet&lt;/url-pattern&gt;<br>    &lt;/servlet-mapping&gt;<br><b>After this change it worked....</b><br><b><br>2.</b> In the guvnor war, I observed hat Guvnor.gwt.xml file is missing. Is this OK? (I think new GWT version allows service mapping in web.xml. Is this the reason that Guvnor.gwt.xml file is missing?)<br>
<br>Now I am going to do more analysis as the setup is working &amp; will update you.<br><br>Thanks for the samples.<br>Harshit<br><br><div class="gmail_quote">On Tue, Dec 14, 2010 at 9:12 PM, Harshit Bapna <span dir="ltr">&lt;<a href="mailto:hrbapna@gmail.com">hrbapna@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello Esteban,<br><br>I have read your post and was excited about it.<br>I am new to GWT so still learning the Guvnor internal strategy.<br>
<br>I will test it &amp; give you my feedback.<br><br>--harshit<br><br><div class="gmail_quote">
2010/12/14 Esteban Aliverti <span dir="ltr">&lt;<a href="mailto:esteban.aliverti@gmail.com" target="_blank">esteban.aliverti@gmail.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

You can use the last snapshot if you want to start testing it: <a href="http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/" target="_blank">http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/</a><br>



Did you read my post about this topic already? <a href="http://ilesteban.wordpress.com/2010/11/23/guvnor-embed-assets-editor-in-your-application/" target="_blank">http://ilesteban.wordpress.com/2010/11/23/guvnor-embed-assets-editor-in-your-application/</a><br>



<br>Please test it if you have time and give us some feedback.<br><br>Best Regards,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>



- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">2010/12/14 Harshit Bapna <span dir="ltr">&lt;<a href="mailto:hrbapna@gmail.com" target="_blank">hrbapna@gmail.com</a>&gt;</span><div><div></div><div><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



Thanks Mark for the clarification.<br><br><div class="gmail_quote">2010/12/14 Mark Proctor <span dir="ltr">&lt;<a href="mailto:mproctor@codehaus.org" target="_blank">mproctor@codehaus.org</a>&gt;</span><div><div></div><div>



<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  
    
  
  <div text="#000000" bgcolor="#ffffff"><div>
    On 14/12/2010 12:00, Harshit Bapna wrote:
    <blockquote type="cite">
      <div>
        <div>
          <div>Hello All,</div>
          <div> </div>
          <div>Few questions:</div>
          <div>1. What is the release date of Guvnor 5.2 ? (Couldn&#39;t
            find it from the site of the documentation)</div>
          <div>    I am interested in the functionality to add the
            guvnor editors in another app for rule editing. i.e.
            StandaloneEditorServlet<br>
          </div>
        </div>
      </div>
    </blockquote></div>
    There is no release date yet.<div><br>
    <blockquote type="cite">
      <div>
        <div>
          <div>    <br>
            2. Which SVN TAG of the Guvnor (which has standalone editor
            functionality) should I use ?<br>
          </div>
        </div>
      </div>
    </blockquote></div>
    We will be doing a milestone release within the next week or so, if
    things go weel, you can use that tag.<br>
    <br>
    Mark<br>
    <blockquote type="cite"><div>
      <div>
        <div>
          <div>    <br>
            Note: On trunk I have observed that the war contains a
            folder <b>guvnor</b> where as guvnor 5.1 war contained
            folder <b>org.drools.guvnor.Guvnor</b><br>
            Also the web.xml in the trunk has the following url pattern
            &lt;url-pattern&gt;/<b>org.drools.guvnor.Guvnor</b>/feed/*&lt;/url-pattern&gt;<br>
          </div>
          This url pattern would never be matched as the Guvnor.html is
          under guvnor/Guvnor.html. To make it work I had to update the
          url patterns in the web.xml<br>
          <br>
          Is there anything that I am doing wrong ? (mvn clean install
          -Dmaven.test.failure.ignore=true)<br>
          IMO, the trunk has partial changes checked in. Hence it is not
          stable.<br>
          <br>
          <div> </div>
          <div>Thanks</div>
          <div><br>
          </div>
        </div>
      </div>
      </div><pre><fieldset></fieldset>
_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div></div></div><br>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div></div></div><br>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div></div></div><br>
</blockquote></div><br>