Dreamweaver template files updating, but javascript/jquery not being called on random pages.
Hello,
I have been tasked with updating the navigation on a site that is using a Dreamweaver template (DWT) as the base file. The navigation was originally built using jQuery navigation UI, however this did not address all of our needs and I have updated it with another version of an accordion.
The .dwt file only is only controlling the navigation and the head of the site.
I have integrated the new xhtml structure and added/removed javascript/jquery into the .dwt file. I saved the file, therefore updating all of the relevant .html files, and verified that the accordion works.
However - the accordion does not work for all of the xhtml files. Some files, seemingly at random, are not pulling in the javascript.
When opening the relevant .html files, I can verify that they have all been updated with the new xhtml and the correct javasctipt. However, when viewing the .html files that are not displaying correctly with FireBug, I can see that none of the jquery/javascript is being applied to the navigation (classes are missing that are injected into the xhtml, but the structure and css is correct).
I've done some research and the only issues I've been able to find are related to .xhtml files not being updated with the correct code, but in my case all of the affected files have the correct xhtml and scripts in the head.
Does anyone have any light to shed on this subject? I am quite puzzled.
While I understand that looking at code is the ultimate way to find a solution, the intent of my question was not "how do i fix this" or "what is wrong with my code" but rather "does anyone have any idea as to why this would be happening". Or even, "where would you start to troubleshoot this".
I made my question general as such because I intended on trying to troubleshoot on my own in order to better understand the issue.
Thank you for stating the obvious, not all first time forum posters are completely unaware of how to ask questions properly.
Similar Messages
-
Hello all
My iPhoto will not open. I get a system popup saying "iPhoto is being updated. iPhoto cannot be opened while it is being updated".
I have checked and it is not being updated and I have restarted the Mac.
Suggestions will be gratefully received!
Many thanks!Try delete it and reinstall.
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2. Download it from the App Store to reinstall It's on your Purchases List* there.
For older versions that have been installed from Disk you'll need these additional steps:
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 or later they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
*Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
http://support.apple.com/kb/HT4928
One question often asked: Will I lose my Photos if I reinstall?
iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always. -
Thrown validation exception not being showed in jspx page
Hi,
I have a page with af:table which uses one view object.That view object is using one entity object. In one of the method of the EntityImpl class of my entity object i throw ValidationException.I debugged the application and i saw that it is throwing the exception.But it is not being shown in the page. What might be wrong here?
try{
setAttributeInternal(BANKTYPE, value);
catch(TooManyObjectsException e) {
e.printStackTrace();
throw new ValidationException ("You are trying to add existing record");
My jspx page is having *<af:messages id="m1"/>*
Does the jspx page need any configuration to show the thrown exception in a popup?
Regards,
Priya.Hi vinod,
I tried it and it worked.Thanks a lot :). Can you please tell me why it was not happening with the ValidationException?
Regards,
Priya. -
MethodBinding from commandLink not being called
Hello,
I am building a dynamic datatable and everything is being rendered fine. However, now I want to implement row selection on the table and am doing so by rendering a commandLink on each row that the user can click to select the row. I would like to bind this to an action method in my bean and have so far been unable to invoke the action method when I click on the link. Here is my code:
UICommand comm = new UICommand();
MethodBinding mbButton = app.createMethodBinding("#{myBB.buildModel}", null);
comm.setAction(mbButton);
code]
And my backing bean is defined in faces-config as myBB. In that backing bean, I have: public String buildModel() {
logger.info("BuildModel invoked");
return "stay";
But buildModel is not being called at all when I click the link on the page. What am I missing?Figured it out.
You need to set an ID for each comm, also. Adding a call to comm.setId(<unique ID>) fixed the problem. -
Dreamweaver template file (.dwt) updates related files but not file time stamp
I updated a bunch of dreamweaver template files, and allowed dreamweaver to update the affected files in the site.
The file were all checked out, and they were updated.
However, the timestamp of the files did not update.
Now, when I synchronise with my server, it doesn't see these files as being "new".
Any way I can get these to update the timestamp without manually finding and pushing all of them?
Using Dreamweaver CS5 V. 11.0 Build 4993This is certainly an odd symptom, and one I have not heard of before. If you just create a new 'dummy' child page from this template and leave it local (i.e., don't check it in), when you do an update does that timestamp change?
-
APP says file is Updated, but it is not installed on the computer (was deleted because it word not run). Now I cannot update or download!
CC desktop lists applications as "Up to Date" when they are not
-http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html -
I have photoshop elements 10 with all updates but it will not import raw files from my sony rx100
Can anyone help. I have adobe elements 10 with all updates but it will not import .arw (raw) files from my sony rx100
Sony RX2 is supported in ACR7.2 and higher whereas PSE10 can go as high as ACR6.3
Thus you wont be able to open your raw files directly into ACR. You might want to download DNG convertor(version 7.2 or higher) and use it to convert your raw files to a different raw format (.dng) which is supported by all ACR versions.
Windows download click here DNG Converter 7.2
Mac download click here DNG Converter 7.2
You Tube click here for DNG Converter tutorial
Curtsey of 99jon -
Shuffle no longer syncs the playlists correctly and I cannot "see" the shuffle at all. There is no "device" folder in the left column. This may have occured after an I-Tunes software update, but I am not sure. Is this likely a software issue or is the shuffle not working correctly?
Shuffle no longer syncs the playlists correctly and I cannot "see" the shuffle at all. There is no "device" folder in the left column. This may have occured after an I-Tunes software update, but I am not sure. Is this likely a software issue or is the shuffle not working correctly?
-
I am making an iMovie Trailer on my iPad 3 (updated) and I recorded a few clips using my iPad Camera but they are not being detected on the iMovie Videos scetion. How can I make them appear so I can use them in my trailer?
Hi Stuck-in-NY,
If you are looking to transfer your purchases to your computer, you may find the following article helpful:
Apple Support: Downloading past purchases from the App Store, iBookstore, and iTunes Store
http://support.apple.com/kb/HT2519
Regards,
- Brenden -
my mac is updated but icloud is not showing up in my system preferences, only MobileMe which looks like it charges a fee. Are icloud and mobileme the same? i thought they were different. if they are different why can't i see icloud on my mac?
Your Mac is 3 versions of OS X out of date, current release is 10.9.1, minimum required for Lion is 10.7.4, you have 10.6.8.
Download 10.9.1 (Mavericks) from the App Store -
I have legally purchased and downloaded FLAC music files online, but iTunes will not recognise them. I'm working on a PC. Can anybody help, please?
Hi anniepat,
FLAC files do not run on iTunes. See this article for how to convert your FLAC files to iTunes compatible format:
http://www.bigasoft.com/articles/how-to-import-flac-to-itunes.html
Cheers,
GB -
i need to update to the latest version of itunes, but need to download some images and video first.....it is telling me that this will all be erased if i update, but it is not letting me do anything else.....what can i do??
You have no choice but to restore the phone.
However, I'm sure you've been smart enough to have backed up your data before starting the most significant update in iOS history,right? -
I can not put the updated IOS 7 because my ipod says my ipod is already updated, but it is not.
WHAT GENERATION IS YOUR IPOD? IF IT IS THE FOURTH GENERATION U WONT BE ABLE TO BECAUSE IOS7 IS ONLY AVAILABLE FOR IPOD TOUCH 5TH GENERATION.
-
My iPad says it has to restore to update, but it will not. It is caught in a cycle of not being able to restore but needed to restore. I keep getting error code 3014 but I can not figure out what this means! nor can I do anything about it! So Frutrated!
Also...
See Here > http://support.apple.com/kb/HT1808
You may need to try this More than Once...
But... if the Device has been Modified... this will Not necessarily work. -
My iPad is eligible for an IOS 7.1.1. Update, but I do not have sufficient storage. Is there a way around this? Or...should I try and delete the update?
Have you tried connecting to iTunes and Check for Updates (tap to enlarge image)
Maybe you are looking for
-
How to change the worklist in schedule manager in production system
we are using schedule manager (SCMA) to arrange the daily process in SAP system. but we have to config the worklist and transport it to the production system every time cause in production system if we press edit worklist there would be a message cal
-
How to encrypt the document number in URL
Hi All, I am working on a project where I need to send a URL to the user in his email, the URL contains the document number in it. when the user clicks on that URL a webdynpro application will open with data prepopulated based on the document number,
-
"the application install adobe flash player quit unexpectedly"
when trying to install flash player update on my mac running osx 10.5.8 i get error message "the application install adobe flash player quit unexpectedly" is my mac sabotaging the install or what? is there a setting i need to change in order for my
-
Are there any options available to trade in an old IPad for a new one?
Are there any options available to trade in an older IPad for the newest version?
-
How to turn on the light for when a call comes in ?
how to turn on the light for when a call comes in?