Changeset 9133


Ignore:
Timestamp:
04/13/07 14:38:31 (5 years ago)
Author:
sys
Message:

scWspResp=no pour exclure le retour des items modifiés en cas de passage par URL directement(pas scHttpDataServer)

Location:
trunk/Xul_Cms/chrome/content/scenaricms
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Cms/chrome/content/scenaricms/installmgr/installmgr.js

    r8903 r9133  
    291291                                }else{// serveur distant => on on balance un stream 
    292292                                        try{ 
    293                                                 var vUrlServ = vServer.getServiceUrl("/u/adminWsp?cdaction=InstallRes"); 
     293                                                var vUrlServ = vServer.getServiceUrl("/u/adminWsp?cdaction=InstallRes&scWspResp=no"); 
    294294                                                var vUploadFile = new UploadFile(); 
    295295                                                var vInstallMgr = this; 
  • trunk/Xul_Cms/chrome/content/scenaricms/uriobject/uriobject.js

    r8804 r9133  
    9494                if(!pUri) pUri = this.fUri; 
    9595                pUri += "?"+pParamTransform; 
    96                 return this.fServer.getServiceUrl("/u/vueObjet?cdaction=ShowContent&param="+window.encodeURIComponent(pUri)); 
     96                return this.fServer.getServiceUrl("/u/vueObjet?cdaction=ShowContent&scWspResp=no&param="+window.encodeURIComponent(pUri)); 
    9797        } else { 
    9898                //On passe par la vue trav pour permettre de résoudre des url relatives (item de type .doss, .sitehtml, etc.) 
    99                 return this.fServer.getSourceUrl("trav") + "/" + ( (!pUri) ? this.fUri : pUri ); 
     99                return this.fServer.getSourceUrl("trav") + "/" + ( (!pUri) ? this.fUri : pUri ) + "?scWspResp=no"; 
    100100        } 
    101101} 
  • trunk/Xul_Cms/chrome/content/scenaricms/widgets/block/gen/genblock.xbl.xml

    r8451 r9133  
    138138                                <parameter name="pCdToDownload"/> 
    139139                                <body><![CDATA[ 
    140                                         var vUrl = this.fUriObject.getServer().getServiceUrl("/u/vuePrescription?cdaction=Download&param="+encodeURIComponent(this.fUriObject.getUri())+"&module="+pCdToDownload); 
     140                                        var vUrl = this.fUriObject.getServer().getServiceUrl("/u/vuePrescription?cdaction=Download&scWspResp=no&param="+encodeURIComponent(this.fUriObject.getUri())+"&module="+pCdToDownload); 
    141141                                        if(vUrl) document.getAnonymousElementByAttribute(this, "anonid", "download").webNavigation.loadURI(vUrl, 0, null, null, null); 
    142142                                ]]></body> 
  • trunk/Xul_Cms/chrome/content/scenaricms/widgets/zone/genDeploy/genDeploy.js

    r7847 r9133  
    2121 
    2222function downloadSupport(pCdToDownload, pWebNavigation ) { 
    23         var vUrl = document.fUriObject.getServer().getServiceUrl("/u/vuePrescription?cdaction=Download&param="+encodeURIComponent(document.fUriObject.getUri())+"&module="+pCdToDownload); 
     23        var vUrl = document.fUriObject.getServer().getServiceUrl("/u/vuePrescription?cdaction=Download&scWspResp=no&param="+encodeURIComponent(document.fUriObject.getUri())+"&module="+pCdToDownload); 
    2424        if(vUrl){ 
    2525                if(pWebNavigation) pWebNavigation.loadURI(vUrl, 0, null, null, null); 
  • trunk/Xul_Cms/chrome/content/scenaricms/wspview/wspview.js

    r9057 r9133  
    14741474        var vWspView = wspViewGetWspView(pEvent.target); 
    14751475        var vViewMgr = vWspView.fViewMgr; 
    1476         var vUrl = vViewMgr.fServer.getServiceUrl(vViewMgr.fUrlService+"cdaction=GetAsZip&PathRes=/"+encodeURIComponent(vCtx.fUri)); 
     1476        var vUrl = vViewMgr.fServer.getServiceUrl(vViewMgr.fUrlService+"cdaction=GetAsZip&scWspResp=no&PathRes=/"+encodeURIComponent(vCtx.fUri)); 
    14771477        var vFrm = document.getAnonymousElementByAttribute(vWspView, "anonid", "iframe"); 
    14781478        vFrm.webNavigation.loadURI(vUrl, 0, null, null, null); 
Note: See TracChangeset for help on using the changeset viewer.