Visual Web JSF ApplicationProgramNotes for adding components to the web page
You can drag components from the "component panel" window to the web page in the visual designer to design the web page. For example, you have added the equations of buttons, text fields, messages, drop-down lists, and radio button groups. All these components are available in the "Basic" category. These components are customized by modifying their attributes.
Note:Netbeans ide 6.1 (6.5) on-demand binding feature. In visual web JSF applications, components require JavaCodeYou must manually add the binding property. To manually add a widget, right-click each component and selectAdd binding property". For more information, see on-demand binding attribute wiki.
Otherwise, the component instance cannot be found in the Code.
Reference
Netbeans Visual Web JSF Application Development