PDA

View Full Version : location.href works but does not process parameters..


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 = &apos;confirm_events.xsl?-db=Web_TA_Pre_Reg_DB
&amp;-lay=Registration Evaluation Form-2
&amp;-error=confirm_events.xsl
&amp;-token=<xsl:value-of select="$request-query/fmq:query/fmq:parameter[@name = '-token']"/>
&amp;-token.1=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.1']"/>
&amp;-token.2=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.2']"/>
&amp;-token.3=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.3']"/>
&amp;ParticipantIDQ=<xsl:value-of
select="$request-query/fmq:query/fmq:parameter[@name = '-token.3']"/>
&amp;-sortfield.1=EventDate
&amp;-max=40
&amp;-find&apos;

</xsl:otherwise>

</xsl:choose>

</xsl:attribute>

Willy Duitt
06-26-2005, 11:17 PM
http://fishbowl.pastiche.org/2003/07/01/the_curse_of_apos

roadrunnerray
06-27-2005, 05:18 PM
Will-he Do-it, yes you did! Many thanks Willy, I just replaced the &apos; (per your link) with a " and it sailed through. Many thanks..... roadrunner(Ray)

Willy Duitt
06-27-2005, 05:51 PM
:thumbsup: