RE: Calling server code without reloading

2002-04-30 Thread Carlisle, Eric

Is Flash an option?

A Flash form is one option.  If you want to use an HTML form,embed a 1x1
flash movie somewhere in the page.  Pass data back and forth with Javascript
through the movie.  The Flash could do the server communication without
refreshing the page.

Maybe? :)  

Eric


-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 4:26 PM
To: CF-Talk
Subject: Calling server code without reloading


Lets say I have a form field on a page. When I type in it, I want what I
have typed to be sent to the server and something done to it. THe result of
that something will come back to me and be loaded into a different form
field. This should be done without reloading the page. 
Normally, I'd do this with a hidden frame and some javascript. I've been
asked to do it some other way using layers, objects or other stuff. I'm
researching it but I might as well ask if anyone here has heard of something
in this area.
Thanks

Michael Dinowitz 
Publisher: Fusion Authority weekly news alert 
(www.fusionauthority.com/alert) 
Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc. 
(www.houseoffusion.com)


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Calling server code without reloading

2002-04-30 Thread Ben Forta

Sounds like a job for Flash (sorry, could not resist )



-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 30, 2002 4:26 PM
To: CF-Talk
Subject: Calling server code without reloading


Lets say I have a form field on a page. When I type in it, I want what I
have typed to be sent to the server and something done to it. THe result
of that something will come back to me and be loaded into a different
form field. This should be done without reloading the page. 
Normally, I'd do this with a hidden frame and some javascript. I've been
asked to do it some other way using layers, objects or other stuff. I'm
researching it but I might as well ask if anyone here has heard of
something in this area. Thanks

Michael Dinowitz 
Publisher: Fusion Authority weekly news alert 
(www.fusionauthority.com/alert) 
Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc. 
(www.houseoffusion.com)


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Calling server code without reloading

2002-04-30 Thread Michael Dinowitz

Flash would be my first choice for this bar none but the client is corporate and 
getting them to use flash at the moment is an uphill battle (I'm a subcontractor with 
no power). I have the code working in a hidden frame but a new member of the project 
team would like it in a different way and I've been given the task of writing up all 
the ways that are possible. Fun.:)

At 04:35 PM 4/30/02, you wrote:
>Sounds like a job for Flash (sorry, could not resist )
>
>
>
>-Original Message-
>From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] 
>Sent: Tuesday, April 30, 2002 4:26 PM
>To: CF-Talk
>Subject: Calling server code without reloading
>
>
>Lets say I have a form field on a page. When I type in it, I want what I
>have typed to be sent to the server and something done to it. THe result
>of that something will come back to me and be loaded into a different
>form field. This should be done without reloading the page. 
>Normally, I'd do this with a hidden frame and some javascript. I've been
>asked to do it some other way using layers, objects or other stuff. I'm
>researching it but I might as well ask if anyone here has heard of
>something in this area. Thanks
>
>Michael Dinowitz 
>Publisher: Fusion Authority weekly news alert 
>(www.fusionauthority.com/alert) 
>Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc. 
>(www.houseoffusion.com)
>
>
>
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Calling server code without reloading

2002-04-30 Thread Michael Dinowitz

Hm. That's a nice hack on the hidden frame technique. I'll add that into my report. 
Maybe it can be slipped in.

At 04:35 PM 4/30/02, you wrote:
>Is Flash an option?
>
>A Flash form is one option.  If you want to use an HTML form,embed a 1x1
>flash movie somewhere in the page.  Pass data back and forth with Javascript
>through the movie.  The Flash could do the server communication without
>refreshing the page.
>
>Maybe? :)  
>
>Eric
>
>
>-Original Message-
>From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, April 30, 2002 4:26 PM
>To: CF-Talk
>Subject: Calling server code without reloading
>
>
>Lets say I have a form field on a page. When I type in it, I want what I
>have typed to be sent to the server and something done to it. THe result of
>that something will come back to me and be loaded into a different form
>field. This should be done without reloading the page. 
>Normally, I'd do this with a hidden frame and some javascript. I've been
>asked to do it some other way using layers, objects or other stuff. I'm
>researching it but I might as well ask if anyone here has heard of something
>in this area.
>Thanks
>
>Michael Dinowitz 
>Publisher: Fusion Authority weekly news alert 
>(www.fusionauthority.com/alert) 
>Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc. 
>(www.houseoffusion.com)
>
>
>
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Calling server code without reloading

