IE Context menu displays instead of app context menu in application

Hi,
In our application, in one of page we are using the af:treeTable and we have defined a context menu for the same in the contextMenu facet. The context menu is rightly displayed in Firefox, Chrome etc browsers. But in IE, the context menu is not displayed. Additionally after navigating out of this page, if we go to any page which has af:treeTable and a context menu defined, in that page also the app context menu is not displayed. Instead a IE popup menu is displayed upon right click on af:treeTable.
In order to get through this problem, only way for us is to logout of the application and relogin again.
Is there any bug in ADF which is specific to Internet Explorer browser, which disables the display of the application context menu? Or is there any state change notification sent to the browser which disables the display of the context menu. This is a very serious issue for us as in the complete application the context menu is not displayed without relogging into the application. We have this bug # 13617425 for this issue.
Any help would be greatly appreciated as this is a major issue for the release of our application.
regards,
Chandra.

Hi,
if this works on IE 7 you can force the app to run in IE7 compatibility mode
See "Run ADF Faces applications with IE 9 in IE 8 compatibility mode" http://www.oracle.com/technetwork/developer-tools/adf/learnmore/april2011-otn-harvest-367335.pdf
Works the same for IE8 to IE7. This then gives you a solution for until the issue is solved
Btw.: If users click onto the folder icon (not the text, which brings up the tool tip) then the context menu work. I'll file a bug anyway
Frank

