CFML - cflayout and refreshing pages

I would like to auto-refresh a cfml page with a cflayout (tab style) refreshing with the tab open the user was previously on. The cflayout  is generated from a query. Is that possible?

I'm just refreshing the parent window this page is on when they click one of the links:

<a href="searchAdmin/act_recordTracking.cfm?trackingID=#trackingID#&trackingSiteID=#trackingSiteID#&trackingSite=#trackingSite#" onClick="window.location.reload()" target="_blank">
<cflayout type="tab" name="unitTabs">
	
<cfloop query="qry_getUnits">
    
     <cflayoutarea name="#trackingUnit#" title="#trackingUnit#" style="height: 400px;">
       <table cellpadding="0" cellspacing="0" id="trackingList">
      	<tr>
        	<td colspan="6" class="trackingListHeader">1 column</td>
     	</tr>
         </table>
   </cflayoutarea>
  	</cfloop>
 
</cflayout>

Open in new window

traportAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

azadisaryevCommented:
your description/explanation of the problem is a bit confusing...

what exactly do you want to do:
a) load different content into the same tab when a user clicks a link inside a tab?
or
b) automatically refresh currently active tab content (without any user interaction)?

if it's a), then it is as easy as using ajaxlink() cf function in the href attribute of your link:

<a href="#ajaxlink('searchAdmin/act_recordTracking.cfm?trackingID=' & trackingID & '&trackingSiteID=' & trackingSiteID & '&trackingSite=' & trackingSite)#">

if it's b), then it is more complicated...

Azadi
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
traportAuthor Commented:
I'm sorry it took me so long to come back here. Yes, I meant a). Sorry I didn't word it clearly but you were very helpful! Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.