Ignore:
Timestamp:
02/18/08 14:41:40 (4 years ago)
Author:
anp
Message:

debug mauvaise gestion des ODG (regression introduite par [1192])

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/model/sources/academic/gen/_od/transf/Re/res.transf

    r1216 r1231  
    1212                                <sm:callSubModel/> 
    1313                        </sm:for> 
    14                         <sm:for codes="form tab img"> 
    15                                 <!--# Crédit--> 
    16                                 <sm:dataBlock category="cprRes"> 
    17                                         <sm:blockId> 
    18                                                 <sm:subModelId/> 
    19                                         </sm:blockId> 
    20                                         <sm:label> 
    21                                                 <sm:title> 
    22                                                         <sm:subModelTitle/> 
    23                                                 </sm:title> 
    24                                         </sm:label> 
    25                                         <sm:data> 
    26                                                 <sm:callSubModelMeta axis="credit"/> 
    27                                         </sm:data> 
    28                                 </sm:dataBlock> 
    29                                 <!--# Ressource--> 
    30                                 <sm:dataBlock category="res"> 
    31                                         <sm:overrideContentDeclaration> 
    32                                                 <sm:callBlockData/> 
    33                                         </sm:overrideContentDeclaration> 
    34                                         <sm:blockId> 
    35                                                 <sm:subModelId/> 
    36                                         </sm:blockId> 
    37                                         <sm:label> 
    38                                                 <sm:title> 
    39                                                         <sm:subModelTitle/> 
    40                                                 </sm:title> 
    41                                         </sm:label> 
    42                                         <sm:data> 
    43                                                 <sm:Widget sc:refUri="/academic/gen/_od/widgets/res.odwidget"> 
    44                                                         <sm:odContentZone key="title"> 
    45                                                                 <sm:title> 
    46                                                                         <sm:subModelTitle/> 
    47                                                                 </sm:title> 
    48                                                         </sm:odContentZone> 
    49                                                         <sm:odContentZone key="content"> 
    50                                                                 <sm:callSubModel/> 
    51                                                         </sm:odContentZone> 
    52                                                 </sm:Widget> 
    53                                         </sm:data> 
    54                                 </sm:dataBlock> 
    55                         </sm:for> 
    56                         <sm:for codes="graph vid int simu"> 
     14                        <sm:for codes="form tab img graph vid int simu"> 
    5715                                <sm:choose> 
    5816                                        <!--Présence de ressource alternative--> 
     
    9048                                                </sm:dataBlock> 
    9149                                        </sm:when> 
     50                                        <!--# si pas d'alternative, on n'affiche que les res connues 
     51Graph : cas particulier car contient ODG et SWF--> 
     52                                        <sm:when xpath="(name()!='sp:graph' and name()!='sp:vid' and name()!='int' and name()!='simu') or typeAgent(normalize-space($vContentAgt))='sfile_odg'"> 
     53                                                <!--# Crédit--> 
     54                                                <sm:dataBlock category="cprRes"> 
     55                                                        <sm:blockId> 
     56                                                                <sm:subModelId/> 
     57                                                        </sm:blockId> 
     58                                                        <sm:label> 
     59                                                                <sm:title> 
     60                                                                        <sm:subModelTitle/> 
     61                                                                </sm:title> 
     62                                                        </sm:label> 
     63                                                        <sm:data> 
     64                                                                <sm:callSubModelMeta axis="credit"/> 
     65                                                        </sm:data> 
     66                                                </sm:dataBlock> 
     67                                                <!--# Ressource--> 
     68                                                <sm:dataBlock category="res"> 
     69                                                        <sm:overrideContentDeclaration> 
     70                                                                <sm:callBlockData/> 
     71                                                        </sm:overrideContentDeclaration> 
     72                                                        <sm:blockId> 
     73                                                                <sm:subModelId/> 
     74                                                        </sm:blockId> 
     75                                                        <sm:label> 
     76                                                                <sm:title> 
     77                                                                        <sm:subModelTitle/> 
     78                                                                </sm:title> 
     79                                                        </sm:label> 
     80                                                        <sm:data> 
     81                                                                <sm:Widget sc:refUri="/academic/gen/_od/widgets/res.odwidget"> 
     82                                                                        <sm:odContentZone key="title"> 
     83                                                                                <sm:title> 
     84                                                                                        <sm:subModelTitle/> 
     85                                                                                </sm:title> 
     86                                                                        </sm:odContentZone> 
     87                                                                        <sm:odContentZone key="content"> 
     88                                                                                <sm:callSubModel/> 
     89                                                                        </sm:odContentZone> 
     90                                                                </sm:Widget> 
     91                                                        </sm:data> 
     92                                                </sm:dataBlock> 
     93                                        </sm:when> 
    9294                                </sm:choose> 
    9395                        </sm:for> 
Note: See TracChangeset for help on using the changeset viewer.