JSF 2 with primefaces and omnifaces

Jsf 2 provides extendable for its ui components. Personally, have tried omnifaces and primefaces ui frameworks. Omnifaces provides mostly functionality instead of ui components. For example java.util, user doesn't need to recreate new beans in order to display like time date now from the server. if omnifaces is installed just need to use EL #{now}. On the other hand, Primefaces provides ui support. It comes handy when need to display data. For instead, data table display. It provides lots of way in displaying the data table. Just need to apply the xml namespace. xlms p:http://primefaces.org/ui.

installation of omnifaces:
- download omnifaces.jar and weld jar
- include in the build path if using eclipse, otherwise just drop in web-inf library folder in tomcat
- according to the installation guide requires user to add beans.xml in web-inf but i didn't but still able to access via the EL on the webpages. think this applies when need to use the bean.*

installation of primefaces:
- download primefaces.jar and theme.jar
- include in build path in eclipse or drop in web-inf library folder.
- edit web.xml in web-inf folder to add the context param  to use the theme.

Comments

Popular posts from this blog

CPU locks at 700Mhz

Set navigation drawer selected item from Fragment