<font size=2 face="sans-serif">Is there a way to pass the editing context
to the custom form? For example, in the rule below:</font>
<br>
<br><font size=2 face="sans-serif">[when] type of mineral is </font><font size=3>{mineralName:CF:Mineral.name}and
country of mining is {countryName:CF:Country.name}</font>
<br>
<br><font size=3>If the mineral &quot;Quartz&quot; is selected, then the
custom form displaying the country list should only display Quartz-producting
countries. For this, the fact that mineral type Quartz was selected would
need to be passed to the custom form. Is that possible?</font>
<br>
<br><font size=3>Thanks</font>
<br><font size=3>Ghanshyam</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Michael Anstis &lt;michael.anstis@gmail.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Rules Users List &lt;rules-users@lists.jboss.org&gt;,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">10/12/2012 12:57 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [rules-users]
Custom Form with DSL</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">rules-users-bounces@lists.jboss.org</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>This sounds as though it's a bug.<br>
<br>
Can you please create a JIRA (</font><a href=https://issues.jboss.org/browse/GUVNOR><font size=3 color=blue><u>https://issues.jboss.org/browse/GUVNOR</u></font></a><font size=3>)
and attach a repository export demonstrating the issue.<br>
<br>
Thanks,<br>
<br>
Mike<br>
</font>
<br><font size=3>On 11 October 2012 06:06, bhochhi &lt;</font><a href=mailto:bhochhi@aol.com target=_blank><font size=3 color=blue><u>bhochhi@aol.com</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=3>I were able to launch the custom form in DSL, however
the rule condition is<br>
not mapped to corresponding DRL. I don't know if this is a bug or just<br>
something is missing. my DSL mapping looks like this:<br>
<br>
[when]<br>
&nbsp;my dsl is &quot;{varName:CF:MyFactType.fieldName}&quot; =<br>
System.out.println(&quot;{varName}&quot;)<br>
<br>
I have working set created then configured custom form for fieldName. All<br>
things working but rule is not validating. When I check drl source, I found<br>
the mapping is not taking place, its still displaying DSL expression in
DRL<br>
source instead of displaying:<br>
<br>
System.out.println(&quot;values from cf&quot;)<br>
<br>
Any ideas? I have tried this in guvnor 5.4.0.final and 5.5.beta1<br>
<br>
<br>
<br>
--<br>
View this message in context: </font><a href="http://drools.46999.n3.nabble.com/Custom-Form-with-DSL-tp4020207.html" target=_blank><font size=3 color=blue><u>http://drools.46999.n3.nabble.com/Custom-Form-with-DSL-tp4020207.html</u></font></a><font size=3><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><u>rules-users@lists.jboss.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a>
<br><tt><font size=2>_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><tt><font size=2>https://lists.jboss.org/mailman/listinfo/rules-users</font></tt></a><tt><font size=2><br>
</font></tt>
<br>

-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you