PTPMMenu.js getting wrong IE version...

I noticed it while doing the navigation menu with PLUMTREE's exisiting menu library. is the line in this file PTPMmenu.js correct and meant to have the same purpose that I assume below ?
Line : 251
PTPMMenu.isIE5 = (((PTCommonUtil.getIEVersion() >= 5.0) && (PTCommonUtil.getIEVersion() < 5.5)) || PTPMMenu.isHTTPS);
My Understanding for this line is it sets a flag for whether your IE is above 5 and below 5.5 with https... then it uses DIV instead of IFRAME for popup in menu...
What if your IE is 6.xxxx...? well, It use the IFRAME for popup and menu error out as critical IE error...
Can somebody from plumtree verify this ? because once I set PTPMMenu.isIE5 to true, everything works fine...
Thanks!!
Sanjay

I noticed it while doing the navigation menu with PLUMTREE's exisiting menu library. is the line in this file PTPMmenu.js correct and meant to have the same purpose that I assume below ?
Line : 251
PTPMMenu.isIE5 = (((PTCommonUtil.getIEVersion() >= 5.0) && (PTCommonUtil.getIEVersion() < 5.5)) || PTPMMenu.isHTTPS);
My Understanding for this line is it sets a flag for whether your IE is above 5 and below 5.5 with https... then it uses DIV instead of IFRAME for popup in menu...
What if your IE is 6.xxxx...? well, It use the IFRAME for popup and menu error out as critical IE error...
Can somebody from plumtree verify this ? because once I set PTPMMenu.isIE5 to true, everything works fine...
Thanks!!
Sanjay

Similar Messages

  • It's happened twice in the last month- I suddenly can't open my Pages documents unless I get the new version (for $20!) What is going on??!!

    Some documents, but not others, that I've created/edited/printed and worked with JUST RECENTLY suddenly won't open UNLESS I get the new version of Pages (for $20!!) I just edited some of these a couple of days ago! I edited one, printed it, etc. Now I need to look at it again and it WON'T open! I "need the new version of Pages??! What if I don't want to suddenly shell out $20 to work with documents I made on the version I already have? And why do SOME documents now look different (in a new style) while others look like they always have, and function normally?

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • How do i programmatically get the current version of a file?

    I asked this same question in the SP2013 forum and I haven't been able to determine the solution. So I posting this here, to maybe get more eyes on this issue. 
    ...I am basically trying to programmatically get the current version of a document in a library, then determine if its a major or minor version, in code. I have tried doing this, to get the current version but I keep getting an empty string returned.
    var versions = item.File.Versions;
    string currentVersion = string.Empty;
    foreach (SPListItemVersion version in item.Versions)
    DateTime lastMod = version.Created;
    foreach (SPFileVersion fileVersion in versions)
    if (fileVersion.IsCurrentVersion == true)
    currentVersion = fileVersion.ToString();
    Does anyone know what am doing wrong, and how to get this resolved? I really appreciate the help. Thanks

    Why not just get the SPListItem and look at it's Version property? That'll be the latest version.
    No need to go into the Versions collection etc. When you get a list item you get the current version as standard.
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • I cannot activate the screen saver. My operating system is Mac OS X version 10.6.8. The screen message says 'Please contact the vendor to get a newer version of the screen saver'

    When I try and activate my screen saver the following message appears
    Please contact the vendor to get a newer version of the screen saver
    My operating system is Mac OS X  version 10.6.8

    To begin with, you have the wrong forum - the iMacs covered by this forum were discontinued in 2005 and are incapable of running OS X 10.6.x
    Try either iMac (Intel) or Snow Leopard forums.
    To get more help, contributors will need to know what screensaver you're trying to use - is it one downloaded from the internet or one of the OS X default set?

  • HT5071 How do I get and english version of Jeremy Clarkson's newest book for ipad?

    How do I get an english version of Jeremy Clarkson's newest book for ipad?

    Just FYI, you've posted in the wrong place, this part of the discussions site is for iBook Author, you should post in iBooks.
    Anyway, if you're on your mobile device, you open IBooks (you may have to download the app from the AppStore, I don't think it's there by default), tap 'store', and search for 'Jeremy Clarkson'. Latest book I could see is "the Top Gear Years".
    If you're on your mac, the iBook store can be accessed via iTunes, downloaded, and then sync your iPad.
    Hope that helps.

  • JSF - Why getting wrong path Handling URLs in Facelets Templates

    Hi, I am trying to do a web application using JSF, Facelets in Netbeans 6.7. but I am having a problem:
    Why I am getting wrong path ?
    It is very simple, straight forward web application.
    When run, it shows the template-client.xhtml perfectly . The navigation menu is shows ok, but they don't work. However, if I enter in the browser address http://localhost:8080/test3/portal/products.jsf it goes perfect to the right page and the navigation between About, Products and Home works perfect. But once I click on Home, the menu start to give me errors. Looks like the path is wrong again.
    folders structure:
    test3My code:
    faces-config.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2"
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
        <application>
            <view-handler>
                com.sun.facelets.FaceletViewHandler
            </view-handler>   
        </application>
    </faces-config>web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <context-param>
            <param-name>com.sun.faces.verifyObjects</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>com.sun.faces.validateXml</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
            <param-value>.xhtml</param-value>
        </context-param>
        <context-param>
            <param-name>facelets.DEVELOPMENT</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <param-name>facelets.SKIP_COMMENTS</param-name>
            <param-value>true</param-value>
        </context-param>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.jsf</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
            <welcome-file>forward.jsp</welcome-file>
            </welcome-file-list>
        </web-app>forward.jsp:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <jsp:forward page="template-client.jsf"/>template-client.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://java.sun.com/jsf/html">
        <body>
            This text above will not be displayed.
            <ui:composition template="/template.xhtml">
                This text will not be displayed.
                <ui:define name="title">
                    Facelets
                </ui:define>
                This text will also not be displayed.
                <ui:define name="body">
                    Hello from the Facelets client template!
                </ui:define>
                This text will not be displayed.
            </ui:composition>
            This text below will also not be displayed.
        </body>
    </html>template.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:ice="http://www.icesoft.com/icefaces/component">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>Facelets - Template Example</title>
            <link href="#{facesContext.externalContext.requestContextPath}/css/default.css" rel="stylesheet" type="text/css" />
        </head>
        <body>
            <div id="menu">
                <ui:insert name="linemenu">
                    <ul>
                        <li><a href="../forward.jsp">Home</a></li>
                        <li><a href="about.jsf">About Us</a></li>
                        <li><a href="products.jsf">Products</a></li>
                    </ul>
                </ui:insert>
            </div>
            <div>
            <h1>
                <ui:insert name="title">Default Title</ui:insert>
            </h1>
            <p>
                <ui:insert name="body">Default Body</ui:insert>
            </p>
            </div>
        </body>
    </html>about.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets">
        <body>
            <ui:composition template="./../template.xhtml">
                <ui:define name="title">
                    title ABOUT
                </ui:define>
                <ui:define name="body">
                    body ABOUT
                </ui:define>
            </ui:composition>
        </body>
    </html>products.xhtml:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets">
        <body>
            <ui:composition template="./../template.xhtml">
                <ui:define name="title">
                    title PRODUCTS
                </ui:define>
                <ui:define name="body">
                    body PRODUCTS
                </ui:define>
            </ui:composition>
        </body>
    </html>

    My folders:
    Test3
         Web Pages
              /WEB-INF
              /css
                  -default.css
              /layouts
              /portal
                  -about.xhtml
                  -products.xhtml
              -forward.jsp
              -template.xhtml
              -template-client.xhtmlPlease, I need help with this. It may is very easy to find out, I maybe skiping something
    Thank for your help anyone!!!

  • How can  get an earlier version of my LDM ???

    Hi,
    we come to one issue:
    say we modify LDM at Nov 1th, and modify LDM at Nov 2th,but after commit what we did at Nov1th,and Nov 2th, we find there are 'mistakes' in Nov 2th,
    how can we get an earlier version of LDM?(in our case, we want revert to version Nov 1th).
    we use SDDM Version 3.1.1.703,and we share the project under subversion managed.
    more questions:
    (under subversion managed SDDM projet)
    1.what is best praise of backup in case we do something wrong and want rollback whole change to previous version?
    2.how to do that ,is there any document guide ?(I searched this forum, seems not find similar topic)
    Thanks,
    Jinbo

    Thanks Philip,
    now we can see the old reversion.
    but new issue comes.
    say two users:user1 & user2 are working on the LDM, and remote directory called LDM_remoate
    at Nov 2th,
    user1 have a latest local working copy under his machine directory LDM_local_user1
    user2 have a latest local working copy under his machine directory LDM_local_user2
    At Nov3th,
    user2 found some mistakes when user1 checked in at Nov 1th,so user2 want to get a earlier version say Nov 1 th,
    according to your guide, user2 get the design reversion number Nov 1th, and re check out at new working copy(Nov 1th) under new local directory:LDM_local_user2_new
    when user2 open LDM_local_user2_new, it indeed come back to version Nov 1th,
    but in the incoming change window, it still show many incoming changes,
    how to make the remote LDM_remote to become like LDM_local_user2_new? so that user1 only need check incoming change from LDM_remote as usual to make at local copy
    LDM_local_user1 also reverted to version Nov 1th?
    hope I make it clear to you.
    thanks,
    Jinbo

  • Get-ChildItem on version 2.0 vs 3.0

    Not sure if this has been discussed or is known, but I found an interesting issue when running Get-ChildItem on version 2.0 vs 3.0
    So I have the simple command of
    $files = Get-ChildItem -Path $Source -Recurse -ErrorAction SilentlyContinue -ErrorVariable myError
    If $Source only contains 1 file, then $files is of type System.IO.FileInfo, whereas, if there are more than one, it would be of type Syste.Array. I actually thought $files would always be a collection, no mater if there was one or multiple files, but obviously
    I was wrong.
    So with thinking it will always be a collection, I used $files.Count for my Write-Progress
    Write-Progress -Activity "Backing up Files" -Status "File: $src-->$dest" -PercentComplete ($counter / $files.Count*100)
    Everything on my machine worked and I am running version 3.0, so I put the script on a machine that was running 2.0 and the Write-Progress failed with cannot divide by zero..hmmmmm
    So doing a little testing, I ran the Get-ChildItem command on version 2.0 and then did $files.Count which returned nothing due to $files being System.IO.FileInfo, and it doesn't have a property of Count, but if you run it on version 3.0 and then do $files.Count,
    even though $files doesn't have a Count property when it is of type Syste.IO.FileInfo or System.IO.DirectoryInfo, it will return 1
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

    In PowerShell 3.0 or later, you can check a .Count property on any value (even $null.Count); it was added along with the Member Enumeration feature.  This works for .Length as well.  If no property / field named Count or Length exists on the object,
    PowerShell will enumerate it for you and return the number of objects
    When you're needing to support PowerShell 2.0, you need to be more careful.
    On a side note, use the syntax in Boe's last post, with the @() operator around the command that you ran.  There's a subtle difference between these two:
    $files = @(dir DoesNotExist.txt -ErrorAction SilentlyContinue)
    $temp = dir DoesNotExist.txt -ErrorAction SilentlyContinue
    $files2 = @($temp)
    $files.Count # 0
    $files2.Count # In PowerShell 2.0, this will be 1. In 3.0 or later, it's 0.
    This is because there are technically two different kinds of Null values that the PowerShell engine recognizes:  actual null references, and a value called AutomationNull, which is used to represent a command which didn't output anything.  In PowerShell
    2.0, when you assign the result of a command to a variable, it didn't keep track of whether the result was AutomationNull or not, resulting in this weird behavior.  3.0 and later correct this.
    Here are a couple of other demonstrations of this in action:
    $array1 = @($null)
    $array2 = @([System.Management.Automation.Internal.AutomationNull]::Value)
    $array1.Count # 1
    $array2.Count # 0
    function ReturnsNull { return $null }
    function ReturnsNothing { }
    $array1 = @(ReturnsNull)
    $array2 = @(ReturnsNothing)
    $array1.Count # 1
    $array2.Count # 0

  • Confused about uname (wrong OS version)

    I have a Mac Pro (8-core double Xeon), which has never had less than 10.5 installed, though when I got it, I migrated from a PPC machine that may have gone back as far as 10.2. It is currently running Mac OS X 10.6.2.
    When I run _uname -v_, I get:
    $ uname -v
    Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386
    Note that uname thinks I'm running Jaguar. The xnu version number and the build date make sense, though.
    Similarly with sysctl:
    kern.osrelease = 10.2.0
    kern.osversion = 10C540
    Build right, release version wrong. Doing a full _sysctl -a_ and grepping for 10.6 turns up nothing. I see the same thing on my MacBook Pro.
    Two questions:
    1) Is this the expected behavior? Why?
    2) What is the correct way to get the "marketing" version of the OS from the command line?

    Note that uname thinks I'm running Jaguar. The xnu version number and the build date make sense, though.
    That's an incorrect interpretation on your part. Understandable, but incorrect.
    The response from uname includes the kernel version number, not the Mac OS version number. They track closely, but the first number in the kernel is 4 greater than the revision number of the OS.
    In other words, kernel version a.b.c should be interpreted as:
    Mac OS X 10.(a-4).b
    So kernel version 10.2.0 translates to: Mac OS X 10.(10-4).2, or 10.6.2
    It's a little clearer on earlier versions of the OS, e.g. kernel version 9.8.0 translates to 10.(9-4).8, or 10.5.8, and kernel 8.11.0 translates to 10.4.11.
    I forget the reason why the 4 difference, but I'm sure I could find it if I dig deep enough.

  • How do I get a previous version of Apple software? specifically ios, iworks apps

    Hi all,
    I have an iPad 1 that still has the original ios loaded. I don't want to load ios5 or greater due to excessive processor demand on iPad 1, slowing it significantly. However Apple genius bar tells me that the only upgrade available is the current version of the ios. Is there a way to get a previous version, like 4.3?
    Also, on the iPad iWorks apps - Pages, Numbers, and Keynote - the current offerings in the App store require ios5. Is there a way to get previous versions that will run on 4.3?
    thanks in advance for any guidance!

    If you do a web search for "iOS direct download", you'll find sites that have links to a direct download from Apple's servers. Make sure of two things:
    1) The URL for the download begins with "appldnld.apple.com". If you see any other server listed, that would be some unauthorized site and downloading from that site will be extremely risky;
    2) You get the correct installer file for your model of device. If you get the wrong installer, you risk permanently disabling your device.
    Once downloaded, install it by Option-clicking the Update button (Shift-click in Windows) in iTunes and choosing the downloaded file.
    As to earlier versions of the iWork apps, no, if you didn't get the older versions from the iTunes Store before the upgrade required iOS 5, then there's no way to get them now.
    Regards.

  • Wrong class version

    Hi,
    I am trying to copmile and run AppFuse https://appfuse.dev.java.net/ in Eclipse, but am getting a wrong class version error:
    F:\...\Constants.java:20: cannot access java.lang.Object
    [javac] bad class file: C:\jre1.5.0_02\lib\rt.jar(java/lang/Object.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    no I understand that this is due to conflicting JDKs and JREs (JVMs?), so what do I need to change? I've been going round in circles and think there might be somwthing I've missed.
    Any help/suggestions very welcome, any questions answered if I can.

    apologies, seen another thread on this at http://forum.java.sun.com/thread.jspa?threadID=517933&tstart=0

  • Can i get the old version back cause the new one sucks

    how do i get my old version back this new one sucks bad it keeps saying not responding and locks up i never had this problem till i upgraded

    I'm not having any problems so far, so it might be a problem with your computer, or perhaps something went wrong when you installed the update. Or there could be a conflict with your extensions, or you might just have too many extensions. There are several possibilities.
    Anyway, rolling back to a previous version is not recommended, and I've read that the only stable version other than 5 is 3.6.18. However, you can find all versions at ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/. If you want to install an older version, another user named jscher2000 said:
    "First, I recommend backing up your Firefox settings in case something goes wrong. See Backing up your information. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, download and save Firefox 3.6 to your desktop for future installation. ...
    Close Firefox 5.
    You could install Firefox 3.6 over it (many have reported success) or you could uninstall Firefox first. If you uninstall, do not remove your personal data and settings, just the program."
    He was referring specifically to 3.6, but his advice should work for any version, I think. Including FF4. But again, rolling back isn't recommended.

  • Error via ODBC: wrong dll version (check: SQLTCPx.dll)

    Hi,
    after system, MAXDB 7.06.03 & database studio installation on new server my application reports error: wrong dll version (check: SQLTCPx.dll)
    On previous server connection via ODBC was ok.
    I have checked all available ODBC Drivers (MAXDB, SAPDB, SAPDB 7.4) and it does nothing.
    Connection via .net driver (without ODBC) works fine.
    How can I get correct version of dll ?
    Which version is correct?
    This dll currently exists in system: v. 7.6.3.0 (C:\Program Files\sdb\DBM) or v. 7.6.2.0 (C:\Program Files\sdb\programs\pgm)
    Best regards,
    Lukasz
    MAXDB 7.06.03.07 Community Edition, WIN 2k3 x32 Ent. ed.
    ODBC:
    Version                   7.6.03 Build 007-123-157-515
    Object Mode           32 bit
    Test File                  pgm/sqlod32.dll
    Make Id                  256246
    Installation Date     24.01.2008
    Size                         3045874 bytes
    Checksum               293d54b1f67025353bc9cfdbe1dd84f3

    Hello Wolfgang,
    problem is after Database Studio installation.
    My test system is:
    OS: Windows XP Sp2
    MAXDB Software:
    1) MAXDB 7.6.03.07 (install file: maxdb-all-win-32bit.exe, server+client installation)
    2) SQL Studio 7.6.03.02 (174235)
    3) Database manager 7.6.03.02
    If i install MaxdbStudio (install file: maxdb-studio-win-32bit.exe) on that environment I'll get error :wrong dll version (check: SQLTCPx.dll) in all known connections via ODBC.
    Connections via odbc means for me connection via ODBC Source witch uses MAXDB (unicode) driver, file: SQLODE32W.DLL
    (Control panel => Administrative tools => ODBC Sources => Add source => MAXDB (unicode) ... etc.).
    SQL Studio, database manager and maxdb studio starts and works correctly.
    Connections via MaxDB ADO.NET Data Provider works correctly (another application).
    Error occurs in Windows 2003 as well (the same software).
    Best regards,
    Lukasz

  • My old computer that ran on Mavericks was stolen and my new computer runs on Yosemite. I don't like the new iMovie (10) on the Yosemite version. Is there any way to get the old version (9) back?

    My old computer that ran on Mavericks was stolen and my new computer runs on Yosemite. I don't like the new iMovie (10) on the Yosemite version. Is there any way to get the old version (9) back?

    I read his question the way I answered it.
    If that is wrong then he can clarify his question.

  • Wrong Mac version linked from downloads page

    The Mac OS version of Firefox linked from the standard downloads page
    https://www.mozilla.org/en-US/firefox/all/
    is WRONG.
    Version linked is 32.0.0.
    SHOULD BE 32.0.2.

    hello, thanks for reporting it. this issue appears to be a bug currently and should get fixed through [https://bugzilla.mozilla.org/show_bug.cgi?id=1069754 bug #1069754].

Maybe you are looking for