2002-04-30 Thread Ron Hornbaker

> Lets say I have a form field on a page. When I type in it, I
> want what I have typed to be sent to the server and something
> done to it. THe result of that something will come back to me
> and be loaded into a different form field. This should be done
> without reloading the page.
> Normally, I'd do this with a hidden frame and some javascript.
> I've been asked to do it some other way using layers, objects
> or other stuff. I'm researching it but I might as well ask if
> anyone here has heard of something in this area.

To avoid a hidden frame, you can use a gif "datapipe":


http://depressedpress.com/DepressedPress/Content/ColdFusion/Essays/GIFAsPi
pe/

(watch the wrap)

See the link there for "Vlad's Talking Server" (a little chat app) to see
how to bring form contents back to the page in a cookie.

Ron Hornbaker
President/CTO
  .  .  .  .  .  .  .  .  .  .  .  .  http://humankindsystems.com
  .  .  .  .  .  .  .  .  .  .  .  .  w e  c o d e.  w e  c a r e.


Books just wanna be FREE! http://www.BookCrossing.com


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Calling server code without reloading

2002-05-01 Thread Justin Greene

I just went through a few days of trying to figure this out and found that
the only two ways were using a javascript to load a .gif and passing the
parameters or using a hidden frame and dynamically changing the frame src.
If you have control over the page you are submitting and can cause it return
a .gif content type then the .gif method is the easiest.  If you do not have
control over the page then the hidden frame method will work the best as you
will be able to confirm that the page is loaded.  I have a URL at home on
this that I will forward tonight as I cannot seem to find it from here.

Justin

> -Original Message-
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 30, 2002 4:26 PM
> To: CF-Talk
> Subject: Calling server code without reloading
> 
> 
> Lets say I have a form field on a page. When I type in it, I 
> want what I have typed to be sent to the server and something 
> done to it. THe result of that something will come back to me 
> and be loaded into a different form field. This should be 
> done without reloading the page. 
> Normally, I'd do this with a hidden frame and some 
> javascript. I've been asked to do it some other way using 
> layers, objects or other stuff. I'm researching it but I 
> might as well ask if anyone here has heard of something in this area.
> Thanks
> 
> Michael Dinowitz 
> Publisher: Fusion Authority weekly news alert 
> (www.fusionauthority.com/alert) 
> Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc. 
> (www.houseoffusion.com)
> 
> 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Calling server code without reloading

2002-05-01 Thread Dick Applebaum

You can do this with Flash, also.

Flash has some very nice client/server form interaction (in addition to 
all the sizzle).

Dick

On Wednesday, May 1, 2002, at 09:20  AM, Justin Greene wrote:

> I just went through a few days of trying to figure this out and found 
> that
> the only two ways were using a javascript to load a .gif and passing the
> parameters or using a hidden frame and dynamically changing the frame 
> src.
> If you have control over the page you are submitting and can cause it 
> return
> a .gif content type then the .gif method is the easiest.  If you do not 
> have
> control over the page then the hidden frame method will work the best 
> as you
> will be able to confirm that the page is loaded.  I have a URL at home 
> on
> this that I will forward tonight as I cannot seem to find it from here.
>
> Justin
>
>> -Original Message-
>> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, April 30, 2002 4:26 PM
>> To: CF-Talk
>> Subject: Calling server code without reloading
>>
>>
>> Lets say I have a form field on a page. When I type in it, I
>> want what I have typed to be sent to the server and something
>> done to it. THe result of that something will come back to me
>> and be loaded into a different form field. This should be
>> done without reloading the page.
>> Normally, I'd do this with a hidden frame and some
>> javascript. I've been asked to do it some other way using
>> layers, objects or other stuff. I'm researching it but I
>> might as well ask if anyone here has heard of something in this area.
>> Thanks
>>
>> Michael Dinowitz
>> Publisher: Fusion Authority weekly news alert
>> (www.fusionauthority.com/alert)
>> Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc.
>> (www.houseoffusion.com)
>>
>>
> 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Calling server code without reloading

