Ignore:
Timestamp:
02/14/07 10:59:04 (5 years ago)
Author:
sam
Message:

Ajout sm:callModel/sm:lookForAscendants dans: sm:binaryXhtmlTransf, sm:webSiteToWebSiteGenTransf, sm:xhtmlToOdGenTransf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/es/content/transf/webSiteToWebSiteGenTransf/xml.xed.xml

    r7733 r8599  
    4848         
    4949        <se:lib> 
     50 
     51                <attribute se:id="att_axis" se:bind="attribute" se:name="axis"> 
     52                        <wordsInput trim="true" filterRegExp="^[a-zA-Z0-9]+$" autocompleteProviderXPath="id('axis')"/> 
     53                </attribute> 
     54                 
    5055                <se:template se:id="atts_Class"> 
    5156                        <attribute se:name="internalClass" se:bind="attribute"> 
     
    6873        <xmlview se:bind="document"> 
    6974                <wspInputHistoryProvider code="axisXhtml" id="axis"/> 
    70                 <element insert="collapsed" se:bind="element" se:name="sm:webSiteToWebSiteGenTransf" se:declareNs="sc sm"> 
     75                <element se:name="sm:webSiteToWebSiteGenTransf" insert="collapsed" se:bind="element" se:declareNs="sc sm"> 
    7176                        <atts> 
    72                                 <attribute se:bind="attribute" se:name="info"> 
     77                                <attribute se:name="info" se:bind="attribute"> 
    7378                                        <wordsInput trim="true"/> 
    7479                                </attribute> 
    7580                        </atts> 
    7681                        <childs> 
    77                                 <element se:bind="element" se:name="sm:model"> 
     82                                <element se:name="sm:model" se:bind="element"> 
    7883                                        <atts> 
    79                                                 <ptritem se:bind="plugin" se:attributes="sc:refUri" class="xmlview" notnull="true" regexpSgn=".*#Class\b.*"/> 
     84                                                <ptritem se:attributes="sc:refUri" se:bind="plugin" class="xmlview" notnull="true" regexpSgn=".*#Class\b.*"/> 
    8085                                        </atts> 
    8186                                </element> 
    8287                                <element se:name="sm:axis" se:bind="element" se:card="?"> 
    8388                                        <atts> 
    84                                                 <attribute se:bind="attribute" se:name="code"> 
     89                                                <attribute se:name="code" se:bind="attribute"> 
    8590                                                        <wordsInput trim="true" filterRegExp="^[a-zA-Z0-9]+$" autocompleteProviderXPath="id('axis')"/> 
    8691                                                </attribute> 
    8792                                        </atts> 
    8893                                </element> 
    89                                 <element se:bind="element" se:name="sm:generatorToCall"> 
     94                                <element se:name="sm:generatorToCall" se:bind="element"> 
    9095                                        <atts> 
    91                                                 <ptritem se:bind="plugin" se:attributes="sc:refUri" class="xmlview" notnull="true" regexpSgn=".*@sm_webSiteGenerator\b.*"/> 
     96                                                <ptritem se:attributes="sc:refUri" se:bind="plugin" class="xmlview" notnull="true" regexpSgn=".*@sm_webSiteGenerator\b.*"/> 
    9297                                        </atts> 
    9398                                </element> 
    9499                                <alternative se:bind="choice"> 
    95                                         <element se:bind="element" se:name="sm:xhtmlContent" insert="collapsed"> 
     100                                        <element se:name="sm:xhtmlContent" se:bind="element" insert="collapsed"> 
    96101                                                <childs> 
    97102                                                        <se:choice se:id="content_choice" se:card="*" se:show="ifExist"> 
     
    127132                                                                                                                                                </choiceInput> 
    128133                                                                                                                                        </attribute> 
    129                                                                                                                                         <attribute se:name="axis" se:bind="attribute"> 
    130                                                                                                                                                 <wordsInput trim="true" filterRegExp="^[a-zA-Z0-9]+$" autocompleteProviderXPath="id('axis')"/> 
    131                                                                                                                                         </attribute> 
     134                                                                                                                                        <se:ref se:refid="att_axis"/> 
    132135                                                                                                                                </atts> 
    133136                                                                                                                        </element> 
     
    143146                                                                                                        <element se:id="sm:callModelMeta" se:name="sm:callModelMeta" se:bind="element" forcefilled="true"> 
    144147                                                                                                                <atts> 
    145                                                                                                                         <attribute se:name="axis" se:bind="attribute"> 
    146                                                                                                                                 <wordsInput trim="true" filterRegExp="^[a-zA-Z0-9]+$"  autocompleteProviderXPath="id('axis')"/> 
    147                                                                                                                         </attribute> 
     148                                                                                                                        <se:ref se:refid="att_axis"/> 
    148149                                                                                                                </atts> 
    149150                                                                                                        </element> 
    150151                                                                                                        <element se:id="sm:callModel" se:name="sm:callModel" se:bind="element" forcefilled="true"> 
    151152                                                                                                                <childs> 
    152                                                                                                                         <alternative se:bind="choice"> 
     153                                                                                                                        <alternativeAlone se:bind="choice"> 
    153154                                                                                                                                <element se:name="sm:root" se:bind="element" forcefilled="true"> 
    154155                                                                                                                                        <atts> 
    155                                                                                                                                                 <attribute se:name="axis" se:bind="attribute" se:mandat="true"> 
    156                                                                                                                                                         <wordsInput trim="true" filterRegExp="^[a-zA-Z0-9]+$" autocompleteProviderXPath="id('axis')"/> 
     156                                                                                                                                                <se:ref se:refid="att_axis"/> 
     157                                                                                                                                        </atts> 
     158                                                                                                                                </element> 
     159                                                                                                                                <element se:name="sm:current" se:bind="element" forcefilled="true"> 
     160                                                                                                                                        <atts> 
     161                                                                                                                                                <se:ref se:refid="att_axis"/> 
     162                                                                                                                                        </atts> 
     163                                                                                                                                </element> 
     164                                                                                                                                <element se:name="sm:lookForAscendants" se:bind="element" forcefilled="true"> 
     165                                                                                                                                        <atts> 
     166                                                                                                                                                <attribute se:bind="attribute" se:name="direction" se:defaultvalue="currentToRoot"> 
     167                                                                                                                                                        <choiceInput> 
     168                                                                                                                                                                <ciItem label="currentToRoot"/> 
     169                                                                                                                                                                <ciItem label="rootToCurrent"/> 
     170                                                                                                                                                        </choiceInput> 
    157171                                                                                                                                                </attribute> 
    158                                                                                                                                         </atts> 
    159                                                                                                                                 </element> 
    160                                                                                                                                 <element se:name="sm:current" se:bind="element" forcefilled="true"> 
    161                                                                                                                                         <atts> 
    162                                                                                                                                                 <attribute se:name="axis" se:bind="attribute" se:mandat="true"> 
    163                                                                                                                                                         <wordsInput trim="true" filterRegExp="^[a-zA-Z0-9]+$" autocompleteProviderXPath="id('axis')"/> 
    164                                                                                                                                                 </attribute> 
    165                                                                                                                                         </atts> 
     172                                                                                                                                                <se:ref se:refid="att_axis"/> 
     173                                                                                                                                        </atts> 
     174                                                                                                                                        <childs> 
     175                                                                                                                                                <element se:name="sm:callableModel" se:bind="element" se:card="+"> 
     176                                                                                                                                                        <atts> 
     177                                                                                                                                                                <ptritem se:bind="plugin" se:attributes="sc:refUri" class="xmlview" notnull="true" regexpSgn=".*#Class\b[\w:]*:Content.*"/> 
     178                                                                                                                                                        </atts> 
     179                                                                                                                                                </element> 
     180                                                                                                                                                <insert se:bind="current"/> 
     181                                                                                                                                        </childs> 
    166182                                                                                                                                </element> 
    167183                                                                                                                                <element se:name="sm:agentPath" se:bind="element" forcefilled="true"> 
     
    180196                                                                                                                                        </childs> 
    181197                                                                                                                                </element> 
    182                                                                                                                         </alternative> 
     198                                                                                                                        </alternativeAlone> 
    183199                                                                                                                </childs> 
    184200                                                                                                        </element> 
Note: See TracChangeset for help on using the changeset viewer.