Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

results in frames (very basic Q)


This topic is 7864 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have made a query in this forum but could not find the answer. This may very well be a reflection of my ability to search and/our the (low) level of my question <smile>

Anyway,

I have made a results.html that shows some records after a query.

Now i want to show these results in a frame (to see in a later stage if i can avoid the URL display to the user).

So this is the basic code of the page that is called by the form submission:

<FRAMESET ROWS="110,*">

<FRAME NAME="RESULTS" SRC="results.htm">

</FRAMESET>

And results.htm contains CDML code to present the data.

Now the only thing i see in my browser is the cdml code not the results.

Apparantly this is not the way to proceed.

Can anyone show me a basic code to present query results in a one frame page.

Thanks

Jitse

Link to comment
Share on other sites

dont use frames.

if you have to, specify the full url that led to the page, not just results.htm. (ie, the form cgi with the full http request). This will, however, lead to reposting the same data again if you are updating records. dont do it. you are asking for trouble.

whereever possible, use a javascript document.write statement instad of frames, and layers.

Link to comment
Share on other sites

I use Frames.

You may need to setup, at least, two Frames. One for a results listing and one for details viewing.

You can use the [FMP-Link] tag to pass the request to the "results.htm" Format file. For example:

<FRAMESET ROWS="110,*">

<FRAME NAME="RESULTS" SRC="[FMP-Link: ra]&-Format=results.htm.htm&-Find">

<frame name="details">

</FRAMESET>

Hope this helps.

Garry

Link to comment
Share on other sites

Thanks for your reply,

the point is that i have several pages with submit buttons and javascript enabled submit scripts. I am looking for away to avoid showing up the complete fmp URL in the request.

I have read that frames is the way to deal with that.

Thanks

jitse

if you set your form method from "GET" to "POST", it should do the trick without frames...

Link to comment
Share on other sites

This topic is 7864 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.