2002-05-01 Thread Jon Hall

Well there are two different ways to do it that I know of. The easiest would
be the xmlhttp objects available in IE5+ and Mozilla. Sending url
parameters, and getting back your data in a parseable format. I haven't done
this but in theory it is very easy. Some code...
try {
  // for Mozilla
  req = new XMLHttpRequest();
  req.overrideMimeType("text/xml");
} catch (e) {
  // for IE5+
  req = new ActiveXObject("Msxml2.XMLHTTP");
}
req.open("GET", "page.html",false);
req.send(null);

If NS4 is a requirement hidden ilayers are the only way to go. In which
case, you might as well use the hidden iframe method in IE/Moz. In this case
you would change the src of the ilayer/iframe, and in the page in the
invisible frame you would grab the data you want from the database based on
the url parameters, and have functions in the hidden object that basically
pass the data to functions in the parent page that do the visual stuff like
filling in form fields.
I have a site up that is doing this now for a phone number lookup, but it
requires a login. Shoot me an email and I can send you a demo u/p.

jon

- Original Message -
From: "Michael Dinowitz" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 30, 2002 4:26 PM
Subject: Calling server code without reloading


> Lets say I have a form field on a page. When I type in it, I want what I
have typed to be sent to the server and something done to it. THe result of
that something will come back to me and be loaded into a different form
field. This should be done without reloading the page.
> Normally, I'd do this with a hidden frame and some javascript. I've been
asked to do it some other way using layers, objects or other stuff. I'm
researching it but I might as well ask if anyone here has heard of something
in this area.
> Thanks
>
> Michael Dinowitz
> Publisher: Fusion Authority weekly news alert
> (www.fusionauthority.com/alert)
> Listmaster: CF-Talk, CF-Jobs, Spectra-Talk, Jrun-Talk, etc.
> (www.houseoffusion.com)
>
> 
__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: RE: Calling server code without reloading

2002-04-30 Thread ksuh

If they're using just IE, you can try Data Binding.  Fun fun fun.

- Original Message -
From: [EMAIL PROTECTED] (Michael Dinowitz)
Date: Tuesday, April 30, 2002 2:40 pm
Subject: RE: Calling server code without reloading

> Flash would be my first choice for this bar none but the client is 
> corporate and getting them to use flash at the moment is an uphill 
> battle (I'm a subcontractor with no power). I have the code 
> working in a hidden frame but a new member of the project team 
> would like it in a different way and I've been given the task of 
> writing up all the ways that are possible. Fun.:)
> 
> At 04:35 PM 4/30/02, you wrote:
> >Sounds like a job for Flash (sorry, could not resist )
> >
> >
> >
> >-Original Message-
> >From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] 
> >Sent: Tuesday, April 30, 2002 4:26 PM
> >To: CF-Talk
> >Subject: Calling server code without reloading
> >
> >
> >Lets say I have a form field on a page. When I type in it, I want 
> what I
> >have typed to be sent to the server and something done to it. THe 
> result>of that something will come back to me and be loaded into a 
> different>form field. This should be done without reloading the 
> page. 
> >Normally, I'd do this with a hidden frame and some javascript. 
> I've been
> >asked to do it some other way using layers, objects or other 
> stuff. I'm
> >researching it but I might as well ask if anyone here has heard of
> >something in this area. Thanks
> >
> >Michael Dinowitz 
> >Publisher: Fusion Authority weekly news alert 
> >(www.fusionauthority.co>Listmaster: CF-Talk, CF-Jobs, Spectra-
> Talk, Jrun-Talk, etc. 
> >(www.houseoffusion.com)
> >
> >
> >
> 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists