[Home] [By Thread] [By Date] [Recent Entries]
I am using the updated output from a CDML Converter provided by Filemaker Pro. It takes CDML (Claris Design Markup Language) and produces XSLT output which is what is used by Filemaker Pro 7 and 8. When I don't put the buttons in a form, nothing happens when they are selected. When they are in a form, the correct pages are brought up and everything works well. When I attempted to go back to frames, that is where I attempted to put the onclick feature back in . I put in the html that you suggested, but the page was not brought up. It was brought up by the second button (in the form), but was not in a frame. Here is an abbreviated version of the default.xsl page: <?xml version="1.0" encoding="ISO-8859-1"?> <?xslt-cwp-query param="-grammar=fmresultset&-process"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmrs="http://www.filemaker.com/xml/fmresultset" exclude-result-prefixes="xsl fmrs"> <xsl:output method="html" encoding="ISO-8859-1"/> <xsl:template match="/fmrs:fmresultset"> <html> <head> <title>ESMO Configuration Modification Request Home Page</title> <body bgcolor="#FFFFFF" link="#000099" alink="#3DC7FF" vlink="#003366" background="../images/stma_bkg.gif"> <meta name="description" content="ESMO Configuration Modification Request Home Page"/><meta name="rno" content="Angelita.C.Kelly.1"/><meta name="orgcode" content="423"/><meta name="content-owner" content="Guy.R.Cordier.1"/><meta name="robots" content="noindex, nofollow"/><meta name="MSSmartTagsPreventParsing" content="TRUE"/><basefont size="3" face="Helvetica,Arial,geneva,sansserif"/> </head> <frameset cols="100%" frameborder="1"> <noframes><body bgcolor="#FFFFFF" link="#000099" alink="#3DC7FF" vlink="#003366" background="../images/stma_bkg.gif"> <h1 align="center"><img src="../images/hotnasa.gif" alt="NASA Logo" width="100" height="59" align="bottom" longdesc="NASA Logo"/></h1> <h1 align="center">ESMO Configuration Modification Request</h1> <p align="center"><xsl:text disable-output-escaping="yes">&nbsp;</xsl:text></p> </body>
</noframes>
<frameset cols="16%,64%" frameborder="1">
<frame src="waivernav.xsl"
name="a" marginwidth="0" marginheight="0"
frameborder="1" title="Navigation Area"/>
<frame src="waiverhome.xsl"
name="b" marginwidth="0" marginheight="0"
frameborder="1" title="ESMO Configuration
Modification Request Home Page"/>
</frameset>
</frameset>
</html></xsl:template> </xsl:stylesheet> Here is an abbreviated version of the waivernav.xsl page - with the onclick issue: (it has two forms in in - for the first two buttons on the page) <?xml version="1.0" encoding="ISO-8859-1"?> <?xslt-cwp-query param="-grammar=fmresultset&-process"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmrs="http://www.filemaker.com/xml/fmresultset" exclude-result-prefixes="xsl fmrs"> <xsl:output method="html" encoding="ISO-8859-1"/> <xsl:template match="/fmrs:fmresultset"> <html> <head> <base target="right"/> <title>Navigational Menu</title> <meta name="GENERATOR" content="Claris Home Page 3.0"/> <x-claris-window top="52" bottom="1043" left="283" right="1369"> <x-claris-tagview mode="full"> <meta name="description" content="ESMO Configuration Modification Request Navigational Menu"/><meta name="robots" content="noindex, nofollow"/><meta name="MSSmartTagsPreventParsing" content="TRUE"/><basefont size="3" face="Helvetica,Arial,geneva,sansserif"/> </x-claris-tagview></x-claris-window></head> <body bgcolor="#FFFFFF" link="#000099" alink="#3DC7FF" vlink="#006600" background="../images/cbws.gif"> <Center> <table border="0" width="100%" summary="A layout table to select area to navigate to."> <tr> <td align="center"> <form method="post" name="CreateCMR"><xsl:attribute name="action">waivernew.xsl</xsl:attribute> <p><input type="button" name="CreateLg" value="Create CMR"><xsl:attribute name="onclick">window.top.b.location.href='WaiverNew.xsl?-db=WebWaivers&- lay=Normal</xsl:attribute></input></p>
<input type="hidden" name="-token.error" value="new_error.xsl"/> <input type="Submit" name="-view" value="Create New CMR"/>
</tr> <tr> <td align="center"> <form method="post" name="SearchforCMR"><xsl:attribute name="action">waiversearch.xsl</xsl:attribute> <p><input type="hidden" name="-db" value="WebWaivers"/> <input type="hidden" name="-lay" value="Normal"/> <input type="hidden" name="-token.error" value="search_error.xsl"/> <input type="Submit" name="-view" value="Search"/> </p></form></td> </table> </Center>
</xsl:template> </xsl:stylesheet>
Thanks. Shirley Gasch On 3/8/06, Shirley Gasch <sgasch@xxxxxxxxxxxxxxxxxxxxx> wrote:ormat=WaiverSearch.htm&-view';returnThanks for replying Michael. I still don't know what to do to achieve the result that I want. What can add to the XSLT that I have below (in the form) to make sure that the resultant page comes up in the right-hand frame??? l&-format=WaiverSearch.htm&-view';return
|

Cart



