[rules-users] Prevent saving the resource when using guvnorEditorObjRef, in case if validation fails.
Esteban Aliverti
esteban.aliverti at gmail.com
Mon May 28 04:03:28 EDT 2012
AFAIK, there is no way to do what you have described.
Feel free to file a new feature request in jira about this.
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Mon, May 28, 2012 at 8:44 AM, worldofprasanna
<worldofprasanna at yahoo.com>wrote:
> Hi All,
>
> We have embedded the Guvnor decision table asset into our html page and
> obtained the guvnorEditorObjRef to validate the new rule which is added. We
> wrote our business logic within the function,
>
> guvnorEditorObjRef.registerBeforeSaveAllButtonCallbackFunction()
>
>
> And it works fine. But the problem is when we find the business validation
> got failed, we couldn t stop the resource from saving. Check In dialog box
> opens and we couldn t find a way to prevent it from saving.
>
> Is there anyway to prevent the asset from Saving in case, if the validation
> failed ?
>
> Thanks,
> Prasanna Venkataraman.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Prevent-saving-the-resource-when-using-guvnorEditorObjRef-in-case-if-validation-fails-tp4017580.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120528/792167ba/attachment.html
More information about the rules-users
mailing list