Similar Messages

  • "Open with" menu displaying the same apps several times...

    I've tried googling this several times but never really found a good answer nor a way to solve this (see image below)...
    As you can see, the "open with" menu displays the GROUP OF APPS several times, not just the apps themselves... Funny thing is, this only happens when I navigate with the keyboard to the "open with" option, i.e., if I highlight it with the mouse a correct menu pops up...!
    Any thoughts on how to fix this?
    NOTE: This has happened to me since Leopard.

    Ok, I will try your suggestion (reinstalling Snow Leopard), maybe not today or tomorrow since this is my work computer but when I have a little time off...
    Just so you can see the "error in action" (the 'insert video' button was disabled, hence the link): http://dl.dropbox.com/u/10042917/Error.mov
    It's a screen recording of me trying to "open with" an image file 1st using the mouse and then using the keyboard (NOTE: if the first navigation in the menu is done with the keyboard, i.e., if you highlight "open" using the keyboard and then navigate to "open with" with the mouse I will still get the repeated menu while... in other words, the use of the keyboard always activates the repeated menu.)
    Anyway, thank you for your help

  • Menu display names not showing properly in CS applications.

    In an effort to greatly reduce the burden on our catalog production staff, I am attempting to tweak an existing font whose bullet character is too large (so that they don't have to manually reduce the size of every bullet). I have successfully done this using Fontagrapher 4.7, however, I can't seem to get the name of the font to display properly in the font menu of Adobe products.
    Specifically, this is a font with many different weights, and those weights are indicated by a number in front of the name (e.g., 47 Light Condensed). In Quark Xpress, the name properly displays with my new font family name (a variation on the original) and the correct weight/style name. However, the adobe products identify the font by the generic weight named assigned by Fontographer (e.g., LightCn). This is also the same naming that appears in Suitcase for BOTH fonts, the original and my modified version. I'd like the name to display the number and full weight/style name as that's what the production staff is used to.
    I'm using Fontographer 4.7, outputting Type 1 fonts to an exclusively Mac environment. I'm not sure if this has to do with the way that Adobe products display the names. Any suggestions and information would help.

    I just hit this problem as well, earlier this week when my MacBook keyboard stopped responding, so I expected it had something to do with a problem with the hardware or software on my laptop.
    Now that I'm doing some diagnostics on the drive and the hardware, I am NOT finding any kind of specific problem that would be causing icons to stop showing in the Dock. As others have clarified, this problem is NOT that icons show up as "not allowed" with the circle-strikethrough icon, but that the application does not appear *at all* - the spot below the icon indicating that the application is running appears, but the application icon will not display. I have had this issue with both applications that are running and applications that have been quit, and either state change can cause the icons to disappear, but I can't find a way to reliably reproduce the issue. Icons just appear or disappear seemingly at random.
    Once the surface scan is complete on the drive I've been using as my main boot drive, I'll try the "move-app-from-Apps-folder, then-back-again" trick to see if it gets the icons to appear again.

  • How do I change the context-root of a web app with a deployment plan?

    I've been trying to figure this out for several hours.
    I'm deploying a .ear file which sets the context root for the single web application it deploys in its application.xml deployment descriptor:
    <application>
    <display-name>MyApp</display-name>
    <module>
    <web>
    <web-uri>MyAppViewControler.war</web-uri>
    <context-root>MyApp</context-root>
    </web>
    </module>
    </application>
    I want to change the context-root from /MyApp to something else when deploying the ear file. It seemed to me that using a deployment plan was the way to do this. But when I use this plan:
    <deployment-plan>
    <application-name>MyApp<application-name>
    <variable-definition>
    <variable>
    <name>NEWCONTEXTROOT</name>
    <value>foobar</value>
    </variable>
    </variable-definition>
    <module-override>
    <module-name>MyApp</module-name>
    <module-type>ear</module-type>
    <module-descriptor external="false">
    <root-element>application</root-element>
    <uri>META-INF/application.xml</uri>
    <variable-assignment>
    <name>NEWCONTEXTROOT</name>
    <xpath>/application/module/web/context-root</xpath>
    </variable-assignment>
    </module-descriptor>
    </module-override>
    </deployment-plan>
    I get an error:
    weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    /bea/user_projects/domains/devod1/nullplan.xml:0: problem: cvc-complex-type.2.4a: Expected element 'web-uri@http://java.sun.com/xml/ns/javaee' instead of 'context-root@http://java.sun.com/xml/ns/javaee' here in element web@http://java.sun.com/xml/ns/javaee:<nullplan.xml>
    I looked at http://e-docs.bea.com/wls/docs103/pdf/deployment.pdf which says:
    "You cannot use a deployment plan to change the context-root in an application.xml
    file. However, if an application is deployed as a library, you can either change the
    context-root through an weblogic-application.xml file or use the deployment plan
    to change the context-root in an weblogic-application.xml file."
    I don't understand what this means. I'm not deploying my application as a library.
    Does anyone know how to change the context-root for an application?
    Any help would be greatly appreciated!

    Hi James,
    I am quite new to Welogic if i am wrong please correct me.I have re-deployed my application (.war) with this Plan.xml
    &lt;?xml version='1.0' encoding='UTF-8'?&gt;
    &lt;deployment-plan xmlns="http://www.bea.com/ns/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/deployment-plan http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false"&gt;
    &lt;application-name&gt;BrowserR08.003&lt;/application-name&gt;
    *&lt;variable-definition&gt;*
    * &lt;variable&gt;*
    * &lt;name&gt;CONTEXTROOT&lt;/name&gt;*
    * &lt;value&gt;BrowserWeb/servlet/BrowserServlet&lt;/value&gt;*
    * &lt;/variable&gt;*
    * &lt;/variable-definition&gt;*
    &lt;module-override&gt;
    &lt;module-name&gt;BrowserWeb.war&lt;/module-name&gt;
    &lt;module-type&gt;war&lt;/module-type&gt;
    &lt;module-descriptor external="true"&gt;
    &lt;root-element&gt;weblogic-web-app&lt;/root-element&gt;
    &lt;uri&gt;WEB-INF/weblogic.xml&lt;/uri&gt;
    &lt;hash-code&gt;1231953167814&lt;/hash-code&gt;
    *&lt;variable-assignment&gt;*
    * &lt;name&gt;CONTEXTROOT&lt;/name&gt;*
    * &lt;xpath&gt;/weblogic-web-app/context-root&lt;/xpath&gt;*
    * &lt;operation&gt;add&lt;/operation&gt;*
    * &lt;/variable-assignment&gt;*
    &lt;/module-descriptor&gt;
    &lt;module-descriptor external="false"&gt;
    &lt;root-element&gt;web-app&lt;/root-element&gt;
    &lt;uri&gt;WEB-INF/web.xml&lt;/uri&gt;
    &lt;/module-descriptor&gt;
    &lt;module-descriptor external="true"&gt;
    &lt;root-element&gt;wldf-resource&lt;/root-element&gt;
    &lt;uri&gt;META-INF/weblogic-diagnostics.xml&lt;/uri&gt;
    &lt;/module-descriptor&gt;
    &lt;/module-override&gt;
    &lt;config-root&gt;/export/home1/tecapp/BrowserR08.003/plan&lt;/config-root&gt;
    &lt;/deployment-plan&gt;
    I do not know wether i will require the other module descriptor definition in this Plzn.xml. Now when I go to following link.
    Deployments --&gt; MyApp --&gt; Testing
    It gives me following url as a test page:
    http://localhost:7001/BrowserWeb/servlet/BrowserServlet
    as soon as i click on to the above link it redirects me to following.
    http://localhost:7001/BrowserWeb/servlet/BrowserServlet/servlet/BrowserServlet
    Same if i remove these context-root part my normal Testing menu shows me following link as my webapp access path
    http://localhost:7001/BrowserWeb &lt;-- My war file name is BrowserWeb.war so it is default name of my deployed application if i am not wrong
    and as soon as i click on above link it redirects me to the following one.
    http://localhost:7001/BrowserWeb/servlet/BrowserServlet
    It means application server know that my full web access page is with '*servlet/BrowserServlet*' because its adding it in both the cases.
    What I want is a constant URL whcih does not change?
    Hope this helps :)

  • In ColdFusion 10 Java integration, app-context.xml cannot be found in the classpath

    I have jars and dependencies from a vendor Java library that I wanted to use in my new CF10 environment, however the Hibernate/Spring dependencies of the library conflict with those within CF10 itself.  To work around that, I had hoped to use javasettings in an Application.cfc to prioritize the library with the classloader, but the Spring classpath resolver seems to be unable to find a META-INF/spring/app-context.xml in the classpath even though it is within the jar.
    Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [META-INF/spring/app-context.xml]; nested exception is java.io.FileNotFoundException: class path resource [META-INF/spring/app-context.xml] cannot be opened because it does not exist
            at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBean DefinitionReader.java:341)
            at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBean DefinitionReader.java:302)
            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinition s(AbstractBeanDefinitionReader.java:143)
            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinition s(AbstractBeanDefinitionReader.java:178)
            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinition s(AbstractBeanDefinitionReader.java:149)
            at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinition s(AbstractBeanDefinitionReader.java:212)
            at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(Abs tractXmlApplicationContext.java:126)
            at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(Abs tractXmlApplicationContext.java:92)
            at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFact ory(AbstractRefreshableApplicationContext.java:130)
            at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(Abs tractApplicationContext.java:467)
            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicatio nContext.java:397)
            at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApp licationContext.java:139)
            at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApp licationContext.java:83)
    Can anyone shed some light on why CF can't find this resource?
    Thanks,
    Dave

    ReadPDF rPDF = new ReadPDF();
    Class myClass = rPDF.getClass();
    ClassLoader loader = myClass.getClassLoader();
    URL myURL = loader.getResource("PreviewForm1210.pdf");
    String path = myURL.getPath();
    path = path.replaceAll("%20", " ");
    // Create a PdfReader instance
    PdfReader r = PdfReader.fileReader(path);
    // Create a PdfDocument instance with the reader
    PdfDocument d = new PdfDocument(r);
    // Get page count and display on console
    System.out.println("Number of pages in PreviewForm1210.pdf is " + d.getPageCount());

  • How to do set apps context in java concurrent program

    Hi,
    Can any body help me in setting apps context in Java Concurrent program. I tried using AppsContext class and methods but did not work.
    Thanks for help in advance
    Pavan

    Go on Unix box at $JAVA_TOP/oracle/apps/iby/scheduler
    You will get class file FDExtractAndFormatting.
    Decompile it to get source code.
    Thanks, Avaneesh

  • How To Switch Apps Context In One Session From One Org to Another

    Hi,
    We are using Oracle APPS 11.5.10 with Database 10g and trying to create receipts using API in a PL/SQL procedure and have registered this procedure a concurrent request. This procedure reads the data from a custom table. The table contains receipt information rows for different orgs. So, in order to create receipts for different orgs we have to run this request multiple times for different orgs. Is it possible for us to run the request once and procedure would change the APPS context at run time reading the respective org from custom table. I hope I have made my point clear.
    Waiting for expert opinion.
    Regards,
    Kamran

    Custom events are the way to go, either via a MVC framework or handroll your own.
    My tutorials and sample apps may help (right-click for source code):
    http://chikaradev.com/learning/flex3/customevents/StudentsTutoringCustomEvents1.pdf
    http://chikaradev.com/learning/flex3/customevents/CustomEventSimple/CustomEventSimple.html
    http://chikaradev.com/tutorials/index.html
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex Training and Support Services

  • Mapping of Web App context root and the physical directory of the web app

    I'm running Weblogic 7.0 on Windows2000.The physical directory of my web application
    is D:\WL8\weblogic81\TestDeploy\build\TestWebApp and under these directory I have
    my JSPS, static HTML and WEB-INF. I define the context path of this web app in
    the weblogic.xml ;-
    <weblogic-web-app>
         <context-root>/testapp</context-root>
    </weblogic-web-app>
    As a result of deploying this web app in the server (or it may be created manually
    also), the following entry gets inserted in the server's config.xml ,-
    <Application Deployed="true" Name="TestWebApp"
    Path="D:\WL8\weblogic81\TestDeploy\build" TwoPhase="true">
    <WebAppComponent Name="TestWebApp" Targets="myserver" URI="TestWebApp"/>
    </Application>
    Now, whenever I make a request of the form "http://localhost:7001/testapp/..",
    it's properly executing my web app. My question is, how does the container knows
    that for any request for the web app with context path as 'testapp', it has to
    server files from D:\WL8\weblogic81\TestDeploy\build\TestWebApp. In the above
    process, nowhere such mapping is specified. I expected something like Tomcat's
    server.xml, where in docbase we clearly specify this mapping between the context
    path and the physical directory. Please help.

    Let me give some more details and hopefully this will make things clearer.
    Say you deploy /foo/bar/myweb.war and in myweb.war you configure a
    context-root of /rob
    During deployment, the server creates an ApplicationMBean with a path of
    /foo/bar/. It then creates a WebAppComponent with a uri of myweb.war.
    Next, deployment calls back on the web container and tells it to deploy
    the WebAppComponent. The web container reads the myweb.war, parses
    descriptors etc. The web container then updates its data structures to
    register that myweb.war has a context path of /rob. (It has to figure
    out all the other servlet mappings as well.)
    When a request for /rob/foo comes in, the web container consults its
    data structures to determine which webapp and servlet receives the
    request. This is not a linear search of all webapps and servlets.
    There's much better ways to do pattern matching.
    Hope this clears things up. Let me know if you still have questions.
    -- Rob
    Arindam Chandra wrote:
    Thanks for the answer. Still one thing is not clear. Whatever context path I declare
    for my web app as the value of <context-root> element in the weblogic.xml (in
    my example it's "/testapp"), it is no where mapped with the "URI" attribute (or
    any other attribute, sub-element whatsoever in the <Application> element).
    Application Deployed="true" Name="TestWebApp"
    Path="D:\WL8\weblogic81\TestDeploy\build" TwoPhase="true">
    <WebAppComponent Name="TestWebApp" Targets="myserver" URI="TestWebApp"/>
    </Application>
    So when a request of the form http://myweblogic.com:7001/testapp/... arrives at
    the server, how does the server knows that it has to serve this request with files
    from D:\WL8\weblogic81\TestDeploy\build\TestWebApp ? It should not be like the
    web container iterates thru all the web application entries in config.xml and
    tries to match with one context-root declaration. I repeat, I expected some mapping
    similar to Tomcat's server.xml, where in the <docbase> element u clearly specify
    the mapping between the context path and the physical directory
    Rob Woollen <[email protected]> wrote:
    Arindam Chandra wrote:
    I'm running Weblogic 7.0 on Windows2000.The physical directory of myweb application
    is D:\WL8\weblogic81\TestDeploy\build\TestWebApp and under these directoryI have
    my JSPS, static HTML and WEB-INF. I define the context path of thisweb app in
    the weblogic.xml ;-
    <weblogic-web-app>
         <context-root>/testapp</context-root>
    </weblogic-web-app>
    As a result of deploying this web app in the server (or it may be createdmanually
    also), the following entry gets inserted in the server's config.xml,-
    <>So the server will look for your web application at the Application Path
    (D:\WL8\weblogic81\TestDeploy\build|) + the web uri (TestWebApp). So
    it
    maps the context-root you've specified /testapp to that path.
    It's a little clearer in the case where you had a full-fledged EAR.
    Then you'r application path would map to the "root" of the EAR, and the
    uris would point to the various modules (eg webapps.)
    -- Rob
    Now, whenever I make a request of the form "http://localhost:7001/testapp/..",
    it's properly executing my web app. My question is, how does the containerknows
    that for any request for the web app with context path as 'testapp',it has to
    server files from D:\WL8\weblogic81\TestDeploy\build\TestWebApp. Inthe above
    process, nowhere such mapping is specified. I expected something likeTomcat's
    server.xml, where in docbase we clearly specify this mapping betweenthe context
    path and the physical directory. Please help.

  • Help cannot be displayed because no help context ID was passed

    Hi Guys,
    When I click Help icon from HRMS 9.1, I got the below error.
    "Help cannot be displayed because no help context ID was passed. To view the PeopleSoft Online Library, click here."
    I can access PeopleBooks PSOL by http://webserver:port/PSOL/hrms/eng/index.htm correctly. Did someone run into this error before?
    Thanks,
    Bob

    I've generally found this to be a problem with the URL you are using, in particular the case of the URL parameters, for example:
    The following URL will work for PeopleTools PeopleBooks
    http://hostname.domain.com:port/PSOL/htmldoc/f1search.htm?ContextID=MESSAGE_CATALOG&LangCD=ENG
    Howe the following URL wil give you the help cannot be displayed because no help context ID was passed:
    http://hostname.domain.com:port/PSOL/htmldoc/f1search.htm?contextID=MESSAGE_CATALOG&LangCD=ENG
    Note that in the example that works the parameter is ContextID and when it fails the parameter is contextID (lowercase C).
    This URL should be set up the in the appropriate web profile as the Help URL.
    Note that you can also use the Oracle hosted PeopleBooks (although they are slower) for context sensistive help. Instructions are here:
    http://tahiti.oracle.com/pdf/EnablingtheHelpLinkfromApplicationPages.pdf
    For example the above can be tested using the following URLs for PeopleTools 8.50 PeopleBooks:
    Works: http://download.oracle.com/docs/cd/E15645_01/pt850pbr0/f1search.htm?ContextID=MESSAGE_CATALOG&LangCD=ENG
    Errors: http://download.oracle.com/docs/cd/E15645_01/pt850pbr0/f1search.htm?contextID=MESSAGE_CATALOG&LangCD=ENG

  • Error occurred while setting up Apps Context.

    I am trying to call a stored procedure using Oracle Apps Adapter . MY JCA settings are as following.
    <endpoint-interaction portType="AppsService_ptt" operation="AppsService">
    <interaction-spec className="oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec">
    <property name="IRepInternalName" value="PLSQL:AP_VENDOR_SITES_PKG:INSERT_ROW"/>
    <property name="SchemaName" value="APPS"/>
    <property name="PackageName" value="AP_VENDOR_SITES_PKG"/>
    <property name="ProcedureName" value="INSERT_ROW"/>
    <property name="Username" value="sysadmin"/>
    <property name="Responsibility" value="System Administrator"/>
    </interaction-spec>
    <output/>
    </endpoint-interaction>
    But when I invoke this in logs it gives following error...
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'AppsService' failed due to: Apps Context Error.
    Error occurred while setting up Apps Context.
    Context parameters should be valid.
    Contact oracle support if error is not fixable.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution."

    Hello ,
    I am facing the same problem. How did you solve the same?? Please help.
    Thanking you

  • ValueMap drop-down menu displaying strangely

    I am trying to create a drop-down menu to assign "Organizations" to users directly from my User Form.
    Here is the code I used :
    *<Field name='waveset.organization'>*
    *<Display class='Select'>*
    *<Property name='title' value='Employee Organization : '/>*
    *<Property name='nullLabel' value='Select'/>*
    *<Property name='valueMap'>*
    *<list>*
    *<String>Top:Organization A</String>*
    *<String>First Organization</String>*
    *<String>Top:Organization B)</String>*
    *<String>Second Organization</String>*
    *<String>Top:Organization C</String>*
    *<String>Third Organization</String>*
    *</list>*
    *</Property>*
    *</Display>*
    *</Field>*
    As you can see, I used ValueMap so as to hide the true names of the Organizations themselves, and simply to make it more presentable (without that "TOP" written there).
    This seems to work, except for one thing : In my User Form, the drop-down menu does not display as it should :
    Select
    First Organization
    Second Organization
    Third Organization
    Instead, the Second Organization (the one in the middle) is displayed in the menu as the Default.
    How can I display the options in the menu exactly as they are in the LIST ??

    Solved using this previous users had the same issue; Font previews not appearing correctly in the character window after upgrading to Yosemite

  • When I click on my iPad App Store Updates, the wrong apple ID is showing up. When I go under settings the correct one is displayed under the app store.

    When I click on my iPad App Store Updates, the wrong apple ID is showing up. When I go under settings the correct one is displayed under the app store.

    Does the wrong Apple ID show up with a particular App or all Apps?
    Apps are linked to the ID they were purchased with, so if you have Apps purchased with different IDs you may need to logout with one then log in with another to update the second one.
    We've also seen were "free" Apps are downloaded from the Internet, but they are not really free but instead were just hacked by a different user so need to be updated with that account.  That can prevent updates.  If so, it's best to delete the bogus app and get a good copy from the App Store.
    ivan

  • Illustrator CS4 and my drop down menu displaying different typefaces is no longer displaying font preview.

    I am using Illustrator CS4 and my drop down menu displaying different typefaces is no longer showing all of them, just blank spaces where they would be...that is unless I put my cursor over it and I can then see the typeface. This is more of a nuisance than anything and didn't happen until I updates OS X to Yosemite. I currently am operating OS X  Yosemetie 10.10.2
    I have attached a screen shot. You can see that the font highlighted as the cursor is over it I can see the preview...but one I move the cursor it appears like all the others in the list and is blank.
    HELP!

    Solved using this previous users had the same issue; Font previews not appearing correctly in the character window after upgrading to Yosemite

  • How to display a seperate right click menu for each item of a tree control?

    Hi I want to display a specific right click menu when a particular tree item is selected. I know how to create a menu and how to display it. I am using the function GetLabelFromIndex() to get the active tree item and then compare the label and based on the result display a manu for that item. Now my problem is that when I use the above function in the EVENT_RIGHT_CLICK it gives me the error "the Index passed is out of range" while using the same function with the same arguments in EVENT_SELECTION_CHANGE it gives no error...below is the part of my code
    case EVENT_RIGHT_CLICK:
    GetLabelFromIndex(panelHandle, PANEL_TREE, eventData2, label1);
    //The function gives the stated error here
    if(eventData1)//after it I compare the result and display the menu
    case EVENT_SELECTION_CHANGE:
    GetLabelFromIndex (panelHandle, PANEL_TREE, eventData2, label1);
    //The function works fine here
    if (eventData1)
     If any one have any idea whats going on or alternate way of doing this Please share knowledge...Thanks
    If you are young work to Learn, not to earn.

    Hi,
    one possible approach of solving this problem is looking closer at the error message: The error "the Index passed is out of range" tells you that something is wrong with the index, either it is too small or too large So why don't you set a breakpoint and check the index value, it might be useful information...
    The other hint is to check the meaning of eventdata2 (using the help): It is different for different events! For the event_right_click it gives the horizontal mouse position, not the index as event_selection_change does...

  • How do I display or hide a Java menu based on current url in a php page

    How do I display or hide a Javascript menu based on the current url in a php page?
    I want to specify when a java menu appears on a page based on the current url - does anyone have a script for the vars and conditional statements to make this happen - it would be something like this in natural language:
    <javascript>
    if currenturl = http://jemmakidd.com/categories.php
    then displaymenu
    else if currenturl = http://jemmakidd.com/categories.php?cat=14 (or 15,16 etc)
    then DONOTdisplaymenu
    What is needed is that, if you look at this page there is a java menu under the first category:
    http://jemmakidd.com/categories.php
    I WANT the menu to appear on that page so that is working, however if I look at one of the store categories, like on this page, I do NOT want the menu to appear - it may be that this can be done without using a java current url type function - thats why I'm asking...
    http://jemmakidd.com/categories.php?cat=14
    So to summarise:
    http://jemmakidd.com/categories.php (If this url is used DO display menu - if any other url DONT display menu)
    Thanks again...any ideas?
    Edited by: littlealex2009 on Jul 15, 2009 12:51 AM

    This is a Java forum, not a Javascript forum. Google the differences.
    kind regards,
    Jos

Maybe you are looking for

  • WorkItem Not Getting Executed Completely

    Hi All,   In my SAP Business Wokplace Iam sending a workitem to the appropriate agent. Now when the agent  will execute the Workitem it will open a BSP application  and as soon as he finishes the work with BSP application he clicks on a CLOSE button

  • J2EE classes can't be found

    Hi, I have a JMS client running on J2EE. When I launch my application through JWS, I get a "java.lang.NoClassDefFoundError: javax/jms/Message". It seems that the J2EE classes are not found. Can anyone help me with this. Thank you very much. Need help

  • Im trying to update my iphone but shows a err=325a

    trying to update my iphone but shows at the end a err= 325a how can i fix it?

  • Monitor remote MaxDB

    We have installed SAP Content Server with MaxDB on Windows 2003 server for DMS project and would like to manage the MaxDB with DBACOCKPIT from our ERP 6.0 system. Instructions say: "To monitor remote databases via database connections, you need to in

  • How to recover database using dbf file

    Hi all, My oracle database gets crash. But i have all the dbf file . But there is no controlfile,redo log file and pfile . So i have to create a database that will contain these existing dbf file. Can anyone tell what are the steps i have to follow ?