Changeset 19669


Ignore:
Timestamp:
02/07/12 14:52:33 (4 months ago)
Author:
sam
Message:

outlineUiWidget : ajout de sm:freeContent|sm:freeProgressStatus/sm:callModel

Location:
trunk/Wsp_Modeling
Files:
2 added
3 edited

Legend:

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

    r19034 r19669  
    9494                                        </element> 
    9595                                                --> 
    96                                         <element se:bind="element" se:name="sm:callModel"> 
     96                                        <element se:name="sm:callModel" se:bind="element"> 
    9797                                                <atts> 
    9898                                                        <ptritem se:name="sc:refUri" se:bind="attribute" class="xmlview" notnull="true" regexpSgn=".*#Class\b.*"/>                                                                       
    9999                                                        <se:ref se:refid="att_axis" se:refurl="chrome://sm_modeling/content/xEdition/coreWeb.xed.xml"/> 
    100                                                         <attribute se:bind="attribute" se:name="codeView" se:defaultvalue="xhtmlContent" se:mandat="true"> 
     100                                                        <attribute se:name="codeView" se:bind="attribute" se:defaultvalue="xhtmlContent" se:mandat="true"> 
    101101                                                                <wordsInput notnull="true" trim="true" autocompleteProviderXPath="id('codeView')" frenchPonct="false"/> 
    102102                                                        </attribute> 
     
    105105                                        <element se:name="sm:postXsl" se:bind="element"> 
    106106                                                <atts> 
    107                                                         <attribute se:bind="attribute" se:name="key" se:mandat="true" se:defaultvalue="xhtml"> 
     107                                                        <attribute se:name="key" se:bind="attribute" se:mandat="true" se:defaultvalue="xhtml"> 
    108108                                                                <wordsInput notnull="true" trim="true" autocompleteProviderXPath="id('keyPostXsl')" frenchPonct="false"/> 
    109109                                                        </attribute> 
     
    120120                                                                <element se:name="sm:declareNs" se:bind="element"> 
    121121                                                                        <atts> 
    122                                                                                 <attribute se:bind="attribute" se:name="prefix" se:mandat="true"> 
     122                                                                                <attribute se:name="prefix" se:bind="attribute" se:mandat="true"> 
    123123                                                                                        <wordsInput trim="true" notnull="true" frenchPonct="false"/> 
    124124                                                                                </attribute> 
    125                                                                                 <attribute se:bind="attribute" se:name="ns" se:mandat="true"> 
     125                                                                                <attribute se:name="ns" se:bind="attribute" se:mandat="true"> 
    126126                                                                                        <wordsInput trim="true" notnull="true" frenchPonct="false"/> 
    127127                                                                                </attribute> 
     
    130130                                                                <element se:name="sm:excludeResultPrefix" se:bind="element"> 
    131131                                                                        <atts> 
    132                                                                                 <attribute se:bind="attribute" se:name="prefix" se:mandat="true"> 
     132                                                                                <attribute se:name="prefix" se:bind="attribute" se:mandat="true"> 
    133133                                                                                        <wordsInput trim="true" notnull="true" frenchPonct="false"/> 
    134134                                                                                </attribute> 
     
    155155                        <fpItem value="title"/> 
    156156                </fixedProvider> 
    157                 <element insert="collapsed" se:bind="element" se:name="sm:freeXslWebSiteTransf" se:declareNs="sc sm"> 
     157                <element se:name="sm:freeXslWebSiteTransf" insert="collapsed" se:bind="element" se:declareNs="sc sm"> 
    158158                        <atts> 
    159                                 <attribute se:bind="attribute" se:name="info"> 
     159                                <attribute se:name="info" se:bind="attribute"> 
    160160                                        <wordsInput trim="true"/> 
    161161                                </attribute> 
    162162                        </atts> 
    163163                        <childs> 
    164                                 <element se:bind="element" se:name="sm:model"> 
     164                                <element se:name="sm:model" se:bind="element"> 
    165165                                        <atts> 
    166166                                                <ptritem se:name="sc:refUri" se:bind="attribute" class="xmlview" notnull="true" regexpSgn=".*#Xml\b.*"/> 
     
    168168                                </element> 
    169169                                <se:ref se:refid="sm:axis" se:refurl="chrome://sm_modeling/content/xEdition/coreWeb.xed.xml"/> 
    170                                 <se:ref se:refid="view" se:name="sm:fullTitleText" /> 
    171                                 <se:ref se:refid="view" se:name="sm:shortTitleText" /> 
    172                                 <se:ref se:refid="view" se:name="sm:content" /> 
     170                                <se:ref se:name="sm:fullTitleText" se:refid="view" /> 
     171                                <se:ref se:name="sm:shortTitleText" se:refid="view" /> 
     172                                <se:ref se:name="sm:content" se:refid="view" /> 
    173173                        </childs> 
    174174                </element> 
  • trunk/Wsp_Modeling/es/content/uiWidget/outlineUiWidget/xml.xed.xml

    r15285 r19669  
    121121                </xul:element> 
    122122 
     123<!-- LIB : elt_xsl --> 
     124                <xul:element se:id="elt_xsl" se:name="sm:xsl" se:bind="element"> 
     125                        <xul:atts> 
     126                                <xul:ptritem se:name="sc:refUri" se:bind="attribute" class="xmlview" notnull="true" regexpSgn=".*@sc_xsl\b.*" /> 
     127                        </xul:atts> 
     128                </xul:element> 
     129 
     130<!-- LIB : elt_callModel --> 
     131                <xul:element se:id="elt_callModel" se:name="sm:callModel" se:card="*" se:bind="element" insert="true"> 
     132                        <xul:atts> 
     133                                <xul:ptritem se:name="sc:refUri" se:bind="attribute" class="xmlview" notnull="true" regexpSgn=".*#Class\b.*"/>                                                                   
     134                                <se:ref se:refid="att_axis" se:refurl="chrome://sm_modeling/content/xEdition/coreWeb.xed.xml"/> 
     135                                <xul:attribute se:name="codeView" se:bind="attribute" se:defaultvalue="xhtmlContent" se:mandat="true"> 
     136                                        <xul:wordsInput notnull="true" trim="true" autocompleteProviderXPath="id('codeView')" frenchPonct="false"/> 
     137                                </xul:attribute> 
     138                        </xul:atts> 
     139                </xul:element> 
     140 
    123141<!-- LIB : sm:constraints --> 
    124142                <xul:element se:id="sm:constraints" se:name="sm:constraints" se:bind="element" se:card="?" tooltipTag="Règles de publication - précise dans quel cas ce paramètrage sera utilisé"> 
     
    179197                <xul:vbox flex="1" style="overflow:auto;"> 
    180198                        <xul:xmlview se:bind="document"> 
     199                                <xul:fixedProvider id="codeView"> 
     200                                        <xul:fpItem value="xhtmlContent"/> 
     201                                        <xul:fpItem value="navigation"/> 
     202                                        <xul:fpItem value="title"/> 
     203                                </xul:fixedProvider> 
    181204                                <xul:wspInputHistoryProvider code="axisXhtml" id="axis" /> 
    182205                                <xul:element se:name="sm:outlineUiWidget" insert="collapsed" se:bind="element" se:declareNs="sc sm"> 
     
    531554                                                        <xul:element se:name="sm:freeContent" se:bind="element" insert="collapsed"> 
    532555                                                                <xul:childs> 
    533                                                                         <xul:element se:name="sm:xsl" se:card="?" se:bind="element"> 
    534                                                                                 <xul:atts> 
    535                                                                                         <xul:ptritem se:name="sc:refUri" se:bind="attribute" class="xmlview" notnull="true" regexpSgn=".*@sc_xsl\b.*" /> 
    536                                                                                 </xul:atts> 
    537                                                                         </xul:element> 
     556                                                                        <se:ref se:refid="elt_xsl" se:card="?"/> 
     557                                                                        <se:ref se:refid="elt_callModel" se:card="*" insert="true"/> 
     558                                                                        <xul:insert se:bind="current"/> 
    538559                                                                        <!--  
    539560                                                                                <xul:element se:name="sm:jsLib" se:bind="element" se:card="?"> 
     
    555576                                                                </xul:atts> 
    556577                                                                <xul:childs> 
    557                                                                         <xul:element se:name="sm:xsl" se:card="?" se:bind="element"> 
    558                                                                                 <xul:atts> 
    559                                                                                         <xul:ptritem se:name="sc:refUri" se:bind="attribute" class="xmlview" notnull="true" regexpSgn=".*@sc_xsl\b.*" /> 
    560                                                                                 </xul:atts> 
    561                                                                         </xul:element> 
     578                                                                        <se:ref se:refid="elt_xsl" se:card="?"/> 
     579                                                                        <se:ref se:refid="elt_callModel" se:card="*" insert="true"/> 
     580                                                                        <xul:insert se:bind="current"/> 
    562581                                                                </xul:childs> 
    563582                                                        </xul:element> 
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs/sm_outlineUiWidget.xml

    r18953 r19669  
    1818 * samuel.monsarrat@kelis.fr 
    1919 * 
    20  * Portions created by the Initial Developer are Copyright (C) 2006-2011 
     20 * Portions created by the Initial Developer are Copyright (C) 2006-2012 
    2121 * the Initial Developer. All Rights Reserved. 
    2222 * 
     
    115115                                <c:if type="xpath-statique" test="boolean(.//sm:link[@target='subWindow'])"><c:donnee type="xpath-dynamique">execute(resultatAgent('//agentGenerator', 'fillBufferDynUiMgr'))</c:donnee></c:if> 
    116116                                <c:donnee xmlns:xhtml="http://www.w3.org/1999/xhtml" type="xpathOnSrc-dynamique">execute(concatExpr(.//xhtml:img, resultatAgent('//', concat('res:src=wsp:', @sc:refUri, ';dst=ui.doss/site/lib/', extractFileNameFromPath(@sc:refUri)))))</c:donnee> 
    117         <!--                            <c:boucleagents> 
    118                                         <c:listeagents type="resultat-dynamique">agent=//calledStylableList</c:listeagents> 
     117                                <c:boucleagents> 
     118                                        <c:listeagents type="resultat-dynamique">agent=//calledTransfList</c:listeagents> 
    119119                                        <c:resultat agent="fillBuffers"/>  
    120                                 </c:boucleagents>        --> 
     120                                </c:boucleagents> 
    121121                        </c:composition> 
    122122                </source> 
     
    126126                <source type="xpath-statique">concat('sw_', @code)</source> 
    127127        </valeur> 
    128         <!-- Liste des agents correspondant aux vues des transformers des modèles appelées --> 
    129         <!-- <valeur code="calledStylableList"> 
    130                 <source type="xpathOnSrc-dynamique">listXmlExpr(...)</source> 
    131                 <resultat cache="*"/> 
    132         </valeur> --> 
     128         
     129        <!-- Interne : liste des agents transformers liés --> 
     130        <valeur code="calledTransfList"> 
     131                <source type="xslOnSrc-dynamique" href="bs:calledTransfList.xsl"/> 
     132        </valeur> 
    133133         
    134134        <!-- @API Fournit les liens exploités par ce widget. 
     
    148148                                <xsl:output method="xml" indent="no" omit-xml-declaration="yes"/> 
    149149                                 
     150                                <xsl:param name="vDialog"/> 
    150151                                <xsl:param name="vAgent"/> 
     152                         
     153                                <xsl:include href="bs:calledTransformersInc.xsl"/> 
    151154                                         
    152155                                <xsl:template match="*"> 
     156                                        <xsl:apply-templates select="sm:freeContent/*" mode="in"/> 
     157                                        <xsl:apply-templates select="sm:freeProgressStatus/*" mode="in"/> 
    153158                                        <xsl:for-each select="//xhtml:img"> 
    154159                                                <res srcUri="@sc:refUri" srcInSite="lib/{extractFileNameFromPath(@sc:refUri)}"/> 
Note: See TracChangeset for help on using the changeset viewer.