September 14th, 2009 by Lincoln Baxter III

JSF2: How to add the magic of EL (EL2) to JSF

Ever wonder why you can’t pass parameters to EL method-expressions? Well, now you can, and it’s easy to incorporate!

September 14th, 2009 by Lincoln Baxter III

JSF’s <h:dataTable> vs <ui:repeat> – How to get the selected row.

So, a little while ago I was attempting to use JSF’s Facelets <ui:repeat> tag, as a replacement for <h:dataTable>, but difficulty came when I needed to process actions on individual records of each row. <ui:repeat> allows iteration over a List of Array[] of items, but it does not provide a method of discovering the “selected” or “actioned” row; there’s no way to discover the row the user is interacting with. Or is there?
September 10th, 2009 by Lincoln Baxter III

JSF2: How to Create a Global Ajax Status Indicator

So, one of the best ways I know of to tell a user that they should be waiting for something to finish, is by setting the cursor to ‘wait’. It’s how desktop applications do it. It’s how the operating system does it… it’s how ajax should probably do it (if you want to solve the user wait interaction globally.) With JSF2, it’s easy to accomplish!
August 30th, 2009 by Lincoln Baxter III

Calling All PrettyFaces Users!

Are you using PrettyFaces on a project you can share about?

Looking for real-world experiences:
  • How has PrettyFaces helped you or your team?
  • What would you change if you could (you can)?
  • If you would like to share, show us your work of art!
Email to: lincoln@ocpsoft.com Thank you! PS – In addition: If you’d like to be added to our new “People using PrettyFaces” page, also send a logo and a short description of your product or company!
August 24th, 2009 by Lincoln Baxter III

PrettyFaces JSF1.1 UrlRewriting Support – Released

PrettyFaces:

A new version of PrettyFaces for JSF1.1 (historical support) is now available for download. This version is feature-complete, but we are looking for feedback on compatibility and functionality that may be broken with various implementations, so please post comments!
July 24th, 2009 by Lincoln Baxter III

Please! Tell your developers to call facesContext.release()

If you are manipulating any FacesContext when doing any kind of Sevlet Forwards – such as from a filter – you MUST release() any FacesContext you’ve created. The consequences of forgetting this are potentially dire.
July 23rd, 2009 by Lincoln Baxter III

Spring Security – What happens after /you/ log in?

So you’ve got Spring Security up and running. Great! Now you’ve got a login page, and you just added a form on the global page menu to allow users to Login from any public page. There’s just one problem. When they log-in from a public page, they’re redirected to the default-login-url! Your users will have to re-navigate to the page they were already viewing when they logged in, or maybe they’ll just use the much dreaded “Back” button. That’s not a good interaction, but we have a solution.
June 29th, 2009 by Lincoln Baxter III

Exposing subfolders under a WordPress installation

So, this is going to be a short-relatively non-technical post, but having just run into the problem of exposing a subdirectory when WordPress is installed into the root directory of a typical DreamHost or GoDaddy style account, I found the need, so here’s the answer if anyone else needs it.
June 13th, 2009 by Lincoln Baxter III

PrettyFaces 1.2.4_GA and 2.0.1_GA Released

PrettyFaces:

New versions of PrettyFaces for JSF1.2 and JSF2.0 are now available for download:
May 19th, 2009 by Lincoln Baxter III

Facelets vs. JSF2 & EzComp

Several things that make life painful with Facelets are fixed with JSF2 & EzComp. Take a look at some of the nicer things to come: