"Simple Software"

One year’s time

January 28th, 2010 by Derek

It is amazing what can be done in exactly one year’s time.  January 17th will have been the 2nd anniversary since Lincoln Baxter and I started OcpSoft.  It’s been one seriously fun, and wild, ride with JavaServer Faces and the open-source community.  I want to take a moment to talk about my partner’s success story and what he has accomplished in just one short year.

Read the rest of this entry »

Posted in JSF, JSF2, OCPSoft, OpenSource, PrettyFaces | 1 Comment »

JSF2 – Engaging the Community

December 2nd, 2009 by Lincoln

JSF2 is an amazing web-framework, and as part of our initiative to engage the community, Dan Allen, Andy Schwartz, Kito Mann, the rest of the Expert Group, and I have been putting together a “JSF Root Node” (as Ed Burns put it.) A website to be the first place people go to when they think of JSF.

Read the rest of this entry »

Posted in JSF, JSF2 | 15 Comments »

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

September 14th, 2009 by Lincoln

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?
Read the rest of this entry »

Posted in JSF | 6 Comments »

JSF2: How to Create a Global Ajax Status Indicator

September 10th, 2009 by Lincoln

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!
Read the rest of this entry »

Posted in JSF | 2 Comments »

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

July 24th, 2009 by Lincoln

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. Read the rest of this entry »

Posted in JSF | No Comments »

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

July 23rd, 2009 by Lincoln

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. Read the rest of this entry »

Posted in JSF, Spring | 12 Comments »

Facelets vs. JSF2 & EzComp

May 19th, 2009 by Lincoln

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

Read the rest of this entry »

Posted in JSF | 3 Comments »

Revisited – Acegi/Spring Security & JSF Login Page

April 27th, 2009 by Lincoln

A correction has been made to the post: http://ocpsoft.com/java/acegi-spring-security-jsf-login-page/, fixing an issue where FacesMessages were not being displayed on failed authentications.
Read the rest of this entry »

Posted in JSF, Spring | No Comments »

Un-Documented JSF: Reference

February 15th, 2009 by Lincoln

Add a comment with your experience or “gotcha!”

Java Server Faces is currently full of relatively undocumented features and behavior. As part of the JSF2 release, OcpSoft is working with a few folks at Seam/Redhat to try to address these issues and provide better documentation.
Read the rest of this entry »

Posted in JSF, Java | 27 Comments »

Java Server Faces 2.0 is in Good Hands

February 10th, 2009 by Lincoln

“The community was speaking, but until recently, nobody was listening.”

A lot has changed since May 15, 2001, when the first ballot review of the JSF 1.0 framework was just beginning. To this day, Sun’s flagship web-application framwork has been an uncompromising box of tricks and gotchas, with little community adoption. This has been mostly due to its relatively developer-unfriendly nature; however, the second phase is coming, and with JSF2.0 peeking out from the edge of its nest, a new life is beginning to show.

Read the rest of this entry »

Posted in JSF, Java | 5 Comments »

« Previous Entries

Search

Recent Posts

Recent Comments

OcpSoft Agile Management

Recent Tweets:

Posting tweet...

Sponsored By:

Resources

Meta