Changeset 1231


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

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

Location:
trunk/model/sources/academic/gen/_od/transf/Re
Files:
2 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> 
  • trunk/model/sources/academic/gen/_od/transf/Re/res@notImp.transf

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