PrimeFaces AutoComplete + Client Side API

primefaces-thumbnail

One of the robust things that could consider when you come for adapting the Primefaces implementation is the Client Side API, this API provides you a full functional facility to control the component that you want to use. AutoComplete isn’t an exception of this role, it’s also supported by a rich amount of services that […]

Primefaces BreadCrumb Example

primefaces-thumbnail

Primefaces provides different kinds of navigation components, one of among them is BreadCrumb, it’s one of the navigation component that provides contextual information about page hierarchy in the workflow. In that a steps are defined as child menuitem components in breadcrumb. By the way the creating of menuitems can be done from through one of the following way: […]

Primefaces AutoComplete + ItemTip Example

primefaces-thumbnail

AutoComplete primefaces component provides the developer a more powerful capability for adding a tool tip upon suggestions. Sometimes the developer want a more explanation about suggestions, something like descriptive text, images and so on. Primefaces provides additional facet for AutoComplete component, that facet has the name itemtip, Itemtip is an advanced built-in tooltip when mouse is over on suggested items. […]

PrimeFaces AutoComplete + AjaxBehavior Example

primefaces-thumbnail

Instead of waiting for user to submit the form manually to process the selected item, you can enable instant ajax selection by using the itemSelect ajax behavior. Let’s you consider the AutoComplete that gives you set of players to select one among of them, such that behavior can be ajaxified by eliminating the needs for submission. Read […]

PrimeFaces BlockUI + Client Side API Example

primefaces-thumbnail

BlockUI Primefaces component provides you the ability control the component from a pre defined Client Side API that could be invoked through using of JavaScript code. For enabling the call of client side API, you have to define the WidgetVar for the BlockUI component. 1. The View index.xhtml 2. Managed Bean BlockUI.java 3. Primefaces BlockUI + Client Side API Demo […]

PrimeFaces BlockUI Example

primefaces-thumbnail

Primefaces BlockUI component is used to block interactivity of JSF components with optional Ajax integration. BlockUI requires trigger and block attributes to be defined. With the special ajax integration, ajax requests whose source are the trigger components will block the UI onstart and unblock oncomplete. When you submit the request to the server, the page interaction will be blocked and can display the progress of the […]

PrimeFaces AutoComplete + POJO Example

primefaces-thumbnail

In my previous post, I have explained how to use Primefaces AutoComplete component in conjunction with completeMethod. But what if the user has decided to use a Plain Old Java Object (POJO) instead of using simple strings object as most of time that case it happens. Using a domain objects within autoComplete isn’t trivial as it contains some additional […]

PrimeFaces AutoComplete + completeMethod Example

primefaces-thumbnail

Primefaces provides incredible amount of new components that adhered the different aspect of Ajax. One of the component AutoComplete is most widely used with the web applications. That component is AutoComplete which is a core primefaces component used for providing the user prompt suggestions while the input is being typed into the input box. This […]

Primefaces AjaxStatus Example

primefaces-thumbnail

AjaxStatus is a global notifier for ajax requests, it uses facets to represent the request status. Most common used facets are start and complete. Start facet will be visible once the ajax request begins and stay until it’s completed. Once the ajax response is received and page is updated, start facet gets hidden and complete facet shows […]

PrimeFaces AjaxBehavior Example

primefaces-thumbnail

AjaxBehavior is an extension to standard of f:ajax. As already mentioned at the JavaServer Faces 2 Tutorial, different components have used the f:ajax for ajaxifying the component’s behavior. If you’ve looked into section  JSF and AJAX in the JSF 2 tutorials post, you’ll find different components having attached f:ajax for ajaxiyfing purpose. Typically, AjaxBehavior act as […]

Close
Please support the site
By clicking any of these buttons you help our site to get better