in reply to Re: Moving cgi data between variables in differnt frames.
in thread Moving cgi data between variables in differnt frames.

Thanks for your suggestions. I really want to stay away from plug-ins, and isn't Active-X Microsoft only? I will still follow up with the javajunkies.org group, but in the mean time my plan now is to use Perl CGI and generate the entire page. It's kind of like using Perl CGI as PHP. When the Perl script receives the post for getting data for the form, it retrieves that data from the server, then it reads the html docs page from the server, and then merges the two, setting the fields to default to the live data, and then serves back one complete web page with the frames and forms all set with all the required fields. This eliminates the need to cross name spaces within the browser. It is a compromise, but would be fine for my app. Does this sound reasonable? Irv
  • Comment on Re^2: Moving cgi data between variables in differnt frames.

Replies are listed 'Best First'.
Re^3: Moving cgi data between variables in differnt frames.
by dorward (Curate) on Aug 08, 2005 at 23:08 UTC

    ActiveX is IE/Win32 only, but recent versions of most JavaScript capable browsers implement XMLHttpRequest using other techniques these days. Jim Ley has a good introduction.

    It doesn't really give you a great deal in the way of benefits over just using a hidden iframe though. (And I wouldn't suggest either technique without a decent non-JS fallback solution.

Re^3: Moving cgi data between variables in differnt frames.
by Anonymous Monk on Aug 09, 2005 at 07:27 UTC
    I will still follow up with the javajunkies.org group
    Javascript is not java, so don't bother javajunkies with javascript either
Re^3: Moving cgi data between variables in differnt frames.
by ikegami (Patriarch) on Aug 08, 2005 at 20:25 UTC

    Yes, XMLHttpRequest is Windows-only. It might even be IE-only too.

    and then serves back one complete web page with the frames and forms all set with all the required fields.

    You're a bit loose on the details -- for example, the script cannot serve both the frame and the framed pages in the same request -- but your idea is doable.

      XMLHttpRequest in some flavour is supported by Firefox, Safari, and (not as sure on this one) Opera and is the basis for the new "AJAX" style of web applications.

      See http://script.aculo.us/downloads for a premade JS library, and there's also HTML::Prototype for accessing the JS Prototype library.

      --
      We're looking for people in ATL

      Please excuse my ignorance. I realize now that my original question was off subject for this forum, however I appreciate the help and re-direction from all who replied. From further search, the XMLHttpRequest object is supported by Netscape/Mozilla, as well as IE with ActiveX, and is the basis of AJAX (Async JS with Xml), which seems to have been developed to meet just my type of requirment. I Still have to research the JS world to see if my original approach will work, but the AJAX may be a sounder way. If they don't pan out, the Perl CGI should do the trick. Thanks, Irv