Scott RyanDenver Java User’s Group May 2008
AgendaIntroductionNative ComponentsAjax ComponentsAjax Enablement
IntroductionCombines Richfaces components with A4jsf
projectUnder the JBoss umbrellaSome Maven support if you can find itIntegrates well with Faces (RI and
MyFaces), Facelets, Seam
IntroductionLeverages PrototypeFairly active projectDifferent DOM interaction model than
IcefacesImplemented as a servlet filter
Architecture
Limitations/HintsAvoid Verbatim since that is transientUpdate the dom only do not add or removeUse placeholder elements for updatesAlways send and receive valid XMLUse server side persistence
OverviewNative Components
Non Ajax Enabled Ajax Enabled
Ajax enablement of non richfaces components
Offers Dynamic Skins
Native ComponentsMessagesPanelsMenusTables and ColumnsGoogle Virtual EarthTreesTabbed PanelsSpinnersJQueryCalendar
Examples
Ajax Enabled Native Components
Drag and DropSuggestion BoxAjax Output PanelMediaAjax IncludesPollingPush CapabilityCommand ButtonCommand LinkModal PanelsToggle PanelsList Shuttle
Examples
Ajax Enabled Non-Native Components
Action ParameterAjax SupportAjax ListenerAjax Re-renderingAjax RegionsAjax Status
Ajax ConceptsAjax RegionAjax Output PanelAjax Keep AliveAjax ScriptAjax StyleAjax Log
Ajax Statesonsubmit onsubmit="if (mynosendfunct()==false){return
false}"
onclick (Command button and link)oncompleteonbeforedomupdate
Examples
ReferencesRichfaces
http://labs.jboss.com/jbossrichfaces/
Appfuse http://appfuse.org
Swoop http://www.soaringeagleco.com/swoophttp://sourceforge.net/projects/swoop/
Top Related