E
eric.goforth
Hello,
I'm rendering a page with xml/xsl, for one control, I've set up a an
xsl template something like:
<xsl:template name="MyText">
<xslaram name="sName"></xslaram>
<xslaram name="sAction"></xslaram>
<INPUT TYPE="text" SIZE="7" MAXLENGTH="15" NAME="{$sName}" VALUE="Test"
onblur="{$sAction}"></INPUT>
</xsl:template>
I'm calling the template something like:
<xsl:call-template name="MyText">
<xsl:with-param name="sName">MyName</xsl:with-param>
<xsl:with-param name="sAction">DoSomething</xsl:with-param>
</xsl:call-template>
Since some of my textboxes need an action in the onblur event, I've put
it in there as a parameter. However, some of my textboxes don't do
anything on the onblur, which means they look like:
<xsl:call-template name="MyText">
<xsl:with-param name="sName">MyName</xsl:with-param>
<xsl:with-param name="sAction"></xsl:with-param>
</xsl:call-template>
and would be render like:
<INPUT TYPE="text" SIZE="7" MAXLENGTH="15" NAME="MyName" VALUE="Test"
onblur="">
Will having this empty onblur cause any problems?
Thanks,
Eric
I'm rendering a page with xml/xsl, for one control, I've set up a an
xsl template something like:
<xsl:template name="MyText">
<xslaram name="sName"></xslaram>
<xslaram name="sAction"></xslaram>
<INPUT TYPE="text" SIZE="7" MAXLENGTH="15" NAME="{$sName}" VALUE="Test"
onblur="{$sAction}"></INPUT>
</xsl:template>
I'm calling the template something like:
<xsl:call-template name="MyText">
<xsl:with-param name="sName">MyName</xsl:with-param>
<xsl:with-param name="sAction">DoSomething</xsl:with-param>
</xsl:call-template>
Since some of my textboxes need an action in the onblur event, I've put
it in there as a parameter. However, some of my textboxes don't do
anything on the onblur, which means they look like:
<xsl:call-template name="MyText">
<xsl:with-param name="sName">MyName</xsl:with-param>
<xsl:with-param name="sAction"></xsl:with-param>
</xsl:call-template>
and would be render like:
<INPUT TYPE="text" SIZE="7" MAXLENGTH="15" NAME="MyName" VALUE="Test"
onblur="">
Will having this empty onblur cause any problems?
Thanks,
Eric