ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old December 28th, 2004, 01:55 PM
markus_mcclella markus_mcclella is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 1 markus_mcclella User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Refresh - just a portion...

I have this cfm page that collects data to run a search on my Database.

Lets say there is a field called "State" and then there are lots more optional search criteria.

Now what I would like is If I select a State a query would fire and get all of the known towns in that state. This would be a completely dynamic result set. I would like the sceen then to show that state still in the first field but then display a list of checkboxes with the town names. If the state was changed then the query would fire again and the list of checkboxes would change.

The problem is that I cannot reload, refresh, or submit the entire page. Idealy I only want to reload the dynamic checkbox portion when the State value changes.

I already know how to fire the function and how to run the query, am I asking too much to reload "only one dynamic table inside of a form"?

~Markus

Reply With Quote
  #2  
Old December 28th, 2004, 02:11 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,626 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 10 h 6 m 34 sec
Reputation Power: 53
What you are asking for isn't possible - for any web browser. The web is a stateless system and runs only in a request-response model. There's no inherent way for the browser to refresh only part of its content.

Now, that said, you have some options that hack around this limitation. You could write javascript to execute a request to the server in the background and then update the content based on that request. Or you could make the content a Flash movie and it can handle making calls to the server and updating itself.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Refresh - just a portion...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway