SlideShare a Scribd company logo
JBoss RichFaces
 Webinar Series
 Rich UI Components
 (rich:* Tag Library)
     Webinar #3

      Max Katz
   Charley Cowens

      © Exadel
Upcoming Webinars:
June 16th, 2009 - Skins
Who Is This Guy?
  Senior Systems Engineer
  RIA strategy, development, training
    http://mkblog.exadel.com
    http://twitter.com/maxkatz
Author of            Co-author of
Practical            RichFaces
RichFaces            Dzone
(Apress)             RefCard
The Plan
Review what we have done so far
Components from rich:* tag library
What's new in version 3.3.1
Future plans
Questions
RichFaces
1. JSF-AJAX components (100+)
2. Skins
3. CDK (Component Development Kit)
What You Should Know
Runs in:
• Any servlet container, application
  server
• Portals: JBoss, WebLogic, Liferay
Works with:
• Any JSF implementation (1.1, 1.2,
  2.0soon)
Works with:
• Seam, Spring
Works with any 3rd party components:
JBoss Tools
Basic Concepts and More
1.Sending AJAX requests
2.Partial view (page) rendering
3.Partial view processing
4.Controlling traffic
Sending AJAX Request
• a4j:support – add AJAX support to
  any parent component
• a4j:commandButton,
  a4j:commandLink
• a4j:poll – periodically send AJAX
  request
• a4j:jsFunction – AJAX request from
  any custom JavaScript function
• a4j:push – a ping-like request
Partial View Rendering
Point reRender to component IDs to be
rendered
  •
    Bind to EL to decide in runtime
Use a4j:outputPanel to mark areas on
a view always to be rendered
<a4j:commandLink reRender="id1,id2"/>     Using
<h:outputText id="id1"/>                  reRender
<h:dataTable id="id2">..</h:dataTable>

<a4j:commandLink reRender="panel"/>
<h:panelGrid id="panel">                  Using
   <h:outputText />                       reRender to
   <h:dataTable>..</h:dataTable>          point
                                          to container
</h:panelGrid>


<a4j:commandLink/>
<a4j:outputPanel ajaxRendered="true">     Using
   <h:outputText />                       a4j:outputPanel
   <h:dataTable>..</h:dataTable>
<a4j:outputPanel>

<a4j:commandLink
   reRender="#{bean.renderControls}">     reRender with
<h:outputText id="id1"/>                  EL
<h:dataTable id="id2">...</h:dataTable>
Partial View Processing
Using ajaxSingle
<h:selectOneMenu value="#{bean.fruit}">
   <a4j:support event="onchange"
                ajaxSingle="true">
</<h:selectOneMenu>



Using a4j:region
<a4j:region>
  <h:inputText/>
  <a4j:commandButton />
</a4j:region>
<h:inputText/>
<h:inputText/>
a4j:queue – controls traffic
  between client and server
     – Wait for request to return before
       sending new one
     – Set request delay
     – “Replaces” requests from the same
       logical components
     – Define queue size
         • Define queue behavior when size is
           exceeded (fire/drop new, fire/drop first)
<a4j:queue name="ajaxQueue" requestDelay="1000"/>
...
<a4j:commandButton value="Delete" similarityGroupingId="actionGroup"
                   eventsQeueu="ajaxQueue"/>
<a4j:commandButton value="Save" similarityGroupingId="actionGroup"
                   eventsQeueu="ajaxQueue"/>
Rich UI Components
rich:* tag library
Self-contained, ready-to-use rich UI
controls
Over 80 components
Types of Components
Output
Input
Data iteration
  (incl. scrolling, spanning)
Drag-and-drop
Menu
Selects
Trees
Miscellaneous
RichFaces 3.3.1
Released May 18th, 2009
rich:colorPicker
rich:page
rich:layout, rich:layoutPanel
themes - predefined and packaged
  layouts
rich:page
                    header
 subheader
 sidebar




                               rich:layout, rich:layoutPanel
                    footer
                                      top




                             left       center      right

           Header


                                      bottom
RichFaces Demo
http://livedemo.exadel.com/richfaces-demo
RichFaces 4.0
Full integration with JSF 2.0
Updated for redesigned for
  consistency, performance
Release schedule (2009):
 Alpha June
 Beta August
 CR September
 GA October
http://www.jboss.org/community/wiki/R
ichFaces40Planning
What We Covered
Reviewed basic concepts
Rich UI components
What's new in RichFaces 3.3.1
RichFaces 4.0 plans
Upcoming Webinars:
June 16th, 2009 - Skins
JSF/RichFaces Training
On-site 1-3 days
More info: http://mkblog.exadel.com
Thank You.
Questions?
mkatz@exadel.com
http://mkblog.exadel.com

More Related Content

What's hot (20)

ODP
Dolibarr information for developers and partners - devcamp orléans 2017
Philippe GRAND
 
PDF
99% is not enough
tech.kartenmacherei
 
PPTX
Игорь Фесенко "Web Apps Performance & JavaScript Compilers"
Fwdays
 
PDF
Ruby conf 2011, Create your own rails framework
Pankaj Bhageria
 
KEY
I18n
soon
 
PPTX
Building YourClassical
Pro777
 
PPT
SynapseIndia creating asp controls programatically development
Synapseindiappsdevelopment
 
PDF
Rails::Engine
Flavian Missi
 
PDF
Design Summit - Rails 4 Migration - Aaron Patterson
ManageIQ
 
ODP
Dolibarr the seo of web sites - devcamp orléans 2017
Philippe GRAND
 
PDF
Incremental Type Safety in React Apollo
Evans Hauser
 
PDF
Build a bot workshop async primer - php[tek]
Adam Englander
 
PDF
Python for AngularJS
Jeff Schenck
 
PDF
What's new in Rails 4
Lucas Caton
 
PPTX
Learn How To Use CA PPM REST API in 2 minutes!
Prominder Nayar
 
PDF
Generators
Allan Davis
 
PPTX
ADF 2.4.0 And Beyond
Eugenio Romano
 
PPTX
4. copy2 in Laravel
Razvan Raducanu, PhD
 
PDF
Powershell to the People #suguk
Chris McKinley
 
PDF
정오의 데이트 for iOS 코드 정리
태준 김
 
Dolibarr information for developers and partners - devcamp orléans 2017
Philippe GRAND
 
99% is not enough
tech.kartenmacherei
 
Игорь Фесенко "Web Apps Performance & JavaScript Compilers"
Fwdays
 
Ruby conf 2011, Create your own rails framework
Pankaj Bhageria
 
I18n
soon
 
Building YourClassical
Pro777
 
SynapseIndia creating asp controls programatically development
Synapseindiappsdevelopment
 
Rails::Engine
Flavian Missi
 
Design Summit - Rails 4 Migration - Aaron Patterson
ManageIQ
 
Dolibarr the seo of web sites - devcamp orléans 2017
Philippe GRAND
 
Incremental Type Safety in React Apollo
Evans Hauser
 
Build a bot workshop async primer - php[tek]
Adam Englander
 
Python for AngularJS
Jeff Schenck
 
What's new in Rails 4
Lucas Caton
 
Learn How To Use CA PPM REST API in 2 minutes!
Prominder Nayar
 
Generators
Allan Davis
 
ADF 2.4.0 And Beyond
Eugenio Romano
 
4. copy2 in Laravel
Razvan Raducanu, PhD
 
Powershell to the People #suguk
Chris McKinley
 
정오의 데이트 for iOS 코드 정리
태준 김
 

Viewers also liked (8)

PPS
Gruyeres
Winson Ng
 
PPS
Stewards
Winson Ng
 
PPS
Magnificent scenes
Winson Ng
 
PPS
Red Square
Winson Ng
 
PPS
India & Pakistan
Winson Ng
 
PPS
鮮花地毯
Winson Ng
 
PPS
Nature Lightning
Winson Ng
 
PPS
Cholesterol
Winson Ng
 
Gruyeres
Winson Ng
 
Stewards
Winson Ng
 
Magnificent scenes
Winson Ng
 
Red Square
Winson Ng
 
India & Pakistan
Winson Ng
 
鮮花地毯
Winson Ng
 
Nature Lightning
Winson Ng
 
Cholesterol
Winson Ng
 
Ad

Similar to RichFaces: rich:* component library (20)

PDF
RichFaces 4 Webinar - New and Advanced Features
Max Katz
 
PDF
What You Need To Build Cool Enterprise Applications With JSF
Max Katz
 
PDF
RichFaces 4: Rich Ajax Components For Your JSF Applications
Max Katz
 
PDF
RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4
Max Katz
 
PDF
Rich Portlet Development in uPortal
Jennifer Bourey
 
PDF
Ajax Applications with JSF 2 and New RichFaces 4 - TSSJS
Max Katz
 
PDF
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
balunasj
 
PDF
Primefaces Nextgen Lju
Skills Matter
 
PDF
Primefaces Nextgen Lju
Skills Matter
 
PDF
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
Arun Gupta
 
PDF
Hyperproductive JSF 2.0 @ JavaOne Brazil 2010
Arun Gupta
 
PDF
RichFaces 4 Component Deep Dive - JAX/JSFSummit
balunasj
 
