Not silly.  I'm a newbie for sure!  My original code for the page that was
being called from the form was:  (Selectdoc is the name of the form field
that the user selects by.)
________________________
<cfset comparedate=#Dateformat(SelectDoc, "MM/DD/YYYY")#>
<cfquery datasource="Erisa" name="GetDocDate">
        Select * from Minutes_Tbl where DOCDATE = '#comparedate#'
</cfquery>
<html>
<cfset NewFile=#DateFormat(GetDocDate.docdate, "YYYYMMDD")# & ".rtf">
<cfset ViewDoc="\PG_ERISA\MINUTES\DOCS\" & #NewFile#>
<head>
        <title>Display Document from iManage</title>
</head>
<cflocation url="#ViewDoc#" addtoken="No">
<body>
<script language="JavaScript" type="text/javascript">
        <!-- Hide from old browsers
        parent.document.refresh
        //End hiding script from old browsers-->
</script>
</body>
</html>
__________________________
This works fine except that you have to click on the Refresh button on the
browser to make the text of the document appear.  When the page comes up,
you can see the Word ruler bar look in the frame, but not the text.

Thanks in advance for any input.

Athelene


-----Original Message-----
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 9:41 AM
To: CF-Talk
Subject: Re: Refresh Page


Silly question, but are you putting your variable in <cfouput>s?

Todd Ashworth


----- Original Message -----
From: "Gieseman, Athelene" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 10:00 AM
Subject: RE: Refresh Page


| Thanks.  I tried this but get errors.  Tells me that it can't find the
page.
| Am I misunderstanding how it should be used?  I used a CFSET to create the
| #SomeRandomValue#.  Then, in the CFSET that creates the URL I added
| &re=#SomeRandomValue#.  I tried with and without quotes.  Is there some
way
| in particular that I should be appending it?  FYI, I'm using CFLOCATION to
| set the URL for that page.  Thanks in advance.
|
|
| Athelene
|
| -----Original Message-----
| From: Gena [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, November 09, 2000 10:10 PM
| To: CF-Talk
| Subject: Re: Refresh Page
|
|
| add to the end of URL &re=#SomeRandomValue# and generate new
SomeRandomValue
| every time.
|
| Regards
|
|
| ----- Original Message -----
| From: "Gieseman, Athelene" <[EMAIL PROTECTED]>
| To: "CF-Talk" <[EMAIL PROTECTED]>
| Sent: Tuesday, December 19, 2000 2:51 PM
| Subject: OT: Refresh Page
|
|
| > I'm having a problem with getting a page to refresh.  I have a frame
with
| > two windows.  The left window is a form with a cfselect.  When the user
| > selects an option, a word document is displayed in the right-hand frame.
| > This works fine the first time.  However when the user then selects
| another
| > option from the left frame and submits the form, the right-hand frame
does
| > not load the new document unless you hit the refresh button on the
| browser.
| > Can anyone help me with either 1) why the window won't bring up the new
| file
| > without a refresh? or 2) what would be the javascript to refresh the
whole
| > frame page?  I've tried several variations on document.refresh and other
| > scripts to no avail.  Any help would be appreciated.
| >
| > Athelene Gieseman
| > [EMAIL PROTECTED]
| >
| >
| >
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to