PrimeFaces Form Controls
January 23, 2011 14 Comments
One of the new features of PrimeFaces is the extended versions of the standard form controls, we’ve planned to introduce these in two versions. inputText and inputTextarea are introduced in 2.2 final, dropdowns, radios and checkboxes will be in 3.0. PrimeFaces form controls extend their standard counterparts most notably with theme integration, following screenshot shows these with two of our themes.
New InputTextarea component also has autoResize feature, when you type the field and exceed the allocated space, instead of displaying scrollbars, textarea will grow with animation. In addition to inputText and textarea, we’ve also styled all PrimeFaces components that render an input text, these include autocomplete, keyboard, spinner, password, inputmask and popup calendar.
Using a styled input control has two main advantages, first your app will look same across browsers and different operating systems and second it will look awesome🙂
PrimeFaces 3.0 Controls
In 3.0 we’ll introduce our styled version of selectOneMenu, selectManyCheckbox and selectOneRadio. Following is the screenshot of initial prototyping.
Always bet on PrimeFaces!