<h2id="_using_a_managed_bean_in_a_facelets_page">Using a Managed Bean in a Facelets Page</h2>
<divclass="sectionbody">
<divclass="paragraph">
<p>To use the managed bean in a Facelets page, create a form that uses user interface elements to call its methods and to display their results. The following example provides a button that asks the user to type a name, retrieves the salutation, and then displays the text in a paragraph below the button:</p>