roadrunnerray
06-26-2005, 06:19 PM
In the following code, "history.go" executes properly and location.href returns the user to the "confirm_events.xsl" page OK but the parameters following location.href are not executed. This code accesses a FileMaker database. Any assistance will be greatly appreciated........... Ray
<xsl:attribute name="onload">
<xsl:choose>
<xsl:when test="$current-action = 'new'">history.go(-1)</xsl:when>
<xsl:otherwise>
location.href = 'confirm_events.xsl?-db=Web_TA_Pre_Reg_DB
&-lay=Registration Evaluation Form-2
&-error=confirm_events.xsl
&-token=<xsl:value-of select="$request-query/fmq:query/fmq:parameter[@name = '-token']"/>
&-token.1=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.1']"/>
&-token.2=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.2']"/>
&-token.3=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.3']"/>
&ParticipantIDQ=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.3']"/>
&-sortfield.1=EventDate
&-max=40
&-find'
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="onload">
<xsl:choose>
<xsl:when test="$current-action = 'new'">history.go(-1)</xsl:when>
<xsl:otherwise>
location.href = 'confirm_events.xsl?-db=Web_TA_Pre_Reg_DB
&-lay=Registration Evaluation Form-2
&-error=confirm_events.xsl
&-token=<xsl:value-of select="$request-query/fmq:query/fmq:parameter[@name = '-token']"/>
&-token.1=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.1']"/>
&-token.2=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.2']"/>
&-token.3=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.3']"/>
&ParticipantIDQ=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.3']"/>
&-sortfield.1=EventDate
&-max=40
&-find'
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>