servlets struts hibernate spring maven java
 

JSF User Interface Component Model



JavaServer Faces gives rich arrangement of components library to characterize the engineering of application.

It incorporates the following:

Rich set of classes for determining the state and conduct of UI components.

  • A rendering model that characterizes how to render the components in different ways.
  • A change model that characterizes how to enroll information converters onto a component.
  • An occasion and audience model that characterizes how to deal with part events.
  • A validation model that characterizes how to enlist validators onto a component.

JSF User Interface Components

JavaServer Faces HTML label library speaks HTML structure components and other fundamental HTML components, which are used to appear or recognize data from the client. A JSF structure send this data to the server in the wake of showing the form.

The following table contains the UI components.

Tag Functions Rendered As Appearance
h:inputText It allows a client to enter a string. An HTML <input type="text"> element A field
h:outputText It shows a line of text. Plain text Plain text
h:form It allows to an info form. An HTML <form> element No appearance
h:commandButton It allows a structure to the application. An HTML <input type=value> component for which the sort esteem can be "submit", "reset", or "image" A button
h:inputSecret It allows a client to include a string without the genuine string showing up in the field. An HTML <input type="password"> element A field that shows a line of characters rather than the real string entered.
h:inputTextarea It allows a client to enter a multiline string. An HTML <textarea> element A multirow field
h:commandLink It allows to another page or area on a page. An HTML <a href> element A link
h:inputSecret It enables a client to enter a string without the real string showing up in the field. An HTML <input type="password"> element A field that shows a line of characters rather than the genuine string entered.
h:inputHidden It permits a page creator to incorporate a shrouded variable in a page. An HTML <input type="hidden"> element No appearance
h:inputFile It enables a client to transfer a file. An HTML <input type="file"> element A field with a Browse button
h:graphicImage It shows an image. An HTML <img> element An image
h:dataTable It speaks to an information wrapper. An HTML <table> element A table that can be refreshed dynamically.
h:message It shows a restricted message. An HTML <span> tag if styles are used A content string
h:messages It showcases limited messages. A set of HTML <span> labels if styles are used A content string
h:outputFormat It shows a designed message. Plain text Plain text
h:outputLabel It shows a settled segment as a name for a predefined input field. An HTML <label> element Plain text
h:outputLink It connections to another page or area on a page without producing an activity event. An HTML <a> element A link
h:panelGrid It shows a table. An HTML <table> component with <tr> and <td> elements A table
h:panelGroup It groups a set of components under one parent. A HTML <div> or <span> element A row in a table
h:selectBooleanCheckbox It allows a user to change the value of a Boolean choice. An HTML <input type="checkbox"> element A check box
h:selectManyCheckbox It displays a set of check boxes from which the user can select multiple values. A set of HTML <input> elements of type checkbox A group of check boxes
h:selectManyListbox It allows a user to select multiple items from a set of items all displayed at once. An HTML <select> element A box
h:selectManyMenu It allows a user to select multiple items from a set of items. An HTML <select> element A menu
h:selectBooleanCheckbox It enables a client to change the estimation of a Boolean choice. An HTML <input type="checkbox"> element A check box
h:selectManyCheckbox It shows a lot of check boxes from which the client can choose different values. A set of HTML <input> components of sort checkbox A gathering of check boxes
h:selectManyListbox It enables a client to choose numerous things from a lot of things all showed at once. An HTML <select> element A box
h:selectManyMenu It enables a client to choose various things from a lot of items. An HTML <select> element A menu
h:selectOneListbox It enables a client to choose one item from a lot of items all showed at once. An HTML <select> element A box
h:selectOneMenu It enables a client to choose one item from a lot of items. An HTML <select> element A menu
h:selectOneRadio It enables a client to choose one item from a lot of items. An HTML <input type="radio"> element A group of options
h:column It speaks to a column of information in an information component. A column of information in a HTML table A column in a table






© Javacodegeeks © 2019 - 2019
All Right Reserved and you agree to have read and accepted our term and condition.

Python 3