1) What is PrimeFaces?
It is an UI (User Interface) library for JSF (JavaServer Faces) based applications. It is designed and developed by PrimeTek. It is Cross-platform, open source and written in Java programing language.
For more information Click here.
It is an UI (User Interface) library for JSF (JavaServer Faces) based applications. It is designed and developed by PrimeTek. It is Cross-platform, open source and written in Java programing language. For more information Click here. |
2) What are the features of PrimeFaces?
PrimeFaces is full of features, some are listed below.
- Rich UI Components
- Ajax Support
- Push Support
- Dialog Suppport
For more information Click here.
PrimeFaces is full of features, some are listed below.
|
3) How to configure PrimeFaces in JSF application?
To configure primefaces in our JSF application, we need to download only one JAR file primefaces-{version}.jar. We can manually download it from the official site of primfaces.
For more information Click here.
To configure primefaces in our JSF application, we need to download only one JAR file primefaces-{version}.jar. We can manually download it from the official site of primfaces. For more information Click here. |
4) PrimeFaces Ajax support.
Primefaces provides built-in Ajax support. It provides various attributes like update, event, listener etc. Here, we are creating an example that explains ajax attributes.
For more information Click here.
Primefaces provides built-in Ajax support. It provides various attributes like update, event, listener etc. Here, we are creating an example that explains ajax attributes. For more information Click here. |
5) How to implement PrimeFaces autoComplete component in JSF (JavaServer Faces)?
It is an input component that provides live suggestions while an input is being typed.
Suggestions are loaded by calling a server side completeMethod that takes a single string parameter.
For more information Click here.
It is an input component that provides live suggestions while an input is being typed. Suggestions are loaded by calling a server side completeMethod that takes a single string parameter. For more information Click here. |
6) How to implement PrimeFaces inputTextArea component in JSF (JavaServer Faces)?
PrimeFaces provides <p:inputTextarea> component to create a text area in JSF application. It is an extension of standard inputTextarea. It includes various features like: autoComplete, autoResize etc.
For more information Click here.
PrimeFaces provides <p:inputTextarea> component to create a text area in JSF application. It is an extension of standard inputTextarea. It includes various features like: autoComplete, autoResize etc. For more information Click here. |
7) How to implement PrimeFaces selectBooleanButton component in JSF (JavaServer Faces)?
The <p:selectBooleanButton> is used to create BooleanButton in JSF application. We can use it to get boolean input from the user. It provides a toggle button to interact with user.
For more information Click here.
The <p:selectBooleanButton> is used to create BooleanButton in JSF application. We can use it to get boolean input from the user. It provides a toggle button to interact with user. For more information Click here. |
8) How to implement PrimeFaces selectBooleanCheckbox component in JSF (JavaServer Faces)?
PrimeFaces provides <p:selectBooleanCheckbox> component to create boolean checkbox. It is used to get a boolean value from the user. It is an extended version of the standard checkbox with theme integration.
For more information Click here.
PrimeFaces provides <p:selectBooleanCheckbox> component to create boolean checkbox. It is used to get a boolean value from the user. It is an extended version of the standard checkbox with theme integration. For more information Click here. |
9) How to implement PrimeFaces calendar component in JSF (JavaServer Faces)?
It is an input component which is used to select date. The <p:calendar> component is used to create a calendar in JSF application. It includes various features like: display modes, paging, localization, ajax selection etc.
For more information Click here.
It is an input component which is used to select date. The <p:calendar> component is used to create a calendar in JSF application. It includes various features like: display modes, paging, localization, ajax selection etc. For more information Click here. |
10) How to implement PrimeFaces selectCheckboxMenu component in JSF (JavaServer Faces)?
It is used to choose multiple items displayed in an overlay. We can create it by using <p:selectCheckboxMenu> component. It displays options in an overlay. It provides attribute that are tabled below.
For more information Click here.
It is used to choose multiple items displayed in an overlay. We can create it by using <p:selectCheckboxMenu> component. It displays options in an overlay. It provides attribute that are tabled below. For more information Click here. |
11) How to implement PrimeFaces editor component in JSF (JavaServer Faces)?
PrimeFaces provides <p:editor> component which is used to create an editor in JSF application. We can use this editor to get user input in large amount. This editor provides editing and formating tools that we can use to format our input.
For more information Click here.
PrimeFaces provides <p:editor> component which is used to create an editor in JSF application. We can use this editor to get user input in large amount. This editor provides editing and formating tools that we can use to format our input. For more information Click here. |
12) How to implement PrimeFaces inputText component in JSF (JavaServer Faces)?
It is an extension to the standard inputText with skinning capabilities. We can create it by using the <p:inputText> component. It is used to get user input in JSF application.
For more information Click here.
It is an extension to the standard inputText with skinning capabilities. We can create it by using the <p:inputText> component. It is used to get user input in JSF application. For more information Click here. |
13) How to implement PrimeFaces inputMask component in JSF (JavaServer Faces)?
It is a special type of input box which forces user to enter formatted input. We can create it by using <p:inputMask> component. It takes input in a certain pattern. It is useful when we want formated user input.
For more information Click here.
It is a special type of input box which forces user to enter formatted input. We can create it by using <p:inputMask> component. It takes input in a certain pattern. It is useful when we want formated user input. For more information Click here. |
14) How to implement PrimeFaces selectOneListbox component in JSF (JavaServer Faces)?
It is an extended version of the standard selectOneListbox component. It is used to select one value from the list. PrimeFaces provides <p:selectOneListbox> component to create listbox. It is useful when we want to get user choice from the multiple options.
For more information Click here.
It is an extended version of the standard selectOneListbox component. It is used to select one value from the list. PrimeFaces provides <p:selectOneListbox> component to create listbox. It is useful when we want to get user choice from the multiple options. For more information Click here. |
15) How to implement PrimeFaces selectManyButton component in JSF (JavaServer Faces)?
It is a multi select component using button user interface. The <p:selectManyButton> component is used to create multiple buttons. It is used to get user input by using buttons.
For more information Click here.
It is a multi select component using button user interface. The <p:selectManyButton> component is used to create multiple buttons. It is used to get user input by using buttons. For more information Click here. |
16) How to implement PrimeFaces selectManyCheckbox component in JSF (JavaServer Faces)?
It is used to select multiple values from given options. It is useful when we want to take multiple user inputs from a collection. We can use <p:selectManyCheckbox> component to create SelectManyCheckbox in JSF application.
For more information Click here.
It is used to select multiple values from given options. It is useful when we want to take multiple user inputs from a collection. We can use <p:selectManyCheckbox> component to create SelectManyCheckbox in JSF application. For more information Click here. |
17) How to implement PrimeFaces selectOneButton component in JSF (JavaServer Faces)?
It is used to select a single item from a list using buttons. It creates items list as a list of buttons. So, we can select item by clicking on the button. The <p:selectOneButton> component is used to create list of buttons in the JSF application.
For more information Click here.
It is used to select a single item from a list using buttons. It creates items list as a list of buttons. So, we can select item by clicking on the button. The <p:selectOneButton> component is used to create list of buttons in the JSF application. For more information Click here. |
18) How to implement PrimeFaces selectOneRadio component in JSF (JavaServer Faces)?
It is used to choose a single item from a list of options. It is an extended version with theme integration. The <p:selectOneRadio> component is used to create list of radio buttons. It is useful when we want a single input from the user.
For more information Click here.
It is used to choose a single item from a list of options. It is an extended version with theme integration. The <p:selectOneRadio> component is used to create list of radio buttons. It is useful when we want a single input from the user. For more information Click here. |
19) How to implement PrimeFaces signature component in JSF (JavaServer Faces)?
It is used to draw a signature as an input. It provides a canvas where we can draw signature. It provides various options such as background color, foreground color, thickness for customization. It can be used in touch enabled devices. In JSF application, we can create it by using the <p:signature> component.
For more information Click here.
It is used to draw a signature as an input. It provides a canvas where we can draw signature. It provides various options such as background color, foreground color, thickness for customization. It can be used in touch enabled devices. In JSF application, we can create it by using the <p:signature> component. For more information Click here. |
20) How to implement PrimeFaces spinner component in JSF (JavaServer Faces)?
It is an input text which provides increment and decrement buttons. It is used to get user input in a input text. We can create it by using <p:spinner> component in our JSF application.
For more information Click here.
It is an input text which provides increment and decrement buttons. It is used to get user input in a input text. We can create it by using <p:spinner> component in our JSF application. For more information Click here. |
21) How to implement PrimeFaces slider component in JSF (JavaServer Faces)?
It is a text input with slider. It is used to get user input with the help of slider. It allows us to increment and decrement input by using slider. The <p:slider> component is used to create slider input text.
For more information Click here.
It is a text input with slider. It is used to get user input with the help of slider. It allows us to increment and decrement input by using slider. The <p:slider> component is used to create slider input text. For more information Click here. |
22) How to implement PrimeFaces inputSwitch component in JSF (JavaServer Faces)?
It is used to take a boolean value as input from the user. It is a button which toggles ON or OFF. We can create it by using <p:inputSwitch> component.
For more information Click here.
It is used to take a boolean value as input from the user. It is a button which toggles ON or OFF. We can create it by using <p:inputSwitch> component. For more information Click here. |
23) How to implement PrimeFaces password component in JSF (JavaServer Faces)?
It is an input field which takes hidden value from the user. The <p:password> component is used to create a password field in JSF application. It also provides feedback while entering the password.
For more information Click here.
It is an input field which takes hidden value from the user. The <p:password> component is used to create a password field in JSF application. It also provides feedback while entering the password. For more information Click here. |
24) How to implement PrimeFaces keyboard component in JSF (JavaServer Faces)?
It is a input text box which displays virtual keyboard to enter data. It used to get user input by using pointer device. So, a user can enter input without having keyboard. The <p:keyboard> component is used to create virtual keyboard.
For more information Click here.
It is a input text box which displays virtual keyboard to enter data. It used to get user input by using pointer device. So, a user can enter input without having keyboard. The <p:keyboard> component is used to create virtual keyboard. For more information Click here. |
25) How to implement PrimeFaces rating component in JSF (JavaServer Faces)?
It is a star based rating system. It is used to take user input as a rating. It is useful when we want to get user feedback. It is mostly used to get product rating.
For more information Click here.
It is a star based rating system. It is used to take user input as a rating. It is useful when we want to get user feedback. It is mostly used to get product rating. For more information Click here. |
26) How to implement PrimeFaces colorPicker component in JSF (JavaServer Faces)?
It is an input component with a color palette. It allows us to select and reselect color in web application. We can use it in our JSF application to get color as user input.
For more information Click here.
It is an input component with a color palette. It allows us to select and reselect color in web application. We can use it in our JSF application to get color as user input. For more information Click here. |
27) How to implement PrimeFaces inplace component in JSF (JavaServer Faces)?
It is an input text box which provides easy editing of value at browser. It consists of two members, display element is the initial clickable label and inline element is the hidden content that is displayed when display element is toggled.
For more information Click here.
It is an input text box which provides easy editing of value at browser. It consists of two members, display element is the initial clickable label and inline element is the hidden content that is displayed when display element is toggled. For more information Click here. |
28) How to implement PrimeFaces knob component in JSF (JavaServer Faces)?
It is an input component which is used to get numeric value. It is used to get user input in a specified range. PrimeFaces provides <p:knob> component which is used to create a graphical circle.
For more information Click here.
It is an input component which is used to get numeric value. It is used to get user input in a specified range. PrimeFaces provides <p:knob> component which is used to create a graphical circle. For more information Click here. |
29) How to implement PrimeFaces chips component in JSF (JavaServer Faces)?
It is an input text box which is used to enter multiple values. The <p:chips> component is used to create input text in the JSF application. It is useful when we want to take multiple values from the user by using single component.
For more information Click here.
It is an input text box which is used to enter multiple values. The <p:chips> component is used to create input text in the JSF application. It is useful when we want to take multiple values from the user by using single component. For more information Click here. |
30) How to implement PrimeFaces button component in JSF (JavaServer Faces)?
It is an extension to the standard h:button JSF component with advanced skinning features. It is used to send GET request on the web. The <p:button> component is used to create button in JSF application.
For more information Click here.
It is an extension to the standard h:button JSF component with advanced skinning features. It is used to send GET request on the web. The <p:button> component is used to create button in JSF application. For more information Click here. |
31) How to implement PrimeFaces commandButton component in JSF (JavaServer Faces)?
It is an extended version of standard h:commandButton of JSF. It includes ajax, partial processing and skinning features.
The <p:commandButton> component is used to create button in JSF application.
For more information Click here.
It is an extended version of standard h:commandButton of JSF. It includes ajax, partial processing and skinning features. The <p:commandButton> component is used to create button in JSF application. For more information Click here. |
32) How to implement PrimeFaces commandLink component in JSF (JavaServer Faces)?
It is an extended version of JSF h:commandLink with Ajax, partial processing and confirmation feature. It is used to create a link which redirects control to specified target.
The <p:commandLink> component is used to create a link in JSF application.
For more information Click here.
It is an extended version of JSF h:commandLink with Ajax, partial processing and confirmation feature. It is used to create a link which redirects control to specified target. The <p:commandLink> component is used to create a link in JSF application. For more information Click here. |
33) How to implement PrimeFaces splitButton component in JSF (JavaServer Faces)?
It is a button which displays a default command and additional ones in an overlay. It is used to provide multiple commands. The <p:splitButton> component is used to create splitButton in JSF application.
For more information Click here.
It is a button which displays a default command and additional ones in an overlay. It is used to provide multiple commands. The <p:splitButton> component is used to create splitButton in JSF application. For more information Click here. |
34) How to implement PrimeFaces accordionPanel component in JSF (JavaServer Faces)?
It is a container component which displays vertically stacked panels. It is used to display data in accordion format. We can switch anytime from one item to another just by clicking on that item. It is useful when user want to see single item at a time from the collection.
For more information Click here.
It is a container component which displays vertically stacked panels. It is used to display data in accordion format. We can switch anytime from one item to another just by clicking on that item. It is useful when user want to see single item at a time from the collection. For more information Click here. |
35) How to implement PrimeFaces fieldset component in JSF (JavaServer Faces)?
It is a grouping component and an extension of html fieldset. It is a kind of container that has a legend and content. It is used to display categorized data.
PrimeFaces provides <p:fieldset> component which is used to create fieldset in JSF application.
For more information Click here.
It is a grouping component and an extension of html fieldset. It is a kind of container that has a legend and content. It is used to display categorized data. PrimeFaces provides <p:fieldset> component which is used to create fieldset in JSF application. For more information Click here. |
36) How to implement PrimeFaces layout component in JSF (JavaServer Faces)?
It is a highly customizable borderLayout model. It is easy to create complex layouts even if we are not familiar with web design. It consists of 5 different layout units which are top, left, center, right and bottom. We can refer that as east, west, north, south and center.
For more information Click here.
It is a highly customizable borderLayout model. It is easy to create complex layouts even if we are not familiar with web design. It consists of 5 different layout units which are top, left, center, right and bottom. We can refer that as east, west, north, south and center. For more information Click here. |
37) How to implement PrimeFaces notificationBar component in JSF (JavaServer Faces)?
It is a multipurpose fixed positioned panel. It is used to display notification bar. By default, it displays at the top. We can set it's position by specifying position attribute. We can also set the effect of notification bar like: fade or slide.
For more information Click here.
It is a multipurpose fixed positioned panel. It is used to display notification bar. By default, it displays at the top. We can set it's position by specifying position attribute. We can also set the effect of notification bar like: fade or slide. For more information Click here. |
38) How to implement PrimeFaces toolbar component in JSF (JavaServer Faces)?
It is a horizontal grouping component which is used to form a toolbar with commands and other content. PrimeFaces provides <p:toolbar> component to create toolbar in JSF application. It is useful to create tool based web application.
For more information Click here.
It is a horizontal grouping component which is used to form a toolbar with commands and other content. PrimeFaces provides <p:toolbar> component to create toolbar in JSF application. It is useful to create tool based web application. For more information Click here. |
39) How to implement PrimeFaces confirm component in JSF (JavaServer Faces)?
It is an advanced version of JavaScript confirmation box. It includes various features like: skinning, customization and avoiding pop up blockers. It is used to create a confirmation dialog box to get user response.
For more information Click here.
It is an advanced version of JavaScript confirmation box. It includes various features like: skinning, customization and avoiding pop up blockers. It is used to create a confirmation dialog box to get user response. For more information Click here. |
40) How to implement PrimeFaces dialog component in JSF (JavaServer Faces)?
It is a panel component which can overlay other elements on page. It is used to create a pop-up that can be used to display other elements too. It provides two methods show() and hide() to manage visibility of the component.
For more information Click here.
It is a panel component which can overlay other elements on page. It is used to create a pop-up that can be used to display other elements too. It provides two methods show() and hide() to manage visibility of the component. For more information Click here. |
41) How to implement PrimeFaces tooltip component in JSF (JavaServer Faces)?
It is a small pop-up box that displays information on the event. It is used to display message to the user when the user interact with the component. It includes various features like cutom effects, events and theme support.
For more information Click here.
It is a small pop-up box that displays information on the event. It is used to display message to the user when the user interact with the component. It includes various features like cutom effects, events and theme support. For more information Click here. |
42) How to implement PrimeFaces breadCrumb component in JSF (JavaServer Faces)?
It is a navigation component which is used to provide contextual information about page hierarchy. It show navigation information and allows to redirect to any page by clicking on the navigation link. The <p:breadCrumb> component is used to create navigation in JSF application.
For more information Click here.
It is a navigation component which is used to provide contextual information about page hierarchy. It show navigation information and allows to redirect to any page by clicking on the navigation link. The <p:breadCrumb> component is used to create navigation in JSF application. For more information Click here. |
43) How to implement PrimeFaces menubar component in JSF (JavaServer Faces)?
It is a horizontal navigation component which provides menus options. It is used to collect menus and display that in an organize row.
We can create menubar by using <p:menubar> component in JSF application.
For more information Click here.
It is a horizontal navigation component which provides menus options. It is used to collect menus and display that in an organize row. We can create menubar by using <p:menubar> component in JSF application. For more information Click here. |
44) How to implement PrimeFaces stack component in JSF (JavaServer Faces)?
This components is an indicator for the steps in a workflow. It indicates that at what step we are right now. It is used to show current step in multi-steps application.
The <p:steps> component is used to create steps indicator in the JSF application.
For more information Click here.
This components is an indicator for the steps in a workflow. It indicates that at what step we are right now. It is used to show current step in multi-steps application. The <p:steps> component is used to create steps indicator in the JSF application. For more information Click here. |
45) How to implement PrimeFaces steps component in JSF (JavaServer Faces)?
This components is an indicator for the steps in a workflow. It indicates that at what step we are right now. It is used to show current step in multi-steps application.
The <p:steps> component is used to create steps indicator in the JSF application.
For more information Click here.
This components is an indicator for the steps in a workflow. It indicates that at what step we are right now. It is used to show current step in multi-steps application. The <p:steps> component is used to create steps indicator in the JSF application. For more information Click here. |
46) How to implement PrimeFaces Areachart component in JSF (JavaServer Faces)?
It is a customized and advanced version of a LineChart where series are filled. It is used to represent statistical data graphically. The <p:chart> is a generic component to create chart in JSF application. We can set type of chart to specify the type of chart.
For more information Click here.
It is a customized and advanced version of a LineChart where series are filled. It is used to represent statistical data graphically. The <p:chart> is a generic component to create chart in JSF application. We can set type of chart to specify the type of chart. For more information Click here. |
47) How to implement PrimeFaces piechart component in JSF (JavaServer Faces)?
It is a type of graph in which a circle is divided into sectors and each sector represent some statistic. It is a way to represent statistical data graphically. The <p:chart> component is used to create chart.
For more information Click here.
It is a type of graph in which a circle is divided into sectors and each sector represent some statistic. It is a way to represent statistical data graphically. The <p:chart> component is used to create chart. For more information Click here. |
48) How to implement PrimeFaces growl component in JSF (JavaServer Faces)?
It is a notification widget which is used to display FacesMessages. It is similar to standard h:messages component of JSF. We can place growl to anywhere in our application's web page. The location of growl in JSF application does not matter.
For more information Click here.
It is a notification widget which is used to display FacesMessages. It is similar to standard h:messages component of JSF. We can place growl to anywhere in our application's web page. The location of growl in JSF application does not matter. For more information Click here. |
49) How to implement PrimeFaces fileUpload component in JSF (JavaServer Faces)?
It is an input component which is used to upload file to the server. It allows us to upload file from the browser to the server. It includes HTML5 features and has nice user interface with progress bar and other useful butttons.
For more information Click here.
It is an input component which is used to upload file to the server. It allows us to upload file from the browser to the server. It includes HTML5 features and has nice user interface with progress bar and other useful butttons. For more information Click here. |
50) How to implement PrimeFaces fileUpload component in JSF (JavaServer Faces)?
It is a process status indicator that can either work purely on client side or interact with server side using Ajax. It is used to show the status and progress of executing process.
For more information Click here.
It is a process status indicator that can either work purely on client side or interact with server side using Ajax. It is used to show the status and progress of executing process. For more information Click here. |
0 comments:
Post a Comment