Changeset 268
- Timestamp:
- 02/15/07 13:55:27 (2 years ago)
- Files:
-
- trunk (modified) (1 prop)
- trunk/config/xml/pages/conf/form.xml (added)
- trunk/config/xml/pages/txt/main_form.xml (added)
- trunk/experiments/general/xsl/stub.xsl (modified) (1 diff)
- trunk/src/main/resources/xsl/master.xsl (modified) (1 diff)
- trunk/src/main/resources/xsl/stub.xsl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk
- Property svn:ignore set to
.project
- Property svn:ignore set to
trunk/experiments/general/xsl/stub.xsl
r217 r268 28 28 <xsl:template match="stub:link"> 29 29 <a> 30 <xsl:copy-of select="@*[local-name() != 'href']"/> 30 31 <xsl:attribute name="href"> 31 32 <xsl:value-of select="$__path"/> trunk/src/main/resources/xsl/master.xsl
r264 r268 11 11 12 12 <xsl:param name="__path"></xsl:param> 13 <xsl:param name="__sessionid"></xsl:param> 13 <xsl:param name="__sessid"></xsl:param> 14 <xsl:param name="__sessname"></xsl:param> 14 15 <xsl:param name="page"></xsl:param> 15 16 <xsl:param name="lang"></xsl:param> trunk/src/main/resources/xsl/stub.xsl
r264 r268 44 44 </xsl:choose> 45 45 <xsl:value-of select="@page"/> 46 <xsl:value-of select="$__sessionid"/> 46 <ixsl:if test="not($__sessid = '') and not($sessname = '')"> 47 <xsl:text>?</xsl:text> 48 <ixsl:value-of select="$__sessname"/> 49 <xsl:text>=</xsl:text> 50 <ixsl:value-of select="$__sessid"/> 51 </ixsl:if> 47 52 </xsl:attribute> 48 53 <xsl:value-of select="."/> … … 139 144 </xsl:template> 140 145 146 <xsl:template match="stub:form"> 147 <form> 148 <xsl:copy-of select="@*[local-name() != 'send-to-page']"/> 149 <xsl:variable name="method"> 150 <xsl:choose> 151 <xsl:when test="@method"> 152 <xsl:value-of select="@method"/> 153 </xsl:when> 154 <xsl:otherwise> 155 <xsl:text>post</xsl:text> 156 </xsl:otherwise> 157 </xsl:choose> 158 </xsl:variable> 159 <xsl:attribute name="method" select="$method"/> 160 <ixsl:if test="not($__sessid = '') and not($__sessname = '')"> 161 <input type="hidden"> 162 <ixsl:attribute name="name" select="$__sessname"/> 163 <ixsl:attribute name="value" select="$__sessid"/> 164 </input> 165 </ixsl:if> 166 </form> 167 </xsl:template> 168 141 169 <xsl:template match="stub:langselect"> 142 170 <xsl:variable name="langnodes" select="./stub:lang[@name = $lang]"/>
