Jason Stortz Midland Information Resources Session - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Jason Stortz Midland Information Resources Session

Description:

Debug JavaScript issues. Enabling Console. Find install customSiteStudiosupport ... Console displays JavaScript errors. Console has built in logging $D().log ... – PowerPoint PPT presentation

Number of Views:45
Avg rating:3.0/5.0
Slides: 23
Provided by: aka115
Category:

less

Transcript and Presenter's Notes

Title: Jason Stortz Midland Information Resources Session


1
Jason StortzMidland Information
ResourcesSession 95
WARNING DEMO IMMINENT SIT CLOSE!
Oracle Site Studio Contributor Customization
2
Speaker Qualifications
  • Jason Stortz
  • Content Team Manager
  • Midland Information Resources
  • http//www.midlandcorp.com
  • Core Content Only (Blog)
  • http//www.corecontentonly.com
  • Frequents Oracle ECM Forums

3
Presentation Goals
  • Contributor Look Feel
  • New Contributor introduction
  • Customizing
  • Custom Element Forms
  • Warnings
  • Purpose
  • Basic development
  • Contributor Console
  • Enabling
  • When, why and how to use

4
Previous Contributor
  • Client side install
  • Windows-centric
  • No customization

5
New Contributor
  • Web based
  • Two Editor options
  • FCK (Default)
  • Ephox
  • Easily customizable

6
(No Transcript)
7
Site Studio/Contributor Demo
  • Quick Site Studio 10gR4 recap
  • Create site
  • Create element
  • Create region definition
  • Use default region template
  • Use default placeholder
  • Create page
  • Lets See A Demo!

8
Customizing Contributor Demo
  • Change strings
  • Change graphics
  • Add functionality
  • Sample functionality customizations
  • Floating actions
  • (pictured to the right)
  • Branding
  • Advanced help
  • Lets See A Demo!

9
Custom Element Forms
  • Replaces standard elements in the contributor
  • Can represent or be used for
  • Business logic
  • Complex data
  • Advanced display
  • Context based help
  • WARNING Not backwards compatible
  • Custom element forms created prior to 10.1.3.3.3
    must be rewritten

10
Example Forms
  • Controlling drop downs

11
Example Forms (contd)
  • Background settings

12
Custom Element Form Demo
13
Contributor Console
  • Show traffic between Contributor app and server
  • Examine returned data
  • Debug JavaScript issues

14
Enabling Console
  • Find ltinstallgtcustom\SiteStudio\support
  • Copy wcm.console.htm
  • Paste into ltinstallgt\weblayout\resources\wcm\base
  • Paste
  • Invoke by holding
  • CTRL
  • ALT
  • SHIFT
  • C

15
Console Debugging
  • Console displays JavaScript errors
  • Console has built in logging
  • D().log('log message.', window)
  • D().note('note message', window)
  • D().error('error message', window)
  • D().warn('warn message', window)
  • D().todo('todo message', window)
  • Assertions
  • D().test("'Test' 'Test'", window)
  • D().test("'test' ! 'Test'", window)

16
Console Debugging (contd)
  • Color-coded highlighting
  • D().request('request message', window)
  • D().response('response message', window)

17
Console Debugging (contd)
  • Time your code
  • D().startProfiling('MyTimingKey')
  • D().stopProfiling('MyTimingKey')

18
Console Debugging (contd)
  • Managing callbacks
  • D().setCallback('CallbackTest', CB(window,
    function(win)
  • alert('Performing Callback')
  • D().log('CallbackTest executed!', window)
  • ))
  • D().getCallback('CallbackTest')(window)
  • D().removeCallback('CallbackTest')

19
Console Debugging Demo
  • Lets See A Demo!

20
Where Have We Been?
  • Contributor Look Feel
  • Custom Element Forms
  • Contributor Console
  • TIP Look at the JavaScript source code!

21
Questions?

22
Thank You!!
  • Please complete your evaluation form
  • Session info
  • Jason Stortz
  • Oracle Site Studio Contributor Customization
  • 95
  • http//www.corecontentonly.com
  • jason_at_corecontentonly.com
Write a Comment
User Comments (0)
About PowerShow.com