PDF
JSF 2.0 Preview
Skills Matter
 
PDF
RichFaces: more concepts and features
Max Katz
 
PDF
Hands On With Rich Faces 4 - JavaOne 2010
Max Katz
 
PDF
Going Above JSF 2.0 with RichFaces and Seam
Lincoln III
 
PDF
Ajax Applications with JSF 2 and New RichFaces 4 - CONFESS 2011
Max Katz
 
PDF
HTML5 tutorial: canvas, offfline & sockets
Remy Sharp
 
PDF
WebNet Conference 2012 - Designing complex applications using html5 and knock...
Fabio Franzini
 
PDF
Ajax Applications with JSF 2 and New RichFaces 4 - JAX/JSF Summit
Max Katz
 
RichFaces 4 Webinar - New and Advanced Features
Max Katz
 
What You Need To Build Cool Enterprise Applications With JSF
Max Katz
 
RichFaces 4: Rich Ajax Components For Your JSF Applications
Max Katz
 
RichFaces 4 webinar #2: RichFaces 3 toRichFaces 4
Max Katz
 
Rich Portlet Development in uPortal
Jennifer Bourey
 
Ajax Applications with JSF 2 and New RichFaces 4 - TSSJS
Max Katz
 
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
balunasj
 
Primefaces Nextgen Lju
Skills Matter
 
Primefaces Nextgen Lju
Skills Matter
 
Spark IT 2011 - Simplified Web Development using Java Server Faces 2.0
Arun Gupta
 
Hyperproductive JSF 2.0 @ JavaOne Brazil 2010
Arun Gupta
 
RichFaces 4 Component Deep Dive - JAX/JSFSummit
balunasj
 
JSF 2.0 Preview
Skills Matter
 
RichFaces: more concepts and features
Max Katz
 
Hands On With Rich Faces 4 - JavaOne 2010
Max Katz
 
Going Above JSF 2.0 with RichFaces and Seam
Lincoln III
 
Ajax Applications with JSF 2 and New RichFaces 4 - CONFESS 2011
Max Katz
 
HTML5 tutorial: canvas, offfline & sockets
Remy Sharp
 
WebNet Conference 2012 - Designing complex applications using html5 and knock...
Fabio Franzini
 
Ajax Applications with JSF 2 and New RichFaces 4 - JAX/JSF Summit
Max Katz
 
Ad

More from Max Katz (17)

PDF
Using cloud tools to build enterprise mobile apps with APIs fast
Max Katz
 
PDF
Wolters Kluwer Tech. Conference: Disrupting Mobile Development
Max Katz
 
PDF
Tiggzi at DC jQuery Meetup
Max Katz
 
PDF
Learn How to Build Mobile Apps Using Cloud Services
Max Katz
 
PDF
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Max Katz
 
PDF
Tiggr - Web-based IDE for Mobile Web And Native Apps
Max Katz
 
PDF
Building Mobile Apps With jQuery For Any Device In The Cloud
Max Katz
 
PDF
Ajax Applications with JSF2 and New RichFaces 4 at JAX 2011
Max Katz
 
PDF
Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011
Max Katz
 
PDF
RichFaces 4 webinar #1: Everything You Need To Know
Max Katz
 
PDF
Devoxx2010 - Mobile Development Choices: Native Apps vs Web Apps
Max Katz
 
PDF
Ajax Applications with JSF 2 and new RichFaces 4 - Herbstcampus
Max Katz
 
PDF
RichFaces skins
Max Katz
 
PPT
Rich Enterprise Applications with JavaFX
Max Katz
 
PPT
Ajax Applications with RichFaces and JSF 2
Max Katz
 
PDF
Building RIA Applications with JavaFX
Max Katz
 
PDF
Building RIA Applications with RichFaces
Max Katz
 
Using cloud tools to build enterprise mobile apps with APIs fast
Max Katz
 
Wolters Kluwer Tech. Conference: Disrupting Mobile Development
Max Katz
 
Tiggzi at DC jQuery Meetup
Max Katz
 
Learn How to Build Mobile Apps Using Cloud Services
Max Katz
 
Tiggr Mobile Apps Builder at Silicon Valley HTML5 Group Meetup
Max Katz
 
Tiggr - Web-based IDE for Mobile Web And Native Apps
Max Katz
 
Building Mobile Apps With jQuery For Any Device In The Cloud
Max Katz
 
Ajax Applications with JSF2 and New RichFaces 4 at JAX 2011
Max Katz
 
Mobile Development Choices: Native Apps vs. Web Apps at JAX 2011
Max Katz
 
RichFaces 4 webinar #1: Everything You Need To Know
Max Katz
 
