Saturday, September 08, 2012

JSF 2.1 Tip of the Day: Using <f:ajax/> to Update Element Outside A Form

A JSF forum question was asked on how to update a JSF element outside of a <h:form/> element. This is one solution using <f:ajax/>.

Example

JSF Tip of the Day: JavaScript Execute a Button Once

I saw this question on a NetBeans forum from a new developer.

"How do you disable a button on a page after one click?"
I figured since I was going to answer the question anyway, I would publish a quick example of one way to do it.
        

JSF 2.1 Tip of the Day: PrimeFaces 3.4 Advanced Table Example with JPA

PrimeFaces 3.4 Data Table
I was working on an example table to demonstrate some of the PrimeFaces data table capabilities. I think I may use it as an interview problem: "Create an advanced table with the layout seen in this picture using JPA".

The example was developed using Maven on NetBeans 7.2. The source code can be downloaded from here: advanced-table.zip.

Index.xhtml


Popular Posts