Details
- 
        Type:
 Improvement
            
         - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Fixed
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 4.1
 - 
            Component/s: ACE-Components
 - 
            Labels:None
 - 
            Environment:ICEfaces 4, ace:submitMonitor
 
- 
                        Support Case References:Support Case #12955 - https://icesoft.my.salesforce.com/5007000000edYKn
 - 
                        Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration
 
Description
                    There is an opportunity to improve the sophistication of the ace:submitMonitor in cases where multiple monitors are defined on the same page with overlapping scopes.
For example, an application may want to use a general monitor that activates for any submit on the page, blocks the entire page, and presents a general busy indicator while the submit is in progress. In addition, the application may also want to provide a more specific monitor on say, a particular form on the page ("ClaimForm"). In that case, if the "ClaimForm" submits, it's monitor would block only the form and present a custom message (e.g. "Submitting Claim...").
Currently, both monitors would be triggered by the submit of the "ClaimForm", which may be undesirable. A more sophisticated approach would have a submitMonitor with a more specific scope override any others with more general scopes. That way, multiple monitors could be setup on a page and only one of them would be activated by a given submit.
            
For example, an application may want to use a general monitor that activates for any submit on the page, blocks the entire page, and presents a general busy indicator while the submit is in progress. In addition, the application may also want to provide a more specific monitor on say, a particular form on the page ("ClaimForm"). In that case, if the "ClaimForm" submits, it's monitor would block only the form and present a custom message (e.g. "Submitting Claim...").
Currently, both monitors would be triggered by the submit of the "ClaimForm", which may be undesirable. A more sophisticated approach would have a submitMonitor with a more specific scope override any others with more general scopes. That way, multiple monitors could be setup on a page and only one of them would be activated by a given submit.
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Fix Version/s | 4.1 [ 11375 ] | |
| Affects | Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial,Compatibility/Configuration [ 10003, 10001, 10002 ] | 
| Support Case References | Support Case #12955 - https://icesoft.my.salesforce.com/5007000000edYKn | 
| Fix Version/s | EE-3.3.0.GA_P03 [ 11572 ] | 
| Fix Version/s | EE-3.3.0.GA_P03 [ 11572 ] | 
| Assignee | Mircea Toma [ mircea.toma ] | 
| Status | Open [ 1 ] | Resolved [ 5 ] | 
| Resolution | Invalid [ 6 ] | 
| Resolution | Invalid [ 6 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] | 
| Repository | Revision | Date | User | Message | 
| ICEsoft Public SVN Repository | #43903 | Tue Jan 13 16:54:49 MST 2015 | mircea.toma |      | 
| Files Changed | ||||
            					
			 
                            MODIFY
            				/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/submitmonitor/submitmonitor.js
            
             | 
| Repository | Revision | Date | User | Message | 
| ICEsoft Public SVN Repository | #43904 | Tue Jan 13 16:56:54 MST 2015 | mircea.toma |      | 
| Files Changed | ||||
            					
			 
                            MODIFY
            				/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/submitmonitor/submitmonitor.js
            
             | 
| Status | Reopened [ 4 ] | Resolved [ 5 ] | 
| Resolution | Fixed [ 1 ] | 
| Status | Resolved [ 5 ] | Closed [ 6 ] | 

After the fixes made for
ICE-10284I believe the component can be already setup to work as described above. See comment: http://jira.icesoft.org/browse/ICE-10284?focusedCommentId=55341&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-55341