[Chiba-users] Stylesheet problem in Chiba
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: Ningthoujam S. <ns...@ip...> - 2009-04-27 10:31:57
|
Hi, I am new to Chiba. I have problem in identifying the stylesheet class name from this statement class="{$switch-classes}". Can anybody help me how this class name is resolved? Please help me. The following is the snippet in dojo-ui.xsl: <xsl:template match="xforms:switch[@appearance='dijit:TabContainer']"> <xsl:variable name="switch-id" select="@id"/> <xsl:variable name="switch-classes"> <xsl:call-template name="assemble-compound-classes"> <xsl:with-param name="appearance" select="@appearance"/> </xsl:call-template> </xsl:variable> <div style="display:none"> <xsl:for-each select="xforms:case[@name='switch-toggles']/xforms:trigger"> <xsl:call-template name="trigger"/> </xsl:for-each> </div> <div id="{$switch-id}" class="{$switch-classes}" dojoType="chiba.ui.container.TabSwitch" style="width: 1000px; height: 500px;"> <xsl:for-each select="xforms:case[./xforms:label]"> <xsl:variable name="selected"> <xsl:choose> <xsl:when test="@selected='true'">true</xsl:when> <xsl:otherwise>false</xsl:otherwise> </xsl:choose> </xsl:variable> <div dojoType="dijit.layout.ContentPane" class="xfCase" caseId="{@id}" selected="{$selected}" title="{xforms:label}"> <xsl:apply-templates select="*[not(self::xforms:label)]"/> </div> </xsl:for-each> </div> </xsl:template> Thanks, Ingoba |