Hammer.js universal theme, creating two Click events

I work with Apex 5.0 and universal theme. I have a very simple test page here

https://Apex.Oracle.com/pls/Apex/f?p=90766:1

If you click on the first link on the column, it should display an alert with the customer ID. When I try this on a computer with a touch screen, I get two alerts.

I've traced the calls to alert and I see that the events of the first source is hammer.js. It seems that the hammer is called in a js file in the universal theme and it adds a tap event to all anchor tags and button. My research on the hammer has led me to a bug on this problem, which has been closed a long time ago.

I missing something here or is this a bug?

Greg

Hi Greg,.

In the original thread, this was filed as a bug present in Windows 8/8.1 Touchscreen devices. The fix will be in APEX 5.0.1.

Workaround for now is simply to put "Modernizr.touch = false;" in your block "Run when loading the page" your global page.

Tim

Tags: Database

Similar Questions

  • Problem in response to the universal theme APEX 5.0 of mouse click

    Hello

    I use 5.0.0.00.31 with Mozilla Firefox-38.0.5 APEX.

    The problem is described below.

    When I want to click on the user name, drop-down list, in the list of the navigation bar that nothing happened. The same happened when I click Show/hide the menu button (upper-left) and the 'Developer Toolbar Optinos' button on the developer toolbar.

    I can avoid the problem when I press the button, then move the mouse, and after that, release the mouse button. In this case, everything is OK. But you agree with me that this is not a real solution.

    I have the same problem, when I use the latest version of the Chrome browser.

    For me, it is very strange that no one had the same problem?

    Kind regards

    Darjan

    Pedro wrote:

    I use 5.0.0.00.31 with Mozilla Firefox-38.0.5 APEX.

    The problem is described below.

    When I want to click on the user name, drop-down list, in the list of the navigation bar that nothing happened. The same happened when I click Show/hide the menu button (upper-left) and the 'Developer Toolbar Optinos' button on the developer toolbar.

    I can avoid the problem when I press the button, then move the mouse, and after that, release the mouse button. In this case, everything is OK. But you agree with me that this is not a real solution.

    I have the same problem, when I use the latest version of the Chrome browser.

    For me, it is very strange that no one had the same problem?

    If you use a tactile device Windows 8.x, it is probably because of the #21068077 bug. See suite son for details and corrections.

  • How to create the scroll to the menu icon click event bar

    How to create the scroll to the menu icon click event bar

    (as the "field of scrolling image")

    In my opinion, it is better for you to try something to help implementation of your solution to ask for the code.

    For example, create a few BitmapFields with icons that act as buttons.  There is source for this sort of thing on the forum if you look at, I think, looking FRO Image button, icon or Bitmap button.

    Once you have these buttons work, add these in a HorizontalFieldManager.

    Good luck.

  • Create the tab navigation links as in Apex5 using the universal theme

    Hello everyone.

    I use Apex 5.0.3 against Oracle 12 c on my laptop Windows7.  I want to create an application that uses the universal theme that also includes the type navigation tab.  I read that the tabs used in pre-Apex5 applications have been written off in favor using the navigation links.  But I see no intuitive method to create these links of the type tab.

    Could someone tell me please a guide or packed app that gives a tutorial step by step on how to proceed.

    Thank you.

    Elijah

    Maybe this helps:

    ORA-00001: Unique constraint violated: easy tab to Apex 5 regions

    Also that:

    Martin Giffy Souza on Oracle APEX: APEX 5: create submenus

    Dimitri Gielis Blog (Oracle Application Express - APEX): APEX 5.0: Bye bye tabs, welcome to the Navigation lists

    -Morten

  • Universal theme - calendar event Cancel - off

    Hallo,

    I am looking for a method to set a text-decoration: line-through; calendar of the universal theme.

    I tried to put the class, but it does not work.

    The class are Standard

    "apex-cal-green".

    'apex-cal-blue '.

    as css_class

    Thanks for the help!

    Alex

    Hi user10405486,

    This book, with calendar SQL and

    case (i.type)
        when 'abc'    then 'apex-cal-red'
        when 'def'    then 'apex-cal-green'
        else 'apex-cal-blue'
      end || decode(i.status_id,4,' myclass') as css_class
    

    So, is this working? It generates a tag similar to this?

    Is bar appearing in the calendar for the cancelled events?

    If so, then please close the thread by checking the appropriate answers useful/correct.

    Kind regards

    Kiran

  • How do you attribute the click event of the object created dynamically?

    This is probably an easy question to answer:

    I'm iteration in an XML list, I created via a HTTP Service to load the XML file.  For each object, I want to create a LinkButton which will link to a URL.

    However, since I created the LinkButton object in ActionScript instead of MXML, I can't understand how to assign a click event, for example navigateToURL()

    How to assign as the LinkButton should do the mouse click?

    I know that someone will be able to answer this, then... Thanks in advance!

    myLinkButton.addEventListener(MouseEvent.CLICK,myClickFunction);
    

    and your event listener function

    private function myClickFunction(e:MouseEvent):void{
                        //do something
                   }
    
  • Strange problem with universal theme, jQuery and APEX 5 on Windows 8.1

    I have a strange problem that makes me crazy. I get it whenever I need to run some jQuery or JavaScript in the new universal theme. This page is a good example:

    https://Apex.Oracle.com/pls/Apex/f?p=93000:600

    Whenever I click on the calendar icon it opens and closes immediately. This happens when I click on and release the quick mouse button. If I do it slowly, click it, wait a second and release the mouse button, it opens as expected. I did the inspection of javascript in the firebug debugging console and I can see that each action runs twice.

    On this page, you can debug:

    https://Apex.Oracle.com/pls/Apex/f?p=93000:16

    by pressing a button.

    I did some tests with some of my colleagues and discovered that this happens only on computers with Windows 8.1 running pages in Firefox or Google Chrome. IE works as expected.

    I invite participants in this forum to do a test for me, if they have one of the browsers mentioned and Windows 8.1. My tests were from two different laptops I (the two Windows 8.1) and also of a virtual machine on Windows 8.1. I was able to reproduce this problem on all three computers.

    I also did the same test with apex.oracle.com and with my local installation of APEX 5.0. They both behave the same.

    I can't reproduce this with applications having the old model like this:

    https://Apex.Oracle.com/pls/Apex/f?p=31517:215

    Thanks in advance.

    Denes Kubicek

    Brad, thanks a lot for the performance test.

    Talking with the main developers of the universal theme, this afternoon, we have now highlighted what we believe to be the cause of this problem. There's code in a universal theme that uses hammer.js and apply a logic of quick click on all the links and buttons, with a few exceptions closely. We believe that it is this code that may be responsible for these questions.

    Please hold fire for more such tests as requested previously, my apologies for any lost time do. We will follow on this thread with results as soon as we can.

    Thanks again for your help so far.

    Kind regards

    Anthony

  • Contact information for return pixel Imaq image with the mouse click event

    Hello

    I'm trying to get the coordinates in pixels of an image Imaq based on a mouse click event, similar to this post and this post. The problem is that with the first post, I get the coordinates in the image control and hesitate to trust them, they seem to have the Center origin, may return negative coordinates and do not represent the actual size of the detector that I use (512 x 512). It also returns the coordinates outside the actual data when it is clicked on the image control framework. The second method returns simply null coordinates. What I want are the coordinates of the pixel displayed when hovering the mouse imaq image control framework.

    What baffles me, is that I tried the second method with a png stock file and it works fine, it is only when I create an image from the data of my camera than the coordinates are returned null. Note data views of camera under control of image very well.

    Any ideas would be useful. Enclosed is a picture of the offending code and the Panel before displaying the camera data is coming (I know it needs some cleaning).

    Thank you

    Tyler

    for help, please send your vi

    but I think that this example vi is your solution

    check this vi

  • Need help using the tabs of the apex to the universal theme.

    I tried using the enkitec boards to create tabs in page apex.

    But I'm unsucessfull and I used the apex as the version 5.

    The theme that I use is universal theme.

    https://www.enkitec.com/Apex/f?p=15300:30310:0:

    Also I'm tired the method too to create tabs below

    Creation of a region of the tab within a page in the APEX

    It's like

    In the HTML header, I'll add the code below

    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script> <script type="text/javascript"> $(function() {    $("#tabs").tabs();    $x("tabs").appendChild( $x("tabs-1"));    $x("tabs").appendChild( $x("tabs-2")); }); </script>

    Then I'll create 3 region.

    Region 1 > > > create a HTML region (REGION MODEL = MODEL number) and add the code below in the SOURCE of the REGION

    <div id="tabs"> <ul>    <li><a href="#tabs-1">Employee</a></li>    <li><a href="#tabs-2">Chart</a></li> </ul> </div>

    Region 2 > > > create HTML region... Add two fields to the region now, edit the region

    Add the code below in the header of the region to REGION 2

    <div id="tabs-1">

    Add the code below in the bottom of the region to REGION 2

    </div>

    Region 3 > > > create HTML region... Add two fields to the region now, edit the region

    Add the code below in the header of the REGION 3 region

    <div id="tabs-2">

    Add the code below in the bottom of the REGION 3 region

    </div>

    Example: http://Apex.Oracle.com/pls/Apex/f?p=12060:7

    I used exactly the same code... except that my region 2 contains a REPORT instead of two text field and region 3 GRAPHICS instead of text field.

    Kind regards

    Shijesh

    -------

    Please reward the answer if it was useful / correct


    I used the enkitecs method to create tabs.

    Tabs have been created, but the fields were visible inside.

    Will soon be replicating the scenario of apex.oracle.com

    Maybe someone can help.

    At the same time if there is no easy way to create tabs in apex page please let me know.

    Thank you

    Paul

    Hi pauljohny100,

    pauljohny100 wrote:

    I'd like to learn more about the region view selector

    You have a good resource on it.

    Selector display region is type of region, which shows the navigation links in the form of hyperlinks button for regions where the attributes of the region-> region selector display are set to Yes. Œuvres similar to jQuery tabs.

    Reference: ApEx 4.0 region selector | iAdvise blog (it's blog when it was introduced first in APEX 4.0)

    I have not found any Oracle Documentation on this, but it's taken APEX oracle supported the region type.

    You will find that this implemented in various packaged for example P-Track applications.

    Kind regards

    Kiran

  • Returning from universal theme item values - form Page (modal dialog box)-

    Hello

    I use the universal theme - modal dialog (the form page, page 7) and intend to return several values of the item to the page back 2 when the dialog box is closed.

    I'm back from the point values P7_DNAME & P7_DEPTNO of page 7 of the elements P2_DNAME & P2_DEPTNO on page 2 but does not work.

    Form Page - Page 7 (modal dialog box)

    Process - close dialogue

    Items to return - P7_DNAME, P7_DEPTNO (put several points of values here to go back to page 2)

    Report Page - Page 2 (that calls the page 7 of the modal dialog box)

    Here we have a dynamic Action. I use the event ""closed dialogue ' and 'Set value' action "

    Event (closed dialog box) -

    Action - set

    -Define (return goods of dialogue) - P7_DNAME, P7_DEPTNO Type

    -Selection Type (items) - P2_DNAME, P2_DEPTNO [here I am back to several items.]

    If I go back more than one Page values element, it doesn't any idea WHY?

    BUT if I'm back only a single value of point, there works perfectly well.

    Thank you

    Deepak

    You can return multiple items at once and their values are sent along, but you cannot set multiple items with different values by the action of a set value.

    You must create an action of the value set for each element you want to set the value with the value of the element to return.

  • jedeveloper adf and image map click event

    Hello!

    I am new to jdeveloper-adf and I want to ask if is a tutorial from scratch, where I can make the UI, authorization of the user, the image map, click event, where use can click on the map image point so that they can see in a form on one specification was built, and users can change (edit (, delete, update and so on) information or someone can suggest me another tool. I made the database with mysql workbench I thank you in advance.

    Best regards

    User, tell us your version of Jdev, please!

    You can use a theme for this use case map (if you use jdev 12.1.3 or 11.1.2.4)

    Fund https://technology.amis.nl/2014/08/17/adf-dvt-creating-a-thematic-map-using-a-custom-base-map-with-hotspots/ and Oracle JDeveloper 11 g Release 2 tutorials - draw with ADF data visualization components and. Andrejus Baranovskis Blog: ADF in ADF 12 c (12.1.3) thematic map

    Timo

  • Lists/Navigation Menu using universal theme APEX5

    I'm migrating my APEX to APEX5 application. I would like to use the new features of menu list/Navigation in the universal theme (so my menu items is displayed in the left navigation panel). I have a combination of static and dynamic options, and I don't know how to do this. My parent menu ('Reports' and 'Forms') options are static, but my choice of menu SUP for each will be the dynamic page navigation elements that will come from a SQL stmt. It would be a type of tree structure as below. Can you get it someone please let me know how to do this? Thank you!

    'Reports' (level 1 - static)

    "Report1" (level 2 option menu sub - dynamic)

    "I2" (level 2 option menu sub - dynamic)

    "Occurs3" (level 2 option menu sub - dynamic)

    .....

    'Forms' (level 1 - static)

    "Form1" (level 2 option menu sub - dynamic)

    'Form2' (level 2 option menu sub - dynamic)

    "Form3" (level 2 option menu sub - dynamic)


    bobmagan wrote:

    Thank you. My application was built on the sensitive to the APEX 4 theme. I wanted to use the new universal theme to take advantage of the update options. Previously, I had 2 parts of PL/SQL ('Forms' and 'Reports') who seized the dynamic pages of my custom table 'page' (see below). This would create a type menu tree they could click on launch my new pages for each. I hope to do the same sort of thing in the navigation/universal list menus.

    ----------------------------

    DECLARE

    Get_pages CURSOR IS

    Select page_alias, page_description

    page

    where page_type = 'REPORT '.

    and display_on_menu = 'Y '.

    order of page_order, page_description;

    BEGIN

    htp.tableOpen;

    Get_pages LOOP PAGE

    htp.tableRowOpen;

    HTP.p (')');

    If: APP_PAGE_ALIAS = page.page_alias then null;

    HTP.p ('': page.page_description: '');

    on the other

    HTP.p ('': page.page_description: '');

    end if;

    HTP.p (')');

    htp.tableRowClose;

    END LOOP;

    htp.tableClose;

    END;

    The application to the universal theme of the switch.

    Create a dynamic list query-based in the sense of:

    /* Static parent entries */
    select
        1                      lvl
      , 'Reports'              label
      , null                   target
      , null                   is_current_list_entry
      , 'fa-table'             image
      , null                   image_attribute
      , null                   image_alt_attribute
      , null                   attribute1
      , null                   attribute2
      , null                   attribute3
      , null                   attribute4
      , 'REPORTS'              attribute5
      , null                   attribute6
    from
        dual
    union all
    select
        1
      , 'Forms'
      , null
      , null
      , 'fa-edit'
      , null
      , null
      , null
      , null
      , null
      , null
      , 'FORMS'
      , null
    from
      dual
    union all
    /* Dynamic reports entries */
    select
        2
      , page_description
      , 'f?p=' || :app_alias || ':' || page_alias || ':' || :app_session || '::' || :debug
      , null
      , null
      , null
      , null
      , null
      , null
      , null
      , null
      , 'REPORTS'
      , page_order
    from
        page
    where
        page_type = 'REPORT'
    and display_on_menu = 'Y'
    union all
    /* Dynamic forms entries */
    select
        2
      , page_description
      , 'f?p=' || :app_alias || ':' || page_alias || ':' || :app_session || '::' || :debug
      , null
      , null
      , null
      , null
      , null
      , null
      , null
      , null
      , 'FORMS'
      , page_order
    from
        page
    where
        page_type = 'FORM'
    and display_on_menu = 'Y'
    order by
        12 desc /* attribute5 */
      , 1       /* level */
      , 13
      , 2
    

    Note that the attribute columns 1, 2 and 4 are taken into account by the model Menu lateral Navigation, then jump on them and use the attribute column 5 and for all required custom data in your query.

    Then go to the desktop user interface detail pageand set attributes for the Navigation Menu:

    List of the navigation menus:

    Position: Side

    Model from the list: Side Navigation menu

  • Apex 5 - Top Menu as Backend Administration Apex universal theme

    Hello

    Universal theme apex 5 comes with really nice menus. I would like to have the top menu even as that used in the Administration interface of the Apex.

    Including the tabs of colors, bar menu next to the Logo, better quality bread crumbs, etc. of keyboard shortcuts.

    Also, I saw in the sample application Websheets, bread have a kind of Drop Down Menu showing the subgroups for faster browsing.

    Why is Oracle not delivered it as a model?

    How these effects were archived?

    Any idea?

    Thank you

    APEX 5 includes support for navigation from the top menu bar. When you create a new application by using the universal theme of the default is navigation, but it is easy to change to the navigation bar.

    Here's how to get to the navigation bar:

    In the homepage application builder for your application, click on modify Application Properties. Click on Edit icon on the Desktop tab User Interface. In the navigation section change Position top of page and list of Navigation Menu template above. Apply the changes, and then rerun your app.

    Universal theme also has models list for context menus and menu bars. Just go to the navigation bar will not give you menus that look exactly like those in internal applications to the APEX (Builder, administration frontend etc.). This is because the page templates and the css are slightly different. You should be able to create your own page templates and the css to mimic the APEX apps internal menu look and feel. Also note that as the administration and help menus right aren't a bar menu but the menu icon buttons.

    The breadcrumbs in web sheets using the same implementation of menu. The difference comes down to a few special css. APEX 5 has a lot of mileage out of the new widget menu.

    Since you mentioned keyboard shortcuts, you may be interested in this recent blog post.

    APEX 5.0 and keyboard shortcuts

    Kind regards

    -John

  • How to implement responses of pass/fail for two click boxes on the screen a simulation?

    I'm creating an assessment of simulation using Captivate 7. On a single screen (as shown below), I need to put in place two boxes click (highlighted yellow) so that the user can click on one of them to continue to the next slide. But I had a question on how to set up the success and Fail responses for each, click area. If the answer to failure for the two boxes to click is enabled, the user will receive one or two responses Fail no matter where they click. Disabling the failure responses? If the user clicks on the other areas that the two click boxes, no action or reaction occurs and the user will think the simulation is frozen or crashed. All the solutions for this problem? Thank you!

    Capture.PNG

    Awesome! This works. Thanks for your help, as always, Lilybiri!

  • Create two buttons to stop/start animation (cookies)?

    Hello

    First I want to apologize on bad English, I'm french so I'll try not to do too much to them.

    I am currently doing a small header in flash. I've created an animation (things that appear and others), and I like the way it is. But I would like to know if it is possible to create two buttons: "stop animation" and "start animation", allowing people not to see the same opening if animation they reload the page and jump to the last frame. The thing is it is the header of my forum: so it can be a little awkward if it loads whenever you click on another page.

    I read somewhere it is possible by using "cookies" and a... "shared object"? But it was not clear, and since I am relatively new to using the flash, I would like to know if someone could help me with this by explaining precisely how I can do.

    Thanks to the one who can help me!

    (Ps: I use Flash Cs5 with AS2)

    assign instance names your buttons and use:

    var tl:MovieClip = this

    var so:SharedObject = SharedObject.getLocal ("banner", "/");

    {if (SO. Data.stopVar)}

    tl.gotoAndStop (tl._totalframes);

    }

    {stopBtn.onRelease = function ()}

    so.data.stopVar = true;

    tl.gotoAndStop (tl._totalframes);

    }

    {startBtn.onRelease = function ()}

    so.data.stopVar = false;

    tl.gotoAndPlay (1);

    }

Maybe you are looking for

  • Need drivers for Satellite P10-304

    Hi all I was wandering if someone could point me in the right direction. I bought a second hand satellite P10-304, had to replace the hard drive and operating system and now need drivers. Unfortunately the P10-304 model doesn't seem to be on the list

  • .exe for labview driver

    I run an .exe driver for laser Doppler vibration. I want to use in lab mode or convert LabVIEW driver because the manufacturer donot have any lab display driver can someone please help how to do that

  • Why my realtek rtl8188su has left work after upgrade to windows 7?

    I just put update vista to windows 7 pro, and during the updates, my realtek rtl8188ru wireless card stop working.  I drove back to before the last update, and it started working again.  What is the cause and how can I solve this problem?

  • Cannot get my workablle video capture with my windows7 system device.

    Since I upgraded my system to windows7, I couldn't use my video capture device.

  • Black stripes

    Hey,.AM editing a movie and I have black bands in my every move. Thus, for example, on the movement of people, I have black bands (see example). Any solution for this?