> From: Bob Haroche [mailto:[EMAIL PROTECTED]
> Sent: 11 August 2004 16:23
> To: CF-Talk
> Subject: Re: Search Results within a Frameset
>
> Pascal Peters wrote:
> > <form action="" target="lowerframe">
>
> Yes, but what happens if the search form is used on a non-frameset
> page? I still need the next page viewed to be frameset.cfm. So it
> should be:
>
[Pascal Peters]
Then it doesn't work
> <form action="" target="lowerframe">
[Pascal Peters]
This is not correct. It will open a new frameset in the lower frame.
>
> and the lowerframe will be results.cfm. Okay. Do I put the db query
> code in the results.cfm page, which is the one that will actually
> display the results? I imagine I do. Then the issue, again, is will
> that results.cfm page understand what #form.search# means? -- ie, in
> this scenario, it's frameset.cfm which is being called, and that is
> then loading results.cfm. Will the #form.search# still exist at the
> time the results.cfm is loaded into the frameset? That's what I don't
> know and that's why I was thinking of using a session variable.
>
> But are you saying that #form.results# will exist even when the page
> that needs to use it is not the action page itself?
[Pascal Peters]
No it will not exist there.
I think the easiest way would be to use session vars as you first
suggested. If you don't want those, you could pass them as url
parameters to the lower frame.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

