Changeset 6496


Ignore:
Timestamp:
09/08/06 22:52:04 (5 years ago)
Author:
sys
Message:

WScore : cdata -> sm:fixedString/@value

Location:
trunk/Wsp_ModelingAssmnt
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_ModelingAssmnt/es/content/assmntUnitMlqXhtmlTransf/xml.xed.xml

    r6491 r6496  
    199199                                </xul:choiceInput> 
    200200                        </xul:attribute> 
    201                         <xul:attribute se:bind="attribute" se:name="maxLabels" tooltipTag="Exemples : '3', 'maxCountLabels', 'maxCountLabels+1'"> 
     201                        <xul:attribute se:bind="attribute" se:name="maxLabels" tooltiptext="Exemples : '3', 'maxCountLabels', 'maxCountLabels+1'"> 
    202202                                <xul:wordsInput trim="true" /> 
    203203                        </xul:attribute> 
  • trunk/Wsp_ModelingAssmnt/es/content/xEdition/commonXhtmlTransf.xed.xml

    r6483 r6496  
    412412                                                                                                <se:ref se:name="sm:maxPoints" se:refid="score" /> 
    413413                                                                                                <se:ref se:name="sm:minPoints" se:refid="score" /> 
    414                                                                                                 <se:ref se:refid="Textnode" se:refurl="chrome://scm_assmnt1_1/content/xEdition/commonXhtmlTransf.xed.xml"/> 
     414                                                                                                <xul:element se:name="sm:fixedString" se:bind="element" forcefilled="true"> 
     415                                                                                                        <xul:atts> 
     416                                                                                                                <xul:attribute se:name="value" se:bind="attribute" se:mandat="true"> 
     417                                                                                                                        <xul:wordsInput notnull="true"/> 
     418                                                                                                                </xul:attribute> 
     419                                                                                                        </xul:atts> 
     420                                                                                                </xul:element> 
    415421                                                                                        </se:choice> 
    416422                                                                                        <xul:insert se:bind="current"/> 
  • trunk/Wsp_ModelingAssmnt/spaces/gen/modelBuilder/bs.doss/_common/sma/xhtmlTransf/common.xsl.xsl

    r6295 r6496  
    451451        <xsl0:template match="sm:minPoints" mode="jsScoreCo">"&lt;span class='<xsl0:value-of select="chaineProtegeJs(@commonClass)"/>'>"+<xsl0:if test="@valueFormat='unsignedNumeric'">Math.abs</xsl0:if>(Math.round(this.fMinPts / <xsl0:value-of select="../../@step"/>) * <xsl0:value-of select="../../@step"/>)+"&lt;/span>"+</xsl0:template> 
    452452        <xsl0:template match="sm:maxPoints" mode="jsScoreCo">"&lt;span class='<xsl0:value-of select="chaineProtegeJs(@commonClass)"/>'>"+<xsl0:if test="@valueFormat='unsignedNumeric'">Math.abs</xsl0:if>(Math.round(this.fMaxPts / <xsl0:value-of select="../../@step"/>) * <xsl0:value-of select="../../@step"/>)+"&lt;/span>"+</xsl0:template> 
    453         <xsl0:template match="text()" mode="jsScoreCo">"<xsl0:value-of select="chaineProtegeJs(.)"/>"+</xsl0:template> 
    454         <xsl0:template match="*" mode="jsScoreCo"/> 
     453        <xsl0:template match="sm:fixedString" mode="jsScoreCo">"<xsl0:value-of select="chaineProtegeJs(@value)"/>"+</xsl0:template> 
     454        <xsl0:template match="node()" mode="jsScoreCo"/> 
    455455         
    456456         
  • trunk/Wsp_ModelingAssmnt/spaces/gen/modelBuilder/bs.doss/sma_assmntUnitMlqXhtmlTransf/xhtmlContent.xsl.xsl

    r6494 r6496  
    589589        <xsl0:template name="setModeC">.setMode(vC, '<xsl0:value-of select="si(@dropMode, @dropMode, 'ordered')"/>', <xsl0:choose> 
    590590                <xsl0:when test="contains(@maxLabels, 'maxCountLabels')"><xsl:value-of select="java:replaceAll(string(@maxLabels), 'maxCountLabels', string($vCountMaxLabels))"/></xsl0:when> 
     591                <xsl0:when test="@maxLabels"><xsl0:value-of select="@maxLabels"/></xsl0:when> 
    591592                <xsl0:otherwise>-1</xsl0:otherwise> 
    592593        </xsl0:choose>)</xsl0:template> 
Note: See TracChangeset for help on using the changeset viewer.