Devoxx2010 - Mobile Development Choices: Native Apps vs Web Apps
Max Katz
 
Ajax Applications with JSF 2 and new RichFaces 4 - Herbstcampus
Max Katz
 
RichFaces skins
Max Katz
 
Rich Enterprise Applications with JavaFX
Max Katz
 
Ajax Applications with RichFaces and JSF 2
Max Katz
 
Building RIA Applications with JavaFX
Max Katz
 
Building RIA Applications with RichFaces
Max Katz
 

Recently uploaded (20)

PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 

RichFaces: rich:* component library

  • 1. JBoss RichFaces Webinar Series Rich UI Components (rich:* Tag Library) Webinar #3 Max Katz Charley Cowens © Exadel
  • 3. Who Is This Guy? Senior Systems Engineer RIA strategy, development, training http://mkblog.exadel.com http://twitter.com/maxkatz Author of Co-author of Practical RichFaces RichFaces Dzone (Apress) RefCard
  • 4. The Plan Review what we have done so far Components from rich:* tag library What's new in version 3.3.1 Future plans Questions
  • 5. RichFaces 1. JSF-AJAX components (100+) 2. Skins 3. CDK (Component Development Kit)
  • 6. What You Should Know Runs in: • Any servlet container, application server • Portals: JBoss, WebLogic, Liferay Works with: • Any JSF implementation (1.1, 1.2, 2.0soon) Works with: • Seam, Spring Works with any 3rd party components:
  • 8. Basic Concepts and More 1.Sending AJAX requests 2.Partial view (page) rendering 3.Partial view processing 4.Controlling traffic
  • 9. Sending AJAX Request • a4j:support – add AJAX support to any parent component • a4j:commandButton, a4j:commandLink • a4j:poll – periodically send AJAX request • a4j:jsFunction – AJAX request from any custom JavaScript function • a4j:push – a ping-like request
  • 10. Partial View Rendering Point reRender to component IDs to be rendered • Bind to EL to decide in runtime Use a4j:outputPanel to mark areas on a view always to be rendered
  • 11. <a4j:commandLink reRender="id1,id2"/> Using <h:outputText id="id1"/> reRender <h:dataTable id="id2">..</h:dataTable> <a4j:commandLink reRender="panel"/> <h:panelGrid id="panel"> Using <h:outputText /> reRender to <h:dataTable>..</h:dataTable> point to container </h:panelGrid> <a4j:commandLink/> <a4j:outputPanel ajaxRendered="true"> Using <h:outputText /> a4j:outputPanel <h:dataTable>..</h:dataTable> <a4j:outputPanel> <a4j:commandLink reRender="#{bean.renderControls}"> reRender with <h:outputText id="id1"/> EL <h:dataTable id="id2">...</h:dataTable>
  • 12. Partial View Processing Using ajaxSingle <h:selectOneMenu value="#{bean.fruit}"> <a4j:support event="onchange" ajaxSingle="true"> </<h:selectOneMenu> Using a4j:region <a4j:region> <h:inputText/> <a4j:commandButton /> </a4j:region> <h:inputText/> <h:inputText/>
  • 13. a4j:queue – controls traffic between client and server – Wait for request to return before sending new one – Set request delay – “Replaces” requests from the same logical components – Define queue size • Define queue behavior when size is exceeded (fire/drop new, fire/drop first) <a4j:queue name="ajaxQueue" requestDelay="1000"/> ... <a4j:commandButton value="Delete" similarityGroupingId="actionGroup" eventsQeueu="ajaxQueue"/> <a4j:commandButton value="Save" similarityGroupingId="actionGroup" eventsQeueu="ajaxQueue"/>
  • 14. Rich UI Components rich:* tag library Self-contained, ready-to-use rich UI controls Over 80 components
  • 15. Types of Components Output Input Data iteration (incl. scrolling, spanning) Drag-and-drop Menu Selects Trees Miscellaneous
  • 16. RichFaces 3.3.1 Released May 18th, 2009 rich:colorPicker rich:page rich:layout, rich:layoutPanel themes - predefined and packaged layouts
  • 17. rich:page header subheader sidebar rich:layout, rich:layoutPanel footer top left center right Header bottom
  • 19. RichFaces 4.0 Full integration with JSF 2.0 Updated for redesigned for consistency, performance Release schedule (2009): Alpha June Beta August CR September GA October http://www.jboss.org/community/wiki/R ichFaces40Planning
  • 20. What We Covered Reviewed basic concepts Rich UI components What's new in RichFaces 3.3.1 RichFaces 4.0 plans
  • 22. JSF/RichFaces Training On-site 1-3 days More info: http://mkblog.exadel.com