|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
CFLayout
Author: Les Schmidt
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56316#323223
----- Excess quoted text cut - see Original Post for more -----
William, did you try using the 'refreshonactivate' attribute (along with
'source') of the cflayout tag? Les
Author: Cutter (CFRelated)
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56316#305087
The CFLayout tags use the Ext.BorderLayout object. If you review the 1.1
docs (http://extjs.com/deploy/ext-1.1.1/docs/) you should get most of
the information you are looking for. I would suggest you look at the
addListener() method.
Basically, you create a javascript method that you call from the CF
AjaxOnLoad() method. CF places the necessary code calls to call your
method once all of the ajax components are completely loaded into the
DOM. Then, within your custom method, you get references to the
necessary Ext objects and assign your own additional methods to them.
For instance, you could assign an event listener to the 'tabchange'
event of the tab panel.
Adobe has provided some hooks into some of these objects (like the
onChange attribute for the 'edit' mode of cfgrid), but not all. The
great thing is that most of these things are still accessible directly
through the underlying framework. These are the kind of things I'll be
talking about during my talk at WebManiacs, so I hope you'll get a
chance to attend.
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com
D
----- Excess quoted text cut - see Original Post for more -----
Author: Don L
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56316#304937
----- Excess quoted text cut - see Original Post for more -----
First, great question.
The state of data for each CFlayoutarea tab is loaded (loaded upon the CFlayout
execution) by default also seems to be confirmed in a way by the Source Attribute
of this Tag in the LiveDocs. It would be very desirable to another Attribute
called to the effect of "Load" and default to True something, then for those of
us efficiency maniacs, we can set the Load Attribute to False upon first load for
all tabs other than the Selected one.
Sorry it does not answer your question but I hope it's relevant.
> William
Author: William Seiter
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56316#304857
Hi all,
I have started a project utilizing the ajax commands in cf8 and I have come
across a situation. I want to pull the data inside of the tabbed areas of a
cflayout 'only' when the tab is initiated (clicked on).
I was wondering if anyone has any ideas of how to do it. I was attempting to
determine the name of the tab that had been clicked, however I can't seem to get
that to work. My original intention was to get the name and then do a
ColdFusion.Refresh style command to load the data into the tab (I will probably
put that data into a cfdiv tag)
Any ideas?
William
|
May 24, 2012
|
Latest Fusion Authority Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||