Help tabs cflayout, cf 9 need to redraw a correct size with ext3 or CF
Whenever you load a tab dynamically with a cflayoutarea (tab) in Coldfusion 9 it will get the right height (usually just like high 20px). This also occurs when you try to reload a tab with coldfusion.navigate. I need to find a way to access the underlying EXT or use coldfusion functions to get these tabs to redraw. From now my only workaround is assigning a height, but this will create scrollbars instead of just properly mounting height as it should. Here is an example layoutarea:
< cflayout type = 'tab' style = "padding: 5px;" Width: 940px; "name ="ajaxTabs">
< name cflayoutarea = "tab0" selected = "" #tab0 # "style =" padding: 5px; "" min-height: 450px; "overflow = 'auto' refreshonactivate = 'yes '.
title = "< p ="n1"id" > ballots registered < /p > ""
source = "" #myself #xfa.savedNewsletters # "/ >"
I have got the formula for getting the layoutarea to respond, but did not understand exactly what I need to resize (below is just an attempt to jump first deactivation/activation height):
< cfsavecontent variable = "theJS" >
< script type = "text/javascript" >
function resizeTab() {}
var activeID is ColdFusion.Layout.getTabLayout('ajaxTabs').getActiveTab (user.user);.
ColdFusion.Layout.disableTab ('ajaxTabs', activeID);
ColdFusion.Layout.enableTab ('ajaxTabs', activeID);
ColdFusion.Layout.selectTab ('ajaxTabs', activeID);
return;
}
< /script >
< / cfsavecontent >
< cfhtmlhead text = "#theJS #" >
< cfset ajaxOnLoad ('resizeTab') >
Right, I fixed it, I can't guarantee that the other functions of cfajax will be unaffected, but my tests show so far everything is ok.
Basically, I started to have a look through the CF files Javascript and found one that has all the CF functions that control the functions of ExtJS.
After a bit of game and then some pertussis to the chagrin of my colleagues, I managed to get the job autoHeight.
What I have found is the Coldfusion code creates a Tabpanel first, but put nothing into it, then for each tab you create creates an Ext.Panel and puts inside the tab.
The autoHeight was put on the tabpanel himself, but it was not established on the Ext.Panel, and so they were not resizing.
I've added the parameter and everything seems to work, it still works if you want to specify a height.
The file is located in your inetpub/wwwroot/cfide/scripts/ajax/package (Windows) and is called cflayout.js
Simply replace it with a http://www.theidol.com/downloads/cflayout.js and you should find that it works.
You can back up your old file.
The change I made is on line 70 and modified to
var = new Ext.Panel _70 ({title: _6a, contentEl:_68, _cf_body:_68, id: _69, liquid: _6c, tabTip:_6b, autoScroll: _6f, autoShow:true});})
TO
var = new Ext.Panel _70 ({title: _6a, contentEl:_68, _cf_body:_68, id: _69, liquid: _6c, tabTip:_6b, autoScroll: _6f, autoShow: true, autoHeight:true});})
I hope this helps anyone with the same problem on.
Adobe want a kick for this omission.
Paul
Tags: ColdFusion
Similar Questions
-
The Firefox HELP tab keeps appearing whenever I open the application or a new window. Firefox 3.6.28, Mac OS 10.4.11
Ah, apparently it's reading I wanted as long as home pages; When I reset my homepage it started working right.
Thank you
-
He said all before. He tells me I have the latest version in the help tab slot on Firefox. I've upgraded as 4 times now, I even uninstalled firefox and reinstaled the latest version, but no change what he always says I'm out of date. as I said above on the addon pages I can't get what I want, as it says I still have version 3.6 help please I like firefox and IE hatred but it works much better for the moment
https://support.Mozilla.com/en-us/KB/websites+or+add-ons+incorrectly+report+incompatible+browser
-
I need help as soon as POSSIBLE... impossible to open my PDF FILES... get a 213:19 error... I rebooted, but nothing helps... I NEED to solve this problem as soon as possible since I have CRITICISM of work files.
Hi Marjiegs,
Please see the steps in this troubleshooting KB doc: solving the problem of license and 213:xx Acrobat X and XI Acrobat error
Let us know if you still experience the problem.
Kind regards
Meenakshi
-
I need help to know what to buy. How can I chat with a salesperson from Adobe?
I need help to know what to buy. How can I chat with a salesperson from Adobe?
Hi nappaland,
You can check this link: contact us | Adobe
Kind regards
Claes
-
I don't see adobe now sketch in the Mac App store, previously I bought it on the App store, please help me in what I need this in a very urgent basis
You should be able to see in your previous purchases.
Adobe Photoshop sketch is currently on the App Store here: Adobe sketch.
He just received an update in December.
-
If I create a Web site now I will need to redraw it when the new version of delicate design comes out?
A sensitive site may be derived from the version of your office, but of course, you will need to put in some work to determine behaviors for other devices. There is no "one fits all", without worrying whether sensitive or selective.
Mylenium
-
I am a student and have this version of CC. I've updated my card number and still, it won't let me open or use one of my applications such as photoshop or illustrator. Could someone help me please? I need this to work!
check your account to ensure that your payment has been processed using your adobe id, https://helpx.adobe.com/x-productkb/policy-pricing/remove-credit-card-info-adobe-account.h tml
If she is, log out and then back to your desktop app cc using this same id adobe, connect and disconnect activate Cloud Creative applications
-
Could not get access to manage extensions / plugins under the help tab.
I'm working on a desktop Windows OS 8.0. On the help tab, I can't access the line 'manage extensions', but just below the legal notifications. I'm Dutch, so I don't really know if it's the right translation. I use PS CC.
I think you are talking about CC 2014
-
Need to find the correct reference for replacement screen Aspire 5742
Hello
I need to find the correct part for replacement screen Aspire 5742. The backlight does not work anymore, and I already bought a UPS to see that this model/version does not use a UPS (as the backlight is LED and integrated in the element of the screen). I find the somewhat confusing model numbers table. The full model version seems to be:
5742 - 464G50Mnnk
S/N: [redacted to comply with guidelines]
SNID [redacted to comply with guidelines]
This seems to be a very good laptop that belongs to a mine Guigou, but not worth repair at the local dealership, and I'm sure I can replace the screen myself if I can get the right part, having already dismantled the set of sieves and to be an electronic engineer.
Either way, I guess that this version of model is the 5742, not the 5742 G (even if the model number has a 'G' in it: some of the confusion). Any help would be appreciated.
Part numbers for the 15.6 TFT LCD for the Aspire 5742 are:
LK.15605.004
LK.15605.010
LK.15606.009
LK.15608.007
LK.15608.011
LK.1560A.004
LK.1560D.010
LK.1560E.004
LK.15605.019
LK.15606.012 -
I first Pro CC and you want to create DVDs. I understand this need Ii Download Premiere Pro CS6 (with rappel) I find Premiere Pro CS6 in My creative Cloud window. BUT... it only allows me to install. He said "up to date". There is NO button install. How to do it?
Previous through Cloud http://helpx.adobe.com/creative-cloud/help/install-apps.html#previous
- and if you have Cloud application manager 2015 https://forums.adobe.com/thread/1906752 of difference
Instructions again, cloud or version https://forums.adobe.com/thread/1992717 serial number
-a of notes on different versions of cloud and step by step on these differences
-contains information about the separate library download which is necessary
-
Hi all
I have a requirement where I need to get all the records, for each record in double, I need to get a single column with null or 0.
create table a1
(
Identification number,
VARCHAR2 (100), the point
part varchar2 (100));
Insert into a1
values (1, 'ABC', 'A1');
Insert into a1
values (2, 'DEF', 'A2');
TABLE A
PART ITEM ID
1 ABC A1
1 ABC A1
1 ABC A1
DEF 2 A2
DEF 2 A2
3 DEF A2
O/P
PART ITEM ID
1 ABC A1
1 ABC 0
1 ABC 0
DEF 2 A2
2 DEF 0
3 DEF 0
Thanks in advance.
Thanks for your help FrankKalush...
This one will work.
WITH got_r_num AS
(
SELECT NVL (a1.id, a1.id) as id
NVL (a1.item, a1.item) AS element
NVL (a1.part, a1.part) IN the framework
a1.id AS a_id
ROW_NUMBER () OVER (PARTITION BY a1.id
ORDER BY NULL
) AS r_num
BY the a1
)
SELECT id
element
CASE
WHEN a_id IS NOT NULL
AND r_num = 1
THEN part
ELSE ' 0'
END in the framework
OF got_r_num
;
-
I need script to remove the line with 2 points, another script to remove next lines
I need script to remove the line with 2 points, another script to remove next lines of two scripts needed help please
Thanks in advance
Concerning
Lakshmiganth
Scroll through each pathitem and look at the length of his pathPoints group. If the length is equal to 2 and then use the remove() method to remove it. For example (this is rough, off the top of my head):
var lines = new Array();
for (i = 0; I have< app.activedocument.pathitems.length; ="" i++)="">
If (app.activeDocument.pathItems [i].pathPoints.length == 2) {}
Lines.push (App.activeDocument.pathItems [i]);
}
}
for (i = 0; I have< lines.length; ="" i++)="">
Lines [i]. Remove();
}
-
do you need to always have your iPhone with you when you wear the watch?
do you need to always have your iPhone with you when you wear the watch?
Answer brief No.. The watch can do many things with the phone. If you have the 2nit series has built in GPS so it can follow, see this.
How to use your Apple Watch without your iPhone in the vicinity - Apple Support
-
I have been using the functionality of Firefox in which I could have multiple sets of tabs open, but only see the game I was working with. I have updated and now the feature disappeared. I had a small icon on the top right of my toolbar. I used it all the time to keep windows separated for financial, plans to travel items, news, etc.. Has it been removed from Firefox?
Hello
The feature of tab groups is always present. You can try with the button right of the + after the last tab and Customize. If the icon is hidden behind the other, or if it is available inside the mini window customize, you can put it back. If the problem persists, you can also try of reset toolbars and controls: and start to make changes and restart in Safe Mode screen.
Maybe you are looking for
-
An older bug is when I try to create a new folder; the currently selected folder becomes "edit mode" (highlighted) instead of creating a "new folder" in edit mode. "." Clip 1. The newest bug is when I select a folder where you want to place the desir
-
How can you save archived messages
In case my blocks hard drive I want to create a back up of my archived messages, how you doing?
-
Windows 8 - booting in the BIOS and driver AMD does not?
HP Pavilion Dm4-3011TX (Beats Edition) Windows 8 Well, my first problem is that I don't know how to boot into BIOS sice, that I've upgraded to W8. I tried to press F9, F10 and all these kinds of buttons, but nothing seems to work? I also tried to go
-
My HPE-137 c - b desktop computer needs a new hard drive. I need to know if the blue of WD 1 TB SATA 6 Gb/s 7200 RPM internal hard drive will work in this model of HP Pavilion Elite 137 c - b. Operating system is Windows 7.
-
How to do a system restore on dates still go back to my computer gives me
I'm trying to restore my laptop to a date more far than its give me... How can I do this?