Changeset 19662


Ignore:
Timestamp:
02/06/12 11:35:58 (4 months ago)
Author:
sam
Message:

freeUiService : ajout de sm:standardLibraryForService et sm:standardLibraryInPage

Location:
trunk/Wsp_Modeling
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/es/content/uiService/freeUiService/xml.xed.xml

    r16987 r19662  
    1919 * sylvain.spinelli@kelis.fr on behalf of UTC 
    2020 * 
    21  * Portions created by the Initial Developer are Copyright (C) 2006 
     21 * Portions created by the Initial Developer are Copyright (C) 2006-2012 
    2222 * the Initial Developer. All Rights Reserved. 
    2323 * 
    2424 * Contributor(s): 
    25  * 
     25 * samuel.monsarrat@kelis.fr 
    2626 * 
    2727 * Alternatively, the contents of this file may be used under the terms of 
     
    4646                        se:namespaces="true"> 
    4747        <xmlview se:bind="document"> 
    48                 <element insert="collapsed" se:bind="element" se:name="sm:freeUiService" se:declareNs="sc sm"> 
     48                <element se:name="sm:freeUiService" insert="collapsed" se:bind="element" se:declareNs="sc sm"> 
    4949                        <atts> 
    50                                 <attribute se:bind="attribute" se:name="code" se:mandat="true"> 
     50                                <attribute se:name="code" se:bind="attribute" se:mandat="true"> 
    5151                                        <wordsInput trim="true" notnull="true" validRegExp="^[a-zA-Z][a-zA-Z0-9]*$" frenchPonct="false"/> 
    5252                                </attribute> 
    53                                 <attribute se:bind="attribute" se:name="info"> 
     53                                <attribute se:name="info" se:bind="attribute"> 
    5454                                        <wordsInput trim="true"/> 
    5555                                </attribute> 
    5656                        </atts> 
    5757                        <childs> 
    58                                 <element se:bind="element" se:name="sm:publicService" se:card="*"> 
     58                                <element se:name="sm:publicService" se:bind="element" se:card="*"> 
    5959                                        <atts> 
    60                                                 <attribute se:bind="attribute" se:name="key" se:mandat="true"> 
     60                                                <attribute se:name="key" se:bind="attribute" se:mandat="true"> 
    6161                                                        <wordsInput trim="true" notnull="true" validRegExp="^[a-zA-Z][a-zA-Z0-9]*$" frenchPonct="false"/> 
    6262                                                </attribute> 
    6363                                        </atts> 
    6464                                </element> 
    65                                 <element se:bind="element" se:name="sm:serviceFiles" insert="true" se:card="?"> 
     65                                <element se:name="sm:serviceFiles" se:bind="element" insert="true" se:card="?"> 
    6666                                        <atts> 
    6767                                                <ptritem se:name="sc:refUri" se:bind="attribute" class="xmlview" regexpSgn="@sc.doss\b.*"/> 
    6868                                        </atts> 
    6969                                        <childs> 
    70                                                 <element se:id="linkScript" se:bind="element" se:name="sm:linkScriptForDeclaringService" se:card="*"> 
     70                                                <element se:name="sm:linkScriptForDeclaringService" se:id="linkScript" se:bind="element" se:card="*"> 
    7171                                                        <atts> 
    7272                                                                <attribute se:bind="attribute" se:name="path" se:mandat="true"> 
     
    7878                                                        </atts> 
    7979                                                </element> 
    80                                                 <se:ref se:refid="linkScript" se:name="sm:linkScriptForAddingTriggerInPage" /> 
     80                                                <se:ref se:name="sm:linkScriptForAddingTriggerInPage" se:refid="linkScript" /> 
    8181                                                <insert se:bind="current"/> 
    8282                                        </childs> 
    8383                                </element> 
    84                                 <element se:id="script" se:bind="element" se:name="sm:scriptForDeclaringService" se:card="?"> 
     84                                <se:ref se:name="sm:standardLibraryForService" se:refid="standardLibrary" se:refurl="chrome://sm_modeling/content/xEdition/openElts.xed.xml"/> 
     85                                <se:ref se:name="sm:standardLibraryInPage" se:refid="standardLibrary" se:refurl="chrome://sm_modeling/content/xEdition/openElts.xed.xml"/> 
     86                                <insert se:bind="current"/> 
     87                                <element se:name="sm:scriptForDeclaringService" se:id="script" se:bind="element" se:card="?"> 
    8588                                        <childs> 
    8689                                                <textnode se:bind="text"> 
     
    8992                                        </childs> 
    9093                                </element> 
    91                                 <se:ref se:refid="script" se:name="sm:scriptAfterLinksForDeclaringService"/> 
    92                                 <se:ref se:refid="script" se:name="sm:scriptForAddingTriggerInPage"/> 
    93                                 <se:ref se:refid="script" se:name="sm:scriptAfterLinksForAddingTriggerInPage"/> 
    94                                 <element se:bind="element" se:name="sm:rootBsFragment" se:card="?"> 
     94                                <se:ref se:name="sm:scriptAfterLinksForDeclaringService" se:refid="script"/> 
     95                                <se:ref se:name="sm:scriptForAddingTriggerInPage" se:refid="script"/> 
     96                                <se:ref se:name="sm:scriptAfterLinksForAddingTriggerInPage" se:refid="script"/> 
     97                                <element se:name="sm:rootBsFragment" se:bind="element" se:card="?"> 
    9598                                        <childs> 
    9699                                                <textnode se:bind="text"> 
     
    99102                                        </childs> 
    100103                                </element> 
    101                                 <element se:bind="element" se:name="sm:otherServiceNeeded" se:card="*"> 
     104                                <element se:name="sm:otherServiceNeeded" se:bind="element" se:card="*"> 
    102105                                        <atts> 
    103                                                 <attribute se:bind="attribute" se:name="key"> 
     106                                                <attribute se:name="key" se:bind="attribute"> 
    104107                                                        <wordsInput trim="true" frenchPonct="false"/> 
    105108                                                </attribute> 
    106109                                        </atts> 
    107110                                </element> 
    108                                 <element se:bind="element" se:name="sm:otherServiceUsed" se:card="*"> 
     111                                <element se:name="sm:otherServiceUsed" se:bind="element" se:card="*"> 
    109112                                        <atts> 
    110                                                 <attribute se:bind="attribute" se:name="key"> 
     113                                                <attribute se:name="key" se:bind="attribute"> 
    111114                                                        <wordsInput trim="true" frenchPonct="false"/> 
    112115                                                </attribute> 
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs/sm_freeUiService.xml

    r18953 r19662  
    1818 * sylvain.spinelli@kelis.fr on behalf of UTC 
    1919 * 
    20  * Portions created by the Initial Developer are Copyright (C) 2006 
     20 * Portions created by the Initial Developer are Copyright (C) 2006-2012 
    2121 * the Initial Developer. All Rights Reserved. 
    2222 * 
    2323 * Contributor(s): 
    24  * 
     24 * samuel.monsarrat@free.fr 
    2525 * 
    2626 * Alternatively, the contents of this file may be used under the terms of 
     
    5858                <source type="xpathOnSrc-dynamique">execute( 
    5959                        concatExpr(sm:serviceFiles/sm:linkScriptForDeclaringService, setEntryBuffer('js.link', concat(si(@sortKey,concat(@sortKey,'*'),''),resultatAgent('//copyRes'), '/', @path)) ), 
     60                        concatExpr(sm:standardLibraryForService, resultatAgent('//agentGenerator', concat('fillBuffer', @codeLib))), 
    6061                        concatExpr(sm:scriptForDeclaringService, setEntryBuffer('js', string(.)) ), 
    6162                        concatExpr(sm:scriptAfterLinksForDeclaringService, setEntryBuffer('js.postLink', string(.)) ) 
     
    7172                <source type="xpathOnSrc-dynamique">execute( 
    7273                        concatExpr(sm:serviceFiles/sm:linkScriptForAddingTriggerInPage, setEntryBuffer('js.link', concat(si(@sortKey,concat(@sortKey,'*'),''),resultatAgent('//copyRes'), '/', @path)) ), 
     74                        concatExpr(sm:standardLibraryInPage, resultatAgent('//agentGenerator', concat('fillBuffer', @codeLib))), 
    7375                        concatExpr(sm:scriptForAddingTriggerInPage, setEntryBuffer('js', string(.)) ), 
    7476                        concatExpr(sm:scriptAfterLinksForAddingTriggerInPage, setEntryBuffer('js.postLink', string(.)) )                         
Note: See TracChangeset for help on using the changeset viewer.