Changeset 9605

Show
Ignore:
Timestamp:
05.09.2007 11:37:32 (3 years ago)
Author:
sam
Message:

Simplification des widgets: suppr des *listZones.

Location:
trunk/Wsp_Modeling
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/es/content/organisation/compositionXhtmlTransf/xml.xed.xml

    r9286 r9605  
    600600                                                <element se:name="sm:xhtmlContentZone" se:bind="element" forcefilled="true"> 
    601601                                                        <atts> 
    602                                                                 <attribute se:name="key" se:bind="attribute"> 
    603                                                                         <wordsInput trim="true"/> 
     602                                                                <attribute se:name="key" se:bind="attribute" se:mandat="true"> 
     603                                                                        <wordsInput trim="true" notnull="true"/> 
    604604                                                                </attribute> 
    605605                                                        </atts> 
     
    609609                                                        </childs> 
    610610                                                </element> 
    611                                                 <element se:name="sm:xhtmlContentListZones" se:bind="element" forcefilled="true"> 
    612                                                         <atts> 
    613                                                                 <attribute se:name="key" se:bind="attribute"> 
    614                                                                         <wordsInput trim="true"/> 
    615                                                                 </attribute> 
    616                                                         </atts> 
    617                                                         <childs> 
    618                                                                 <element se:name="sm:xhtmlContentZone" se:bind="element" se:card="+"> 
    619                                                                         <childs> 
    620                                                                                 <se:ref se:refid="choiceContent_Ctx"/> 
    621                                                                                 <insert se:bind="current"/> 
    622                                                                         </childs> 
    623                                                                 </element> 
    624                                                                 <insert se:bind="current"/> 
    625                                                         </childs> 
    626                                                 </element> 
    627611                                                <element se:name="sm:urlZone" se:bind="element"> 
    628612                                                        <atts> 
    629                                                                 <attribute se:name="key" se:bind="attribute"> 
    630                                                                         <wordsInput trim="true"/> 
     613                                                                <attribute se:name="key" se:bind="attribute" se:mandat="true"> 
     614                                                                        <wordsInput trim="true" notnull="true"/> 
    631615                                                                </attribute> 
    632616                                                        </atts> 
     
    637621                                                                        </childs> 
    638622                                                                </element> 
    639                                                         </childs> 
    640                                                 </element> 
    641                                                 <element se:name="sm:urlListZones" se:bind="element"> 
    642                                                         <atts> 
    643                                                                 <attribute se:name="key" se:bind="attribute"> 
    644                                                                         <wordsInput trim="true"/> 
    645                                                                 </attribute> 
    646                                                         </atts> 
    647                                                         <childs> 
    648                                                                 <element se:name="sm:urlZone" se:bind="element" se:card="+"> 
    649                                                                         <childs> 
    650                                                                                 <element se:name="sm:link" se:bind="element" forcefilled="true"> 
    651                                                                                         <childs> 
    652                                                                                                 <se:ref se:refid="choiceLink_Ctx"/> 
    653                                                                                         </childs> 
    654                                                                                 </element> 
    655                                                                         </childs> 
    656                                                                 </element> 
    657                                                                 <insert se:bind="current"/> 
    658623                                                        </childs> 
    659624                                                </element> 
     
    10611026                                                <element se:name="sm:xhtmlContentZone" se:bind="element" forcefilled="true"> 
    10621027                                                        <atts> 
    1063                                                                 <attribute se:name="key" se:bind="attribute"> 
    1064                                                                         <wordsInput trim="true"/> 
     1028                                                                <attribute se:name="key" se:bind="attribute" se:mandat="true"> 
     1029                                                                        <wordsInput trim="true" notnull="true"/> 
    10651030                                                                </attribute> 
    10661031                                                        </atts> 
     
    10701035                                                        </childs> 
    10711036                                                </element> 
    1072                                                 <element se:name="sm:xhtmlContentListZones" se:bind="element" forcefilled="true"> 
    1073                                                         <atts> 
    1074                                                                 <attribute se:name="key" se:bind="attribute"> 
    1075                                                                         <wordsInput trim="true"/> 
    1076                                                                 </attribute> 
    1077                                                         </atts> 
    1078                                                         <childs> 
    1079                                                                 <se:choice se:card="*" se:show="ifExist"> 
    1080                                                                         <element se:name="sm:xhtmlContentZone" se:bind="element" forcefilled="true"> 
    1081                                                                                 <childs> 
    1082                                                                                         <se:ref se:refid="choiceContent_Fix"/> 
    1083                                                                                         <insert se:bind="current"/> 
    1084                                                                                 </childs> 
    1085                                                                         </element> 
    1086                                                                         <element se:name="sm:for" se:bind="element" forcefilled="true"> 
    1087                                                                                 <atts> 
    1088                                                                                         <se:ref se:refid="att_codes-for"/> 
    1089                                                                                 </atts> 
    1090                                                                                 <childs> 
    1091                                                                                         <element se:name="sm:xhtmlContentZone" se:bind="element" se:card="*" forcefilled="true"> 
    1092                                                                                                 <childs se:card="*" se:show="ifExist"> 
    1093                                                                                                         <se:ref se:refid="choiceContent_Ctx"/> 
    1094                                                                                                         <insert se:bind="current"/> 
    1095                                                                                                 </childs> 
    1096                                                                                         </element> 
    1097                                                                                         <insert se:bind="current"/> 
    1098                                                                                 </childs> 
    1099                                                                         </element> 
    1100                                                                 </se:choice> 
    1101                                                                 <insert se:bind="current"/> 
    1102                                                         </childs> 
    1103                                                 </element> 
    11041037                                                <element se:name="sm:urlZone" se:bind="element"> 
    11051038                                                        <atts> 
    1106                                                                 <attribute se:name="key" se:bind="attribute"> 
    1107                                                                         <wordsInput trim="true"/> 
     1039                                                                <attribute se:name="key" se:bind="attribute" se:mandat="true"> 
     1040                                                                        <wordsInput trim="true" notnull="true"/> 
    11081041                                                                </attribute> 
    11091042                                                        </atts> 
     
    11141047                                                                        </childs> 
    11151048                                                                </element> 
    1116                                                         </childs> 
    1117                                                 </element> 
    1118                                                 <element se:name="sm:urlListZones" se:bind="element"> 
    1119                                                         <atts> 
    1120                                                                 <attribute se:name="key" se:bind="attribute"> 
    1121                                                                         <wordsInput trim="true"/> 
    1122                                                                 </attribute> 
    1123                                                         </atts> 
    1124                                                         <childs> 
    1125                                                                 <se:choice se:card="*" se:show="ifExist"> 
    1126                                                                         <element se:name="sm:urlZone" se:bind="element"> 
    1127                                                                                 <childs> 
    1128                                                                                         <se:ref se:refid="choiceLink_Fix"/> 
    1129                                                                                 </childs> 
    1130                                                                         </element> 
    1131                                                                         <element se:name="sm:for" se:bind="element"> 
    1132                                                                                 <atts> 
    1133                                                                                         <se:ref se:refid="att_codes-for"/> 
    1134                                                                                 </atts> 
    1135                                                                                 <childs> 
    1136                                                                                         <element se:name="sm:urlZone" se:bind="element" se:card="*"> 
    1137                                                                                                 <childs> 
    1138                                                                                                         <element se:name="sm:link" se:bind="element" forcefilled="true"> 
    1139                                                                                                                 <childs> 
    1140                                                                                                                         <se:ref se:refid="choiceLink_Ctx"/> 
    1141                                                                                                                 </childs> 
    1142                                                                                                         </element> 
    1143                                                                                                 </childs> 
    1144                                                                                         </element> 
    1145                                                                                         <insert se:bind="current"/> 
    1146                                                                                 </childs> 
    1147                                                                         </element> 
    1148                                                                 </se:choice> 
    1149                                                                 <insert se:bind="current"/> 
    11501049                                                        </childs> 
    11511050                                                </element> 
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_compositionXhtmlTransf/bs.xml.xsl

    r9418 r9605  
    755755                </valeur> 
    756756        </xsl0:template> 
    757         <xsl0:template match="sm:xhtmlContentListZones" mode="agentsWidgetZones"> 
    758                 <set code="xhtmlContentZone_{@key}"> 
    759                         <xsl0:apply-templates mode="agentsWidgetZones"/> 
    760                 </set> 
    761         </xsl0:template> 
    762757        <xsl0:template match="sm:urlZone" mode="agentsWidgetZones"> 
    763758                <xsl0:param name="pPath"/> 
     
    771766                        </source> 
    772767                </valeur> 
    773         </xsl0:template> 
    774         <xsl0:template match="sm:urlListZones" mode="agentsWidgetZones"> 
    775                 <set code="urlZone_{@key}"> 
    776                         <xsl0:apply-templates mode="agentsWidgetZones"/> 
    777                 </set> 
    778768        </xsl0:template> 
    779769        <xsl0:template match="sm:for" mode="agentsWidgetZones">