JitseSchaafsma Posted April 23, 2003 Share Posted April 23, 2003 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 More sharing options...
cjaeger Posted April 23, 2003 Share Posted April 23, 2003 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 More sharing options...
JitseSchaafsma Posted April 23, 2003 Author Share Posted April 23, 2003 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 Link to comment Share on other sites More sharing options...
Garry Claridge Posted April 23, 2003 Share Posted April 23, 2003 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 More sharing options...
cjaeger Posted April 24, 2003 Share Posted April 24, 2003 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now