By default, a JSF application makes a sequence of POST requests to the server each POST contains form data. This makes sense for application that collects user inputs. In the other hand many applications don’t work at this manner. Some other applications provide their users a simple browsing mechanism, in that no data from the …
JSF 2
JSF 2 CommandLink Example
The h:commandLink component is an important one among those components that are provided by JSF. That component does render an HTML anchor tag <a href/>. JSF 2 does enhance the h:commandLink by allowing it to invoke an associated action by passing a parameters for it. The main attribute of the h:commandLink is an action attribute that accepts a method-binding expression for …
JSF 2 InputSecret Example
The h:inputSecret component is one of the most popular JSF Tags or components, it’s like h:inputText component with a one big difference in that it is hiding the text that’s typed within it. The main attribute of the h:inputSecret component is a value attribute that can be associated (binded) into a bean property. This tutorial will …
JSF 2 SelectOneRadio Example
The selectOneRadio component is one of the most component that already had provided in JSF 1 and included in the JSF 2. Radio buttons are implemented in the JavaServer Faces using the selectOneRadio that translated into <input type=”radio”/> while the HTML gets rendition. The selectOneRadio isn’t consider as a replacement for selectBooleanCheckbox, cause the latter doesn’t enforce one selection, …
JSF 2 SelectManyCheckbox Example
The selectManyCheckBox component is one of the major components that provided by JSF 1 and included in the JSF 2 with some extra flavors. The selectManyCheckbox simply renders a set of checkboxs and corresponding representation of each individual checkbox in the selectManyCheckbox component by means of HTML is <input type=”checkbox”/>. The main attribute of that …
JSF 2 SelectBooleanCheckbox Example
The selectBooleanCheckbox component is one of the main component that provided in the JSF 1 and included in the JSF 2. The selectBooleanCheckbox simply renders a checkbox that can be wired to a boolean bean property and corresponding representation of it by means of HTML is <input type=”checkbox”/>. The main attribute of that component is …
JSF 2 SelectManyMenu Example
JavaServer Faces (JSF 2) provides a number of user interfaces components that cover the most common requirements, one of the most important component is a <h:selectManyMenu/> component. The selectManyMenu is a component that been used for making multiple selection. The using of selectManyMenu component can be achieved by means of using an inline selection values or …
JSF 2 SelectOneMenu Example
JavaServer Faces (JSF 2) provides a number of user interfaces components that cover the most common requirements, one of the most important component is a <h:selectOneMenu/> component. The selectOneMenu is a component that been used for making selection. The using of selectOneMenu component can be achieved by means of using an inline selection values or by …