behaviour cancel delete node
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2010 05:29 AM
Hi,
I need to implement a behaviour to check some conditions before deleting a node. Can I cancel the delete action if the node does not match all conditions?
thanks!
I need to implement a behaviour to check some conditions before deleting a node. Can I cancel the delete action if the node does not match all conditions?
thanks!
Labels:
- Labels:
-
Archive
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2010 11:08 AM
Hi Derek,
I finally solved by throwing a ReportedException instead of AlfrescoRuntimeException, now it shows messages in different languages without the bean.
I finally solved by throwing a ReportedException instead of AlfrescoRuntimeException, now it shows messages in different languages without the bean.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2010 07:51 AM
Hi,
Regards
error_delete_file=Unable to delete File due to system error: {0}
There is probably a bug in the Spanish translation; it seems to be missing the '{0}' bit. Please raise a bug for this.Regards
