Search This Blog

Monday, October 22, 2018

Hide/Wrap/Alias Application Number and Page Number From URL of Oracle Apex Manually

In Oracle Apex URL have shown Application Number and Page Number. But it is not secure. So you can hide or wrap this Numbers. But you have to face little bit of difficulty or extra afford. Let’s see how we can wrap this Numbers step by step.

1. In Application level. Edit Application Properties >>Application Alias>> Wright A Alias  
    Example: F_139139
    In Page level. Go to Page Alias>> Wright A Alias     
    Example: PAGE_TEST




Now you can try the URL writing manually like this.
http://10.11.1.162:8080/apex/f?p=F_139139:PAGE_TEST:15674490024092:::::

 2.  Now you have to wright the URL manually with Alias where’s from the page called. Like Navigation Menu/ Other pages.
f?p=F_139139:PAGE_TEST:&SESSION.:::::

Finally save the page and click on the menu. 




Sunday, October 21, 2018

Oracle Apex Extend Session Idle Timeout and Session Length

1. Goto Application Share Component >> Security Attributes>> Session Management

Than Change What You Want...

Access Control List (ACL) Setup

An access control list (ACL), with respect to a computer file system, is a list of permissions attached to an object. An ACL specifies which users or system processes are granted access to objects, as well as what operations are allowed on given objects. Each entry in a typical ACLspecifies a subject and an operation.

https://en.wikipedia.org/wiki/Access_control_list

begin

  dbms_network_acl_admin.create_acl (
  acl          => 'networkacl.xml',
  description  => 'Allow Network Connectivity',
  principal    => 'PUBLIC',
  is_grant     => TRUE,
  privilege    => 'connect',
  start_date   => SYSTIMESTAMP,
  end_date     => NULL);

 dbms_network_acl_admin.assign_acl (
  acl         => 'networkacl.xml',
  host        => '127.0.0.1', --(web-service)
  lower_port  => '77', --lower port
  upper_port  => '9999'); --upper port
  commit;

end;

Saturday, October 20, 2018

Enter Key Press Change Focus to Next Item like a Tab

Enter Key Press Change Focus to Next Item like a Tab in JavaScript
Just Copy and Pest the JavaScript Code to Page>>JavaScript>>Function and Global Variable Declaration
$('body').on('keydown', 'input, select, textarea', function(e) {
    var self = $(this)
      , form = self.parents('form:eq(0)')
      , focusable
      , next
      ;
    if (e.keyCode == 13) {
        focusable = form.find('input,a,select,button,textarea').filter(':visible');
        next = focusable.eq(focusable.index(this)+1);
        if (next.length) {
            next.focus();
        } else {
            form.submit();
        }
        return false;
    }
});

Thursday, October 18, 2018

There's no place like 127.0.0.1

Phillip Remaker
Phillip Remaker, void f()


There's no place like 127.0.0.1 is a t-shirt slogan which is a play on the common American English saying, There’s no place like home, popularized by the 1939 movie The Wizard of Oz.
In computer networking the Localhost reserved IP address is guaranteed to be in every networked computer. In IPv4, we use 127.0.0.1; in IPv6 we use ::1. This is why the phrase sometimes appears as There’s no place like ::1
Since that address is on every machine, it is just like “home.” Always there, always safe, and local to you. It’s an inside joke for networking nerds.
Since that IP address is the same on every computer, you can double your nerd points by quoting Buckaroo Banzai and say, No matter where you go, there you are.

Saturday, October 6, 2018

JavaScript Events

Events

You can write JavaScript code that executes when an event occurs, such as when a user clicks an HTML element, moves the mouse, or submits a form.
When an event occurs on a target element, a handler function is executed.
Common HTML events include:


Working with DOM (Document Object Method) JavsScript

Each element in the DOM has a set of properties and methods that provide information about their relationships in the DOM:

element.childNodes returns an array of an element's child nodes.
element.firstChild returns the first child node of an element.
element.lastChild returns the last child node of an element.
element.hasChildNodes returns true if an element has any child nodes, otherwise false.
element.nextSibling returns the next node at the same tree level.
element.previousSibling returns the previous node at the same tree level.
element.parentNode returns the parent node of an element.

Date Methods JavaScript

Date Methods

When a Date object is created, a number of methods make it possible to perform operations on it.


JavaScript Math Object Methods

Math Object Methods

The Math object contains a number of methods that are used for calculations:


Restrict File Upload by File Type in Oracle Apex

If you want to restrict file upload by file type/extension/format you can follow the below steps.  Goto File Browser Item --> Advanced --...