Javascript Menus not Working in version 2.0 per &SESSION. not interpreted

Hi.
<br>
I had an application in HTMLDB 1.6 and I built javascript cascading menus using the syntax:<br>
<\a href="http://myserver.com:7777/pls/htmldb/f?p=104:13:">Expense Accounts</a\> (backslashes added to prevent this from displaying as link)
And they worked fine.<br>
After upgrading to version 2.0, each time the buttons in the menu are pressed, the browser asks for login information. That seems to be because there is no reference to session state. So I added &SESSION. to the link string.
<br>
<\a href="http://myserver.com:7777/pls/htmldb/f?p=104:13:&SESSION.">Expense Accounts</a\>
<br>
But for some reason the string &SESSION. is not being interpreted, so instead of sending the session id to the link, sends the &SESSION. text and the browser shows an error page.
<br>
If you use this syntax in a link within the application, it works, but as the javascript link definition is outside the application, at the images directory, it seems it is not understanding the &SESSION. reference.
<br>
Is there any way to fix this?
<br>
Any help will be appreciated.
<br>
Francisco.

Hello,
Your fix is in the following post: Re: &APP_SESSION. in javascript
Regards,
Arie.

Similar Messages

  • Javascripting no longer works on version 23 breaks ckeditor

    My website ZenCart uses CKEditor in the admin to update product and web pages. I just replaced my hard drive and download the newest version of Firefox. The new version 23 breaks CKEditor - it no longer shows up and allows me to edit my products and pages within ZenCart. I put the old hard drive back in my machine with version 22 and CKEditor is working. I went to the content page it shows "Load Images automatically" and "Enable Javascript". I unchecked "Enable JavaScript" in version 22 and CKEditor did the same thing that it does in version 23. So I know the problem is with Version 23 because "Enable JavaScript" is now missing from the Content page under Options. This issue has basically could put me out of business because I can't add or change produce without CKEditor.
    I've been working and searching the internet for a solution for 3 days. Please help me.

    I found the solution without upgrading CKEditor. To the left of the address bar was a small icon. I double clicked on it. It said something about security issue with javascripting. I said to allow on this website. The CKEditor interface showed up. This fixed my problem.
    Thanks for everyone's help.

  • Client Side Javascript Validation not Working in Struts 1.x version

    hi,
    I'm following the steps provioded in the below link for Javascript Client side validation but still it is not working.I'm struggling to get this work.
    [http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/|http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/]
    "The framework automatically generates the browser specific JavaScript and validate the data only at the client side."From the above statement i undertstand that framework itself generates the javascript function for validating the field mentioned in validations.xml file so that we dont have to explicitly write a javascript function for
    validating the fields
    (or)
    Do we need to call an explicit function
    Please need help on this.
    I have followed all the steps mentioned on the above link but Client Side Javascript Validation not Working in Struts 1.x version....
    Thanks and Regards,
    Deepak

    Hi,
    Please find my steps below....still getting an error.
    2> which version of commons-validation.jar needs to be downloaded ...Link please
        downloaded the latest commons-validation.jar and placed in lib.refreshed the project,and did a build.
        3> which DTD name to be specified in "validator-rules.xml" which is in accordance to commons-validator.jar file.
    validator-rules.xml ::
    <!DOCTYPE form-validation PUBLIC
              "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
              "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">validation.xml:
    <!DOCTYPE form-validation PUBLIC
    "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
    "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
    i did as u said and im gettiong the below errorNov 5, 2009 4:33:08 PM org.apache.struts.validator.ValidatorPlugIn initResources
    SEVERE: Invalid byte 2 of 2-byte UTF-8 sequence.
    org.apache.commons.digester.xmlrules.XmlLoadException: Invalid byte 2 of 2-byte UTF-8 sequence.
         at org.apache.commons.digester.xmlrules.FromXmlRuleSet.addRuleInstances(FromXmlRuleSet.java:139)
         at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1610)
         at org.apache.commons.digester.xmlrules.DigesterLoader.createDigester(DigesterLoader.java:89)
         at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:122)
         at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:238)
         at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:181)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1036)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:455)
         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    Need help forum members.....
    Please reply to my question 1  which has been asked before as belowDo i need to write explicit javascript function for validation in Struts (or) struts generates the javascript function by itself.??? Please explain with an example....
    Edited by: Deepak_A_L on Nov 5, 2009 4:37 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Popup menus not working on pages with RSS feed javascript

    My popup menus were working OK until I added an RSS feed to
    the page that
    uses javascript to parse the feed. Has anyone else
    experienced this? Or
    found a way to parse the RSS feed and still have the popup
    menus work?
    Thanks

    On Tue, 1 Aug 2006 17:42:28 -0500, "D Woods"
    <[email protected]>
    wrote:
    >My popup menus were working OK until I added an RSS feed
    to the page that
    >uses javascript to parse the feed. Has anyone else
    experienced this? Or
    >found a way to parse the RSS feed and still have the
    popup menus work?
    Perhaps, if you post a link to the page that doesn't work,
    someone can
    show you how to fix it.
    Gary

  • Drop down menus not working in Firefox 24.0

    Drop down menus not working in Firefox 24.0 but they still work in Safari/IE/Chrome.
    http://www.horizonhomes-samui.com/
    I'm using Windows 8.

    OK
    Application Basics
    Name: Firefox
    Version: 24.0
    User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
    Extensions
    Name: Adobe Acrobat - Create PDF
    Version: 1.2
    Enabled: false
    ID: [email protected]
    Name: Wondershare Video Converter Ultimate
    Version: 6.0.0
    Enabled: false
    ID: {8D150B8F-EFE8-45a3-A4A3-053020F48FAC}
    Important Modified Preferences
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.disk.smart_size_cached_value: 358400
    browser.places.smartBookmarksVersion: 4
    browser.startup.homepage_override.buildID: 20130910160258
    browser.startup.homepage_override.mstone: 24.0
    browser.urlbar.autocomplete.enabled: false
    extensions.lastAppVersion: 24.0
    gfx.direct3d.last_used_feature_level_idx: 0
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1382343540
    places.history.expiration.transient_current_max_pages: 104261
    plugin.disable_full_page_plugin_for_types: application/pdf
    plugin.importedState: true
    privacy.sanitize.migrateFx3Prefs: true
    storage.vacuum.last.index: 0
    storage.vacuum.last.places.sqlite: 1382343540
    Graphics
    Adapter Description: Intel(R) HD Graphics 3000
    Adapter Drivers: igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32
    Adapter RAM: Unknown
    Device ID: 0x0116
    DirectWrite Enabled: false (6.2.9200.16581)
    Driver Date: 7-31-2012
    Driver Version: 9.17.10.2828
    GPU #2 Active: false
    GPU Accelerated Windows: 0/1 Basic
    Vendor ID: 0x8086
    WebGL Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics 3000 Direct3D9Ex vs_3_0 ps_3_0)
    windowLayerManagerRemote: false
    AzureCanvasBackend: skia
    AzureContentBackend: none
    AzureFallbackCanvasBackend: cairo
    JavaScript
    Incremental GC: true
    Accessibility
    Activated: true
    Prevent Accessibility: 0
    Library Versions
    NSPR
    Expected minimum version: 4.10
    Version in use: 4.10
    NSS
    Expected minimum version: 3.15.1 Basic ECC
    Version in use: 3.15.1 Basic ECC
    NSSSMIME
    Expected minimum version: 3.15.1 Basic ECC
    Version in use: 3.15.1 Basic ECC
    NSSSSL
    Expected minimum version: 3.15.1 Basic ECC
    Version in use: 3.15.1 Basic ECC
    NSSUTIL
    Expected minimum version: 3.15.1
    Version in use: 3.15.1

  • Help menus not working for CS5 Production Premium

    I have installed the trial version of CS5 Production Premium on a Windows 7 64-bit PC. I canot get the Help menus to work for any of the applications.
    Is this a limitation of the CS5 trial version?
    I recently purchased Premiere Elements, but I did not deactivate it before installing Windows 7 on my PC. Would this interfere with the help menus for CS5?

    I think the Adobe site was down for maintenance a few days ago. My CS5 Help menus are working fine today.

  • Drop Down menus not working in newest Internet Explorer.

    Drop Down menus not working in newest Internet Explorer. Ant suggestions??

    <script language="JavaScript" src="mm_menu.js">
    Wait - are you using the long-discredited Macromedia "Popup menus"?
    I'm surprised those still work in any browser. You should read this about them -
    http://www.losingfight.com/blog/2006/08/page/3/
    It's illuminating....

  • Why are moving menus not working in build?

    Recently, whenever I've tried creating a moving menu by putting tracks into drop zones, the project simulates fine, but the menus don't work when they're built. I've checked the VOB files and the problem is definitely there – it's nothing to do with the player.
    Today I created a simple project by automatically creating chapter menus and using several of the Apple templates, to create three menus for three tracks. The only elements I imported were three video tracks and their accompanying audio tracks. None of the menus works when built: one of them (using the 'City' template) is completely blank, in one ('Leader') the template's moving background doesn't work, but the clips in the buttons work, and in the third ('Filmstrip') the button highlights work, but the buttons are blank where the clips should be.
    I've also tried creating my own moving menu design, using drop zones that I've made, and the same thing happens. Yet in a previous version of DVD Studio Pro I've created similar menus that work perfectly.
    Has something broken in vsn 4.1.0? Anybody any ideas why this is happening.
    PowerBook G4 15 Al   Mac OS X (10.4.6)  

    its not you. I have the same issue and also attempted all the same troubleshooting techniques. Help!!

  • Javascript menus don't work.

    I'm having some trouble with javascript menus (or what I believe are javascript menus). Whether it matters or not I am not sure, but it happens in both Firefox and Chrome...IE works fine.
    Examples of sites with menus that don't work:
    1. Orbitz.com: Can't pull down the "Adult" or "Child" menus.
    2. toyota.com: Can't "select vehicle" at the top of the page.
    I get no error messages. I have started Firefox in safe mode, I have also reset Firefox.

    I do have a touch screen. Can't believe that matters!
    I toggled both of these settings to:
    dom.w3c_touch_events.enabled = 0
    dom.w3c_touch_events.expose = false
    However the selector still does not work. I don't get a "javascript;;" message.
    This occurs both in Safe Mode and standard mode.

  • Captivate 8 - Javascript does not work in runtime

    Hello,
    I have been playing with using javascript within Captivate, testing both Captivate 7 and 8.  Using simple code attached to a smart shape button - three alert statements - , I proceeded to test the javascript in both the preview and run time mode.  here are my results :
    Captivate 7
         HTML5 (preview) - only the last alert statement executes    
         HTML5 (published, runtime) - only the last alert statement executes   
         SWF (preview) - all three statements execute      : )
         SWF (published, runtime) - none of the three execute  
    Captivate 8
         HTML5 (preview) - only the last alert statement executes 
         HTML5 (published, runtime) - only the last alert statement executes
         SWF (preview) -none of the three execute
         SWF (published, runtime) - none of the three execute
    Can someone help me out with this?  I would like to my javascript to work in the published versions of both SWF and HTML5 for at least Captivate 8....
    Thank you!

    Hi Rscharfer,
    As the alert dialog box for HTML5 captivate is not modal, the javascript will not pause after executing the first alert, hence what is happening in your case is that all the three alerts are printed one by one over each other and you are just able to see the last one. when you click on the last one the click goes to all the alerts and closes them all.
    try this one, put this script on javascript execute action on a button.
    setTimeout(function(){alert('Hello')},300);
    setTimeout(function(){alert('Shriyansh')},10000);
    setTimeout(function(){alert('Agnihotri')},30000);
    The above script will prove you that all the three are executed and you will get all the 3 alert boxes one after other with intervals as 300ms,10secs and 30 secs.
    Let me know if there are queries on this.
    Thanks and Regards
    Shriyansh
    Adobe Engineering Team.

  • Javascript is not working in JSP

    Hi everybody,
    My javascript is not working in JSP.I m not able to fix this problem.Please tell where the problem in code.
    thx in advance.
    <%@page import="javax.servlet.http.*" %>
    <%@page import="java.sql.*" %>
    <html>
    <head>
    <script type="text/javascript" >
    funtion checkentries()
    if(document.LForm.uname.value==null || document.LForm.upassword.value==null)
    alert("Please fill all entries")
    else
    document.LForm.submit()
    </script>
    </head>
    <body>
    <table width=100% height=100% valign="center" align="center" border=0>
    <tr height=10% ><td>
    <%@ include file="Header.jsp" %>
    <hr>
    </td></tr>
    <tr height=1% width=100%>
    <td align=right>Register
    <hr>
    </td>
    </tr>
    <tr height=77% width=100% ><td>
    <table>
    <tr><td width=65%>
    </td>
    <td bgcolor="black" width="1" ></td>
    <td align="right" valign="top" >
    <form method="POST" action="/EIS/Home.do" name="LForm">
    User Name: <input type="text" align=right name="uname"><br>
    Password: &nbsp&nbsp&nbsp<input type="password" name="upassword"><br>
    <input type="submit" name="submit" value="Submit" onclick="checkentries()">
    </td>
    </tr>
    </table>
    </td></tr>
    <tr height=10% ><td>
    <hr>
    <%@ include file="Footer.jsp" %>
    </td></tr>
    </table>
    </body>
    </html>

    in this part:
    if(document.LForm.uname.value==null || document.LForm.upassword.value==null)should be:
    if(document.LForm.uname.value=="" || document.LForm.upassword.value=="")or
    if(document.LForm.uname.value.length==0 || document.LForm.upassword.value.length==0)

  • Need driver for canon mg 5250 as scanner is not working with version 10.7. Can you please help me to find the driver so scanner works with WIFI?

    need driver for canon mg 5250 as scanner is not working with version 10.7. Lion. Can you please help me to find the driver so scanner works with WIFI?

    Try with the latest Apple driver package for Canon (released 15th Feb):
    http://support.apple.com/kb/DL899
    This solved my problem with the printing.

  • Internet Download Manager cannot integration with firefox4 itis Look in the menus it works but it does not actually work ?

    internet Download Manager cannot integration with firefox4 its Look in the menus it works but it does not actually work

    IDM may need to be updated to work with Firefox 4.0. You could contact them and make them aware of the problems you are having with their program.

  • Javascript function not working in IE but in Firefox

    Dear fellow developers and pros, I have a huge problem with the following function. While it works perfectly in Firefox, the Internet Explorer (my special friend) doesn't interpret the code correctly. At least this is my guess. The message box appears but the UPDATE process is not carried out and the application procedure "proc_delete_mx" is not carried out either. Only the redirect works!
    I need to get it to work in IE, as a lot of end users depend on the IE and are restricted to use alternative browsers.
    Can you please help me on this one!??? You're my last hope as I have already tried to paste this function into several template regions. In the past it used to work for jQuery code not interpreted by the IE.
    <script type="text/javascript">
      function warning1(){
        var lValue = $v('P231_CHECK_CE_STATUS');
        var pValue = $v('P231_INT_STATUS');
        if(lValue*1 > 0 && (pValue == 1 || pValue == 2 || pValue == 5 || pValue == 6 || pValue == 7 ) )
          $('#dialogwarning').dialog('open');
    else
          doSubmit('UPDATE');
          redirect('f?p=105:18:&APP_SESSION.::NO:');
    $(function(){
      $("#dialogwarning").dialog({
        autoOpen: false,
        bgiframe: true,
         modal: true,
            width: 400,
            minWidth: 400,
            resizable: true,
         buttons:
    {Speichern: function()
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=proc_delete_mx',0);
    gReturn = get.get();
    get = null;
    doSubmit('UPDATE');
    $(this).dialog(redirect('f?p=105:18:&APP_SESSION.::NO:'));     
    Abbrechen: function(){
    $(this).dialog('close');
    </script>
    <div id="dialogwarning" title="Achtung!">
    <p>
    <span class="ui-icon ui-icon-alert" style="float:left; margin:0 10px 40px 0;"></span>Es liegen bereits gutachterliche Bewertungen für diesen LRT vor.
    Wenn der Status geändert wird, werden alle gutachterlichen Bewertungseinstellungen und Ergebnisse verworfen.</p>
    </div>A million thanks for your answers!
    Regards,
    Seb

    Okay, I eventually found the bug myself and was able to fix it.
    The Internet Explorer 8 simply doesn't like a doSubmit followed by a straight redirect!
    doSubmit('UPDATE');
               redirect("f?p=&APP_ID.:1:&SESSION.");How I solved it??
    I created two custom pl/sql update procedures, which I'm calling in javascript with doSubmit.
    doSubmit('UPDATE_CUSTOM1');Additionally I created two new branches directing to the desired pages and set them to be conditional.
    Now the branches are taken after the request of my update procedures has been issued.
    Furthermore, I have no more problems with binding page items on subsequent pages, since the branches are doing it.
    Hope it helps!
    Regards,
    Seb

  • Javascript function not working

    Hi I am new in development.
    Could you tel me what problem may be in my jsp code.
    previously my .jsp file have some javascript functions all was working properly. Now i have made changes on one function which was working properly but now it is not working and the after clicking the button to which it is associated no action is taking place. .What may be the problem
    Thanks with regards

    The problem would be that you have introduced a syntax/runtime error into your javascript code with your changes.
    Unfortunately my mind reading powers are not working today, so I can't tell you exactly which line of code it is that you have broken.
    Maybe if you posted some code? (note I say some and not all) If you paste your whole page here unformatted, don't expect any help.
    Debugging javascript is not a nice thing to do.
    Try getting Mozilla/Firefox - it has a javascript debugger integrated with it.
    Myself I normally go along the lines of alert("step1") alert("step2") peppered through the javascript code. At the point the alerts stop, is where I focus my attention to find the error.
    Good luck,
    evnafets

Maybe you are looking for