Home » Tag Archives: JSF (page 2)

Tag Archives: JSF

PrimeFaces 5.0 DataTable Column Toggler

jsf-logo

I have had an opportunity to work a bit with the PrimeFaces 5.0 DataTable, and the enhancements are great.  Today, I wanted to show just one of the new features…the DataTable column toggler.  This feature enables one to choose which columns are displayed via a list of checkboxes. To use a column toggler, simply add a commandButton to display picklist ...

Read More »

Don’t repeat expressions in facelets

jsf-logo

Have you ever seen repeated EL expressions in JSF like this one?                     <h:inputText value="#{oneBean.name}" rendered="#{anotherBean.showPerson}"/> <h:inputText value="#{oneBean.birthday}" rendered="#{anotherBean.showPerson}"/> <h:selectOneMenu value="#{oneBean.children}" style="#{anotherBean.showPerson ? 'display:block' : 'display:none'}"/> usw. Another example: <ui:include src="/include/somesnippet.xhtml"> <ui:param name="age" value="#{someBean.isMan(person) ? 63 : 60}"/> <ui:param name="money" value="#{someBean.isMan(person) and someBean.getCountry(person) eq 'de' ? 1000 : 900}"/> <ui:param name="big" ...

Read More »

Building and Testing JSF.next

jsf-logo

The JSF 2.3 Expert Group is hard at work determining which features will be part of the upcoming release.  The JSF Team been working hard improving CDI alignment, among other things.  There are already a number of new features in the JSF 2.3 codebase that you can begin to test. I will attempt to keep this post updated with the ...

Read More »

Why you should avoid JSF

jsf-logo

For a long time JSF for me was just another webframework I didn’t cared too much about. This changed. After being forced to use it for a couple of months now, I consider it a major project risk in almost all cases. Here I present the reasons for this verdict. Bad entanglement of UI and processing Logic. The official tutorial ...

Read More »

WAI-ARIA support for AutoComplete widget

jsf-logo

In this post I would like to discuss the accessibility for an AutoComplete widget. A typically AutoComplete widget provides suggestions while you type into the field. On my current work I implemented an JSF component on basis of Twitter’s Typeahead – a flexible JavaScript library that provides a strong foundation for building robust typeaheads. The Typeahead widget has a solid ...

Read More »

Brand new JSF components in PrimeFaces Extensions

jsf-logo

The PrimeFaces Extensions team is glad to announce several new components for the upcoming 3.0.0 main release. Our new committer Francesco Strazzullo gave a “Turbo Boost” for the project and brought at least 6 JSF components which have been successfully intergrated! The current development state is deployet on OpenShift – please look the showcase Below is a short overview about ...

Read More »

The Java Origins of Angular JS: Angular vs JSF vs GWT

javascript-logo

A superheroic Javascript framework needs a good origin story. Let’s try to patch it together, while going over the use of Angular JS in the enterprise Java world and the Angular take on MVC. This post will go over the following topics, and end with an example:             The Java Origins of Angular JS Angular ...

Read More »

How to get JSON response from JSF?

jsf-logo

Many JavaScript widgets expect data and options in JSON format. Nowadays, it is really easy to choose a cool widget and wrap it in a composite component. But the first question is how to send an AJAX request and to recieve a response in a proper JSON format. This question is often raised by JSF users. All that you need ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close