Changeset 12178

Show
Ignore:
Timestamp:
21.11.2008 21:28:01 (16 months ago)
Author:
sys
Message:

debug séparateur d'uri pour les dispatch d'events : ";" à la place de ","

Location:
branches/3.7pre
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/3.7pre/Jav_IhmMoz/com/scenari/i/ihmcms/Client.java

    r12133 r12178  
    2323 
    2424        protected String fUniversalId = null; 
    25          
     25 
    2626        protected long fLastUse = 0L; 
    2727 
     
    121121 
    122122        protected void xWriteEntry(StringBuffer pBuf, IWspWatcher.IDistinctUpdtIterator pIt) { 
    123                 if (pBuf.length() != 0) pBuf.append(','); 
     123                if (pBuf.length() != 0) pBuf.append(';'); 
    124124                pBuf.append('/'); 
    125125                String vSp = pIt.getSpace(); 
    126126                pBuf.append(vSp); 
    127127                String vCd = pIt.getCode(); 
    128                 if(vCd != null) { 
     128                if (vCd != null) { 
    129129                        pBuf.append('/'); 
    130130                        pBuf.append(pIt.getCode()); 
  • branches/3.7pre/Xul_Cms/components/scHttpDataProvider.js

    r12164 r12178  
    686686         
    687687        xDispatchUpdate : function(pCdWsp, pUri, pEventType, pAuthor){ 
    688                 if(this.fDebugComm) debug("debug.ServerCommunication:::xDispatchUpdate local:"+pCdWsp+" - "+pUri+" - pEventType:::"+pEventType+" pAuthor:::"+pAuthor+" this:::"+this+" this.fItemsListeners:::"+this.fItemsListeners); 
     688                if(this.fDebugComm) debug("debug.ServerCommunication:::xDispatchUpdate local:"+pUri+" - pEventType:::"+pEventType+" pAuthor:::"+pAuthor); 
    689689                var vItemsListener = this.fItemsListeners; 
    690690                while(vItemsListener) { 
     
    731731                                } 
    732732                                var vUptds = pReq.getResponseHeader("scUpdts_"+pCdWsp); 
    733                                 if(vUptds) { 
    734                                         vEventType = 1; 
    735                                         vUptds.split(",").forEach(dispatchUri, this); 
    736                                 } 
    737733                                var vRm = pReq.getResponseHeader("scRm_"+pCdWsp); 
    738                                 if(vRm) { 
    739                                         vEventType = 2; 
    740                                         vRm.split(",").forEach(dispatchUri, this); 
    741                                 } 
    742734                                var vSt = pReq.getResponseHeader("scSt_"+pCdWsp); 
    743                                 if(vSt) { 
    744                                         vEventType = 3; 
    745                                         vSt.split(",").forEach(dispatchUri, this); 
    746                                 } 
    747735                                if(this.fDebugComm) { 
    748736                                        if(vUptds) debug("debug.ServerCommunication:::scUpdts_"+pCdWsp+":::::"+vUptds+":::clientid="+this.fClientId); 
    749737                                        if(vRm) debug("debug.ServerCommunication:::scRm_"+pCdWsp+":::::"+vRm+":::clientid="+this.fClientId); 
    750738                                        if(vSt) debug("debug.ServerCommunication:::scSt_"+pCdWsp+":::::"+vSt+":::clientid="+this.fClientId); 
     739                                } 
     740                                if(vUptds) { 
     741                                        vEventType = 1; 
     742                                        vUptds.split(";").forEach(dispatchUri, this); 
     743                                } 
     744                                if(vRm) { 
     745                                        vEventType = 2; 
     746                                        vRm.split(";").forEach(dispatchUri, this); 
     747                                } 
     748                                if(vSt) { 
     749                                        vEventType = 3; 
     750                                        vSt.split(";").forEach(dispatchUri, this); 
    751751                                } 
    752752                        }