Changeset 7022

Show
Ignore:
Timestamp:
25.10.2006 18:22:20 (3 years ago)
Author:
sam
Message:

Ticket #54 - uiFrame en frameset ne marche pas sous safari

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_transparentUiFrame.xml

    r6420 r7022  
    124124                </affichage>             
    125125 
     126                <affichage code="blank"> 
     127                        <urlPage type="xpath-dynamique">si(resultatAgent('//agentGenerator', 'standard/xslMethod') = 'html', 'ui.doss/site/blank.html', 'ui.doss/site/blank.xhtml')</urlPage> 
     128                        <page> 
     129                                <modele></modele> 
     130                                <zone cle="mainZone" type="contextuel-dynamique"> 
     131                                        <choose> 
     132                                                <case xpath="resultatAgent('//agentGenerator', 'standard') = 'HTML 4.01 Transitional'"> 
     133                                                        <source><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
     134<html> 
     135        <head> 
     136                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
     137                <title></title> 
     138        </head> 
     139        <body></body> 
     140</html>]]></source> 
     141                                                </case> 
     142                                                <default> 
     143                                                        <source><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     144<html> 
     145        <head> 
     146                <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8"> 
     147                <title></title> 
     148        </head> 
     149        <body></body> 
     150</html>]]></source> 
     151                                                </default> 
     152                                        </choose> 
     153                                </zone> 
     154                        </page> 
     155                </affichage>             
     156 
    126157                <affichage code="index"> 
    127158                        <urlPage type="xpath-dynamique">si(resultatAgent('//agentGenerator', 'standard/xslMethod') = 'html', 'ui.doss/site/index.html.wm', 'ui.doss/site/index.xhtml.wm')</urlPage> 
     
    137168        [![agent=includeHead]!] 
    138169        </head> 
    139         <body style="overflow: hidden; border:none; padding:0px; margin:0px;" onload="scOnLoad();" onunload="scOnUnload();"><iframe id="mainFrame" src="" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe></body>   
     170        <body style="overflow: hidden; border:none; padding:0px; margin:0px;" onload="scOnLoad();" onunload="scOnUnload();"><iframe id="mainFrame" src="blank.html" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe></body>         
    140171</html>]]></source> 
    141172                                                </case> 
     
    147178        [![agent=includeHead]!] 
    148179        </head> 
    149         <frameset onload="scOnLoad();" onunload="scOnUnload();"><frame id="mainFrame" name="mainFrame" src="" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0"></frame></frameset>      
    150 </html>]]></source> 
    151                                                 </case> 
    152                                                 <case xpath="resultatAgent('//isIframe')='true'" type="inclusion-dynamique"><source><![CDATA[<?xml version="1.0" encoding="UTF-8"?> 
     180        <frameset onload="scOnLoad();" onunload="scOnUnload();"><frame id="mainFrame" name="mainFrame" src="blank.html" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0"></frame></frameset>    
     181</html>]]></source> 
     182                                                </case> 
     183                                                <case xpath="resultatAgent('//isIframe')='true'" type="inclusion-dynamique"> 
     184                                                        <source><![CDATA[<?xml version="1.0" encoding="UTF-8"?> 
    153185<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    154186<html xmlns="http://www.w3.org/1999/xhtml"> 
     
    157189        [![agent=includeHead]!] 
    158190        </head> 
    159         <body style="overflow: hidden; border:none; padding:0px; margin:0px;" onload="scOnLoad();" onunload="scOnUnload();"><iframe id="mainFrame" src="" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe></body>   
     191        <body style="overflow: hidden; border:none; padding:0px; margin:0px;" onload="scOnLoad();" onunload="scOnUnload();"><iframe id="mainFrame" src="blank.xhtml" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe></body>        
    160192</html>]]></source> 
    161193                                                </case> 
    162194                                                <case xpath="resultatAgent('//isFramset')='true'" type="inclusion-dynamique"> 
    163                                                         <source><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
    164 <html> 
    165         <head> 
    166                 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    167         [![agent=includeHead]!] 
    168         </head> 
    169         <frameset onload="scOnLoad();" onunload="scOnUnload();"><frame id="mainFrame" name="mainFrame" src="" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0"></frame></frameset>      
    170 </html>]]></source> 
    171                                                 </case> 
    172                                                 <case xpath="resultatAgent('//agentGenerator', 'standard') = 'HTML 4.01 Transitional'"><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
    173 <html> 
    174         <head> 
    175                 <title></title> 
    176                 <meta http-equiv="Refresh" content="0;URL=$vDialog.hGetResultat('/@@', 'act:')"></meta> 
    177         </head> 
    178         <body> 
    179         </body> 
    180 </html>                                                                          
    181                                                 ]]></case> 
    182                                                 <default><![CDATA[<?xml version="1.0" encoding="UTF-8"?> 
     195                                                        <source><![CDATA[<?xml version="1.0" encoding="UTF-8"?> 
    183196<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    184197<html xmlns="http://www.w3.org/1999/xhtml"> 
    185198        <head> 
     199                <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8"> 
     200        [![agent=includeHead]!] 
     201        </head> 
     202        <frameset onload="scOnLoad();" onunload="scOnUnload();"><frame id="mainFrame" name="mainFrame" src="blank.xhtml" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0"></frame></frameset>   
     203</html>]]></source> 
     204                                                </case> 
     205                                                <case xpath="resultatAgent('//agentGenerator', 'standard') = 'HTML 4.01 Transitional'"> 
     206                                                        <source><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
     207<html> 
     208        <head> 
     209                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
     210                <meta http-equiv="Refresh" content="0;URL=$vDialog.hGetResultat('/@@', 'act:')"></meta> 
    186211                <title></title> 
     212        </head> 
     213        <body></body> 
     214</html>]]></source> 
     215                                                </case> 
     216                                                <default> 
     217                                                        <source><![CDATA[<?xml version="1.0" encoding="UTF-8"?> 
     218<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     219<html xmlns="http://www.w3.org/1999/xhtml"> 
     220        <head> 
     221                <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8"> 
    187222                <meta http-equiv="Refresh" content="0;URL=$vDialog.hGetResultat('/@@', 'act:')"></meta> 
    188         </head> 
    189         <body> 
    190         </body> 
    191 </html>]]></default> 
     223                <title></title> 
     224        </head> 
     225        <body></body> 
     226</html>]]></source> 
     227                                                </default> 
    192228                                        </choose> 
    193229                                </zone> 
     
    197233                                        <c:composition xmlns:c="composition"> 
    198234                <title>$vGeneratorUtils.escapeHtml($vGeneratorUtils.resultatAgent('@@/contentRoot', 'fullTitleText'))</title> 
    199                                                  
    200                 <c:if test="sm:styleResources/@favicon != ''" type="xpath-statique"> 
    201                    #set $vUrlIcon = "<c:donnee type="xpath-statique">sm:styleResources/@favicon</c:donnee>" 
    202                   <link rel="shortcut icon" test="$vUrlIcon" href="$vGeneratorUtils.translatePubUri2DestUrl($vUrlIcon)" type="image/x-icon"/> 
    203                 </c:if> 
    204                                                                                                  
     235 
     236<c:if test="sm:styleResources/@favicon != ''" type="xpath-statique">#set $vUrlIcon = "<c:donnee type="xpath-statique">sm:styleResources/@favicon</c:donnee>" 
     237          <link rel="shortcut icon" test="$vUrlIcon" href="$vGeneratorUtils.translatePubUri2DestUrl($vUrlIcon)" type="image/x-icon"/> 
     238</c:if> 
    205239                <script type="text/JavaScript"> 
    206240                        var scServices = [];