Top

Blog

PrimeFaces / Blog (Page 69)

First of all thanks to EMC Conchango for inviting me to their communit day sessions, my talk was titled as "Rapid RIA Development with PrimeFaces". You can find the slides of my presentation at PrimeFaces homepage documentation section. In october I'll be doing an updated version of this talk at London Java Web Users Group....

TouchFaces is a UI development kit to create IPhone web applications with JSF. TouchFaces is a member of PrimeFaces family and will be shipping with the UI module. Basically it allows developing applications using JSF with the native IPhone look and feel, plus it's powered by PrimeFaces UI infrastructure and Ajax is built-in. I'll also publish detailed articles soon but recently I've created a screencast as a getting started tutorial. Enjoy! Update: See sample iphone apps and mobile push...

Mac OS X's growl is an intuitive way to display messages from the system and other apps. So how can you bring this way of notification to web with JSF. It's as simple as; [sourcecode language="xml"] [/sourcecode] PrimeFaces Growl component simply replaces h:messages (lame) so growl is equipped with attributes such as showSummary, showDetail, globalOnly. Since growl displays FacesMessages severity information is provided with an icon that can be info, warn, error or fatal. You can even integrate growl with your ajax request,...

It's not secret that JSF is not the best testable web framework of all. When it comes to Unit Testing JSF backing(managed-bean) logic, the reason for this is quite obvious. At some point when programming the backend logic of your page, you need to use FacesContext to access FacesMessages, session or etc. So how this can be avoided? PrimeFaces Optimus features an IOC container built on top of Google Guice that goes beyond the capabilities of JSF's core...

I'm pleased to announced that new versions of two PrimeFaces subprojects are released. UI Components 0.9.2 and Optimus 0.8.0 binaries are available at Prime Maven repository and project's google code page. UI Components 0.9.2 UI Components 0.9.2 includes important performance updates, new components and improvements on Partial Page Rendering infrastructure. Significant changes of this release are as following. New component : Wizard New component : Layout Framework New component : Growl New component : Stack New component : Collector Every resource that is included...

Wizards, Conversations, Workflows in web development. Whatever you call it, it's not trivial to deal with these properly. PrimeFaces wizard component features an AJAX powered UI and built-in partial validation to implement a conversation in a single JSF page. In the following example there're 3 tabs corresponding to each steps of the flow and last tab is for confirmation. This is the userWizard bean, which is simply at viewScope to span multiple requests. Session scope will work...

From wikipedia, "Rich Internet Applications are web applications that have most of the characteristics of desktop applications."  Well I've tried to go a little bit beyond these characteristics and create a real mock desktop web application. It's called Mock OS X :) and created with PrimeFaces. Example is built with several PrimeFaces components such as dialog, dock, growl, menubar and so on. It's not very functional however sets a nice base example to start with. It took...

Star based ratings are common in content driven web applications and PrimeFaces provides an out of the box solution for this. Rating component allows users to submit a rating using stars and also with Ajax RateEvent it's possible to mark something just like in gmail where you mark an email with a star. Basic Usage [crayon-5903819d9129a929544115/] The output would be; Number of Stars By default 5 stars are displayed, this can be configured with the stars option. Ajax RateEvent and RateListener RateListeners are...

PrimeFaces 0.9.1 introduced a very handy component that forces an input to fit in a defined mask as input is being typed. Mask definition is generic so you can define any format you want. Following are just a couple of examples.   The output of this example would be; You can try the inputMask on the prime showcase application that's available online....