"Simple Software"

OcpSoft

PrettyFaces v1.2.3_RC2 Released

March 31st, 2009 by Lincoln

PrettyFaces:

Version 1.2.3_RC2: binary, source, documentation (stable)
Minor Release: 20090331

  1. Servlet forwards are working
Subscribe to prettyfaces-users


Posted in PrettyFaces | No Comments »

PrettyFaces v1.2.3_RC1 Released

March 19th, 2009 by Lincoln

PrettyFaces:

Version 1.2.3_RC1: binary, source, documentation (stable)
Minor Release: 20090319

  1. Managed query-params now accept multiple parameters of the same name: E.g.: String[] names — would accept a list of parameters (with the same name) from the request
  2. Enhanced configuration loading — PrettyFaces now looks for /META-INF/pretty-config.xml by default, in addition to accepting a comma-separated list of user config-files in the web.xml init param: com.ocpsoft.pretty.CONFIG_FILES — submitted by Aleksei Valikov
  3. JSP support for standard attributes on the pretty:link tag has been fixed. The pretty link will now accept style=’mystyle’ and other attributes — from Derek Hollis at OcpSoft
Subscribe to prettyfaces-users


Posted in Releases | No Comments »

PrettyFaces v1.1.x, v1.2.x, v2.0.x Docs (legacy)

March 18th, 2009 by Lincoln

Configuration

Setting up PrettyFaces is simple.
Read the rest of this entry »

Posted in PrettyFaces | 7 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 »

JSF 2.0 Extension Development: Accessing FacesContext in a Filter

January 3rd, 2009 by Lincoln

The Problem:

So you need a way to instantiate the 2.0 FacesContext in a Filter, but when you use the same method that you have in the past, you get NullPointerExceptions all over the place when attempting to access any values through El. The ScopedAttributeElResolver bombs when attempting to set values or access methods in backing beans.) It’s not too hard to get this working again.
Read the rest of this entry »

Posted in JSF | 1 Comment »

PrettyFaces 1.2.0 Released

December 31st, 2008 by Lincoln

A new major release of the PrettyFaces JSF extension for Bookmarkable/Pretty URLs is now available for download.

Read the rest of this entry »

Posted in JSF, PrettyFaces, Releases | 1 Comment »

PrettyFaces 1.1.0 Released

December 8th, 2008 by Lincoln

A new release of the PrettyFaces JSF extension for Bookmarkable/Pretty URLs is now availible for download. This release includes several new features.
Read the rest of this entry »

Posted in JSF, OpenSource, PrettyFaces, Releases | 1 Comment »

Make JSF intuitive, with bookmarkable and pretty URLs

November 12th, 2008 by Lincoln

What makes Pretty URLs in JSF so hard, and so slow?

Speed up development, reduce bandwidth, enhance user experience. This article gives a brief overview of JSF navigation, some of the problems, and potentially how to solve them by enabling bookmarkable, pretty URLs. Put simply… in my view, out of the box, JSF is a web framework designed for web-applications, not designed for web-sites. PrettyFaces addresses most of these issues.

Target audience for this article:

  1. The reader is familiar with JSF navigation.
  2. The reader is attempting to create a JSF app with bookmarkable “pretty” URLs. E.g.: …/mysite/archives/2008/11/11/
  3. The reader is familiar with HTTP request/response at a basic level.

Read the rest of this entry »

Posted in JSF, OpenSource, Uncategorized | 16 Comments »

Acegi/Spring Security JSF Integration Project continued

October 16th, 2008 by Derek

We’ve gotten a good number of comments from Lincoln’s latest post on Spring Security and JSF.  A few comments have asked for further code samples on how to get this example working.

We created a runnable project for this example, and it can be downloaded here.

Read the rest of this entry »

Posted in JSF, Java, Spring | 6 Comments »

Acegi/Spring Security Integration – JSF Login Page

October 9th, 2008 by Lincoln

Tutorials – What a nightmare

Everyone seems to be going through hell to get a fully functional JSF login page working with Spring Security (formerly Acegi,) and yes, I did too, but there’s an EASY way to make this happen. And get this:

  • It takes just five clear and well written lines of Java code.

First, the solution. Afterwards, the dirty details. (Spring 2.5.2 was used for this example.)
You can find a downloadable working example here. There is also a followup article on post-authentication redirecting, here.

Read the rest of this entry »

Posted in JSF, Java | 58 Comments »

« Previous Entries Next Entries »

Search

Recent Posts

Recent Comments

OcpSoft Agile Management

Recent Tweets:

Posting tweet...

Sponsored By:

Resources

Meta