UTOUG Training Days, March 13, 2017

 

APEX: Intro to Dynamic Actions

Jeff Eberhard

jeberhard@insum.ca

Presentation: bit.ly/intro-to-dynamic-actions

 

 

What are Dynamic Actions?
 

Ability to provide client-side (browser) functionality declaratively (without coded JavaScript).

 

i.e. Pre Dynamic Actions (Examples)

What are Dynamic Actions?
 

When something happens (Events)

... then ...

Do something (Actions)

Events
 

  • Browser Events

  • Framework Events

  • Component Events

  • Custom Event

Browser Events

Desktop Mobile
Change Mouse Button Press Orientation Change
Click Mouse Enter Swipe
Double Click Mouse Leave Swipe Left
Get Focus Mouse Move Swipe Right
Lose Focus Mouse Button Release Tap
Key Down Page Load Tap and Hold
Key Press Resize Touch Start
Key Release Scroll Touch End

Framework Events

  • Dialog Closed
  • After Refresh
  • Before Page Submit
  • Before Refresh

Component Events

  • Date selected [Calendar]
  • Event selected [Calendar]
  • View changed [Calendar]
  • Row Initialization [Interactive Grid]
  • Selection Change [Interactive Grid]
  • Change Order [Shuttle]
  • Change [Slider]
  • Slide [Slider]
  • Start [Slider]
  • Stop [Slider]
  • Timer Expired [Timer]

Actions

 

  • True Actions

  • False Actions

Actions

  • Component

  • Execute

  • Miscellaneous

  • Navigation

  • Notification

  • Style
     

Actions - Component

  • Clear
  • Collapse Tree
  • Disable
  • Enable
  • Expand Tree
  • Hide
  • Refresh
  • Set Focus
  • Set Value
  • Show

Actions - Style

  • Add Class
  • Remove Class
  • Set Style

Actions - Execute

  • Execute JavaScript Code
  • Execute PL/SQL Code (old way)

Actions - Notification

  • Alert
  • Confirm

Demos:

  • Create
  • Modify
  • Delete 

Demos (Events):

  • Change
  • Click
  • After Refresh

Demos (Actions):

  • Show
  • Hide
  • Disable
  • Enable
  • Set Value

Dynamic Actions Misc. 

Event Scope

Run on Initialization

Debugging

Sync or Async

smileysmileysmileysmileysmileysmiley

Thanks!

@eberhje

jeberhard@insum.ca