Ignore:
Timestamp:
02/07/08 18:49:13 (4 years ago)
Author:
sys
Message:

Suppression de webMacro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/es/content/uiTemplate/freeUiTemplate/xml.xed.xml

    r10307 r10487  
    4141                        xmlns:se="http://www.utc.fr/ics/scenari/v3/editing" 
    4242                        xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" 
     43                        xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    4344                        se:namespaces="true"> 
    4445        <xmlview se:bind="document"> 
     
    6061                                        </atts> 
    6162                                </element> 
    62                                 <se:choice se:card="+"> 
    63                                         <element se:bind="element" se:name="sm:templateWebMacroXhtml"> 
    64                                                 <atts> 
    65                                                         <attribute se:bind="attribute" se:name="code" se:defaultvalue="*" se:mandat="true"> 
    66                                                                 <wordsInput notnull="true" trim="true" filterRegExp="^\*|[a-zA-Z0-9]+$"/> 
    67                                                         </attribute> 
    68                                                         <attribute se:bind="attribute" se:name="templateEncoding" se:mandat="true" se:defaultvalue="ISO-8859-1"> 
    69                                                                 <wordsInput trim="true" notnull="true"/> 
    70                                                         </attribute> 
    71                                                         <attribute se:bind="attribute" se:name="resultEncoding" se:mandat="true" se:defaultvalue="ISO-8859-1"> 
    72                                                                 <wordsInput trim="true" notnull="true"/> 
    73                                                         </attribute> 
    74                                                         <attribute se:bind="attribute" se:name="resultExtension" se:mandat="true" se:defaultvalue=".html"> 
    75                                                                 <wordsInput trim="true" notnull="true"/> 
    76                                                         </attribute> 
    77                                                         <attribute se:name="pageUnicityCriterion" se:bind="attribute"  se:defaultvalue="hierarchicalContext"> 
    78                                                                 <choiceInput notnull="true"> 
    79                                                                         <ciItem label="none"/> 
    80                                                                         <ciItem label="hierarchicalContext"/> 
    81                                                                 </choiceInput> 
    82                                                         </attribute> 
     63                                <alternativeAlone se:bind="choice"> 
     64                                        <element se:bind="element" se:name="sm:templateXsl"> 
     65                                                <atts orient="vertical" align="start"> 
     66                                                        <hbox> 
     67                                                                <attribute se:bind="attribute" se:name="templateEncoding" se:mandat="true" se:defaultvalue="UTF-8"> 
     68                                                                        <wordsInput trim="true" notnull="true"/> 
     69                                                                </attribute> 
     70                                                                <attribute se:name="pageUnicityCriterion" se:bind="attribute"  se:defaultvalue="hierarchicalContext"> 
     71                                                                        <choiceInput notnull="true"> 
     72                                                                                <ciItem label="none"/> 
     73                                                                                <ciItem label="hierarchicalContext"/> 
     74                                                                        </choiceInput> 
     75                                                                </attribute> 
     76                                                        </hbox> 
     77                                                        <hbox> 
     78                                                                <attribute se:bind="attribute" se:name="resultEncoding" se:mandat="true" se:defaultvalue="UTF-8"> 
     79                                                                        <wordsInput trim="true" notnull="true"/> 
     80                                                                </attribute> 
     81                                                                <attribute se:bind="attribute" se:name="resultExtension" se:mandat="true" se:defaultvalue=".html"> 
     82                                                                        <wordsInput trim="true" notnull="true"/> 
     83                                                                </attribute> 
     84                                                                <attribute se:bind="attribute" se:name="resultXslMethod" se:mandat="true" se:defaultvalue="html"> 
     85                                                                        <wordsInput trim="true" notnull="true"/> 
     86                                                                </attribute> 
     87                                                        </hbox> 
     88                                                        <hbox> 
     89                                                                <attribute se:bind="attribute" se:name="resultDocTypePublic"> 
     90                                                                        <wordsInput trim="true"/> 
     91                                                                </attribute> 
     92                                                                <attribute se:bind="attribute" se:name="resultDocTypeSystem"> 
     93                                                                        <wordsInput trim="true"/> 
     94                                                                </attribute> 
     95                                                        </hbox> 
    8396                                                </atts> 
    8497                                                <childs> 
    8598                                                        <element se:bind="element" se:name="sm:contentTemplate"> 
    8699                                                                <atts> 
    87                                                                         <ptritem se:bind="plugin" se:attributes="sc:refUri" class="xmlview" notnull="true" regexpSgn=".*@sc_webmacro\b.*"/> 
     100                                                                        <ptritem se:bind="plugin" se:attributes="sc:refUri" class="xmlview" notnull="true" regexpSgn=".*@sc_xsl\b.*"/> 
    88101                                                                </atts> 
    89102                                                                <!--<childs> 
     
    92105                                                                        </textnode> 
    93106                                                                </childs>--> 
    94                                                         </element> 
    95                                                         <element se:name="sm:customizableStyle" se:bind="element" se:card="?"> 
    96                                                                 <childs> 
    97                                                                         <textnode se:bind="text"> 
    98                                                                                 <textpanelInput filterspaces="false"/> 
    99                                                                         </textnode> 
    100                                                                 </childs> 
    101                                                         </element> 
    102                                                         <element se:name="sm:customizableStylePreview" se:bind="element" se:card="?"> 
    103                                                                 <childs> 
    104                                                                         <textnode se:bind="text"> 
    105                                                                                 <textpanelInput filterspaces="false"/> 
    106                                                                         </textnode> 
    107                                                                 </childs> 
    108107                                                        </element> 
    109108                                                        <se:choice se:card="*"> 
     
    118117                                                                                                                <ciItem label="xhtmlContent"/> 
    119118                                                                                                                <ciItem label="navigation"/> 
     119                                                                                                                <ciItem label="title"/> 
    120120                                                                                                        </choiceInput> 
    121121                                                                                                </attribute> 
     
    136136                                                                        </atts> 
    137137                                                                </element> 
    138                                                                 <element se:name="sm:postXsl" se:bind="element" se:show="ifExist" forcefilled="true"> 
     138                                                                <element se:id="sm:postXsl" se:name="sm:postXsl" se:bind="element" se:show="ifExist" forcefilled="true"> 
    139139                                                                        <atts> 
    140140                                                                                <attribute se:bind="attribute" se:name="key" se:mandat="true"> 
    141                                                                                         <wordsInput trim="true" notnull="true"/> 
     141                                                                                        <wordsInput trim="true" notnull="true" autocompleteProviderXPath="../xul:fixedProvider"/> 
     142                                                                                                <fixedProvider> 
     143                                                                                                        <fpItem value="xhtml"/> 
     144                                                                                                </fixedProvider> 
    142145                                                                                </attribute> 
    143146                                                                        </atts> 
     
    177180                                                </childs> 
    178181                                        </element> 
    179                                         <!-- 
    180                                         <element se:bind="element" se:name="sm:templateWebMacro"> 
     182                                        <element se:bind="element" se:name="sm:templateWebMacroXhtml"> 
    181183                                                <atts> 
    182                                                         <attribute se:bind="attribute" se:name="code" se:defaultvalue="*" se:mandat="true"> 
    183                                                                 <wordsInput notnull="true" trim="true" filterRegExp="^\*|[a-zA-Z0-9]+$"/> 
    184                                                         </attribute> 
    185                                                         <attribute se:bind="attribute" se:name="templateEncoding"> 
    186                                                                 <wordsInput trim="true"/> 
    187                                                         </attribute> 
    188                                                         <attribute se:bind="attribute" se:name="resultEncoding"> 
    189                                                                 <wordsInput trim="true"/> 
    190                                                         </attribute> 
    191                                                         <attribute se:bind="attribute" se:name="resultExtension"> 
    192                                                                 <wordsInput trim="true"/> 
     184                                                        <!-- attribut code PLUS UTILISE : à virer dans une migration. --> 
     185                                                        <attribute se:bind="attribute" se:name="code" se:defaultvalue="*" se:mandat="false" se:show="ifExist"> 
     186                                                                <wordsInput/> 
     187                                                        </attribute> 
     188                                                        <attribute se:bind="attribute" se:name="templateEncoding" se:mandat="true" se:defaultvalue="ISO-8859-1"> 
     189                                                                <wordsInput trim="true" notnull="true"/> 
     190                                                        </attribute> 
     191                                                        <attribute se:bind="attribute" se:name="resultEncoding" se:mandat="true" se:defaultvalue="ISO-8859-1"> 
     192                                                                <wordsInput trim="true" notnull="true"/> 
     193                                                        </attribute> 
     194                                                        <attribute se:bind="attribute" se:name="resultExtension" se:mandat="true" se:defaultvalue=".html"> 
     195                                                                <wordsInput trim="true" notnull="true"/> 
     196                                                        </attribute> 
     197                                                        <attribute se:name="pageUnicityCriterion" se:bind="attribute"  se:defaultvalue="hierarchicalContext"> 
     198                                                                <choiceInput notnull="true"> 
     199                                                                        <ciItem label="none"/> 
     200                                                                        <ciItem label="hierarchicalContext"/> 
     201                                                                </choiceInput> 
    193202                                                        </attribute> 
    194203                                                </atts> 
     
    198207                                                                        <ptritem se:bind="plugin" se:attributes="sc:refUri" class="xmlview" notnull="true" regexpSgn=".*@sc_webmacro\b.*"/> 
    199208                                                                </atts> 
     209                                                                <!--<childs> 
     210                                                                        <textnode se:bind="text"> 
     211                                                                                <textpanelInput filterspaces="false"/> 
     212                                                                        </textnode> 
     213                                                                </childs>--> 
    200214                                                        </element> 
    201                                                         <se:ref se:refid="sm:calledModels"/> 
     215                                                        <se:choice se:card="*"> 
     216                                                                <se:ref se:refid="sm:calledModels"/> 
     217                                                                <element se:name="sm:calledWidget" se:bind="element" se:show="ifExist" se:card="*" forcefilled="true"> 
     218                                                                        <atts> 
     219                                                                                <ptritem se:bind="plugin" se:attributes="sc:refUri" class="xmlview" notnull="true" regexpSgn=".*#UiWidget.*"/> 
     220                                                                        </atts> 
     221                                                                </element> 
     222                                                                <element se:name="sm:calledZone" se:bind="element" se:show="ifExist" forcefilled="true"> 
     223                                                                        <atts> 
     224                                                                                <attribute se:bind="attribute" se:name="key" se:mandat="true"> 
     225                                                                                        <wordsInput trim="true" notnull="true"/> 
     226                                                                                </attribute> 
     227                                                                        </atts> 
     228                                                                </element> 
     229                                                                <se:ref se:refid="sm:postXsl"/> 
     230                                                        </se:choice> 
    202231                                                        <insert se:bind="current"/> 
    203232                                                </childs> 
    204233                                        </element> 
    205                                                 --> 
    206                                 </se:choice> 
    207                                 <insert se:bind="current"/> 
     234                                </alternativeAlone> 
    208235                        </childs> 
    209236                </element> 
Note: See TracChangeset for help on using the changeset viewer.