Richfaces Development - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

Richfaces Development

Description:

Combines Richfaces components with A4jsf project. Under the ... Virtual Earth. Trees. Tabbed Panels. Spinners. JQuery. Calendar. Examples. Native Components ... – PowerPoint PPT presentation

Number of Views:563
Avg rating:3.0/5.0
Slides: 17
Provided by: denve6
Category:

less

Transcript and Presenter's Notes

Title: Richfaces Development


1
Richfaces Development
  • Scott Ryan
  • January 2008
  • scott_at_theryansplace.com

2
Agenda
  • Introduction
  • Native Components
  • Ajax Components
  • Ajax Enablement
  • Grey Boxing

3
Introduction
  • Combines Richfaces components with A4jsf project
  • Under the JBoss umbrella
  • Some Maven support if you can find it
  • Integrates well with Faces (RI and MyFaces),
    Facelets, Seam

4
Introduction
  • Leverages Prototype
  • Fairly active project
  • Different DOM interaction model than Icefaces
  • Implemented as a servlet filter

5
Architecture
6
Limitations/Hints
  • Avoid Verbatim since that is transient
  • Update the dom only do not add or remove
  • Use placeholder elements for updates
  • Always send and receive valid XML
  • Use server side persistence

7
Overview
  • Native Components
  • Non Ajax Enabled
  • Ajax Enabled
  • Ajax enablement of non richfaces components
  • Offers Dynamic Skins

8
Native Components
  • Messages
  • Panels
  • Menus
  • Tables and Columns
  • Google
  • Virtual Earth
  • Trees
  • Tabbed Panels
  • Spinners
  • JQuery
  • Calendar

9
Examples
10
Native ComponentsAjax Enabled
  • Drag and Drop
  • Suggestion Box
  • Ajax Output Panel
  • Media
  • Ajax Includes
  • Polling
  • Push Capability
  • Command Button
  • Command Link
  • Modal Panels
  • Toggle Panels
  • List Shuttle

11
Examples
12
Ajax EnablementNon Rich Components
  • Action Parameter
  • Ajax Support
  • Ajax Listener
  • Ajax Re-rendering
  • Ajax Regions
  • Ajax Status

13
Ajax Concepts
  • Ajax Region
  • Ajax Output Panel
  • Ajax Keep Alive
  • Ajax Script
  • Ajax Style
  • Ajax Log

14
Ajax States
  • onsubmit onsubmit"if (mynosendfunct()false)ret
    urn false"
  • onclick (Command button and link)
  • oncomplete
  • onbeforedomupdate

15
Examples
16
References
  • Richfaces
  • http//labs.jboss.com/jbossrichfaces/
  • Appfuse
  • http//appfuse.org
  • Swoop
  • http//www.soaringeagleco.com/swoop
  • http//sourceforge.net/projects/swoop/
Write a Comment
User Comments (0)
About PowerShow.com