Changeset 9397

Show
Ignore:
Timestamp:
25.07.2007 14:45:20 (2 years ago)
Author:
sam
Message:

binaryXhtmlTransf: sur WIFrame ajout de @marginheight @marginwidth @frameborder @scrolling

Location:
trunk/Wsp_Modeling
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/es/content/resources/binaryXhtmlTransf/xml.xed.xml

    r9373 r9397  
    177177                                                                        <atts> 
    178178                                                                                <se:ref se:refid="atts_Class"/> 
     179                                                                                <attribute se:name="marginheight" se:bind="attribute"> 
     180                                                                                        <wordsInput trim="true"/> 
     181                                                                                </attribute> 
     182                                                                                <attribute se:name="marginwidth" se:bind="attribute"> 
     183                                                                                        <wordsInput trim="true"/> 
     184                                                                                </attribute> 
     185                                                                                <attribute se:name="frameborder" se:bind="attribute"> 
     186                                                                                        <choiceInput> 
     187                                                                                                <ciItem label="no"/> 
     188                                                                                                <ciItem label="yes"/> 
     189                                                                                        </choiceInput> 
     190                                                                                </attribute> 
     191                                                                                <attribute se:name="scrolling" se:bind="attribute"> 
     192                                                                                        <choiceInput> 
     193                                                                                                <ciItem label="yes"/> 
     194                                                                                                <ciItem label="no"/> 
     195                                                                                                <ciItem label="auto"/> 
     196                                                                                        </choiceInput> 
     197                                                                                </attribute> 
    179198                                                                        </atts> 
    180199                                                                        <childs> 
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_binaryXhtmlTransf/widgets.xsl.xsl

    r9373 r9397  
    559559        <!-- WIFrame --> 
    560560        <xsl0:template match="sm:WIFrame" mode="content"> 
    561                 <iframe frameborder="0"> 
     561                <iframe> 
     562                        <xsl0:attribute name="frameborder"><xsl0:value-of select="si(@frameborder='yes','1','0')"/></xsl0:attribute> 
     563                        <xsl0:if test="@scrolling"><xsl0:attribute name="scrolling"><xsl0:value-of select="@scrolling"/></xsl0:attribute></xsl0:if> 
     564                        <xsl0:if test="@marginheight"><xsl0:attribute name="marginheight"><xsl0:value-of select="@marginheight"/></xsl0:attribute></xsl0:if> 
     565                        <xsl0:if test="@marginwidth"><xsl0:attribute name="marginwidth"><xsl0:value-of select="@marginwidth"/></xsl0:attribute></xsl0:if> 
     566                        <xsl0:attribute name="frameborder"><xsl0:value-of select="si(@frameborder='yes','1','0')"/></xsl0:attribute> 
    562567                        <xsl0:attribute name="src"><xsl0:apply-templates mode="contentUrl"/></xsl0:attribute> 
    563568                        <xsl0:call-template name="classAtt"/>