
June 29th, 2009 by

Lincoln Baxter III
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.

December 8th, 2008 by

Lincoln Baxter III
A new release of the
PrettyFaces JSF extension for Bookmarkable/Pretty URLs is now availible for download. This release includes several new features.

November 12th, 2008 by

Lincoln Baxter III
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:
- The reader is familiar with JSF navigation.
- The reader is attempting to create a JSF app with bookmarkable “pretty” URLs. E.g.: …/mysite/archives/2008/11/11/
- The reader is familiar with HTTP request/response at a basic level.

September 9th, 2008 by

Lincoln Baxter III
Tutorial – Step By Step
If you’ve learned to use JSF Facelets to create on-the-fly, simple components using XHTML, then you probably have a whole slew of custom components that need to be copied between various projects, and can be somewhat painful to keep up to date. You may have tried to move them into a jar file, but Facelets can’t find them there (without some help from us.)
UPDATE – 09/15/2010: In JSF2, this process is no longer required. Simply use JSF2 relocatable resources: Any file placed under the /WebApp/resources directory, and any files placed in the jar:/META-INF/resources directories can be served directly using the JSF2 notation:
#{resource['ocpsoft-jsf2-templates/liquid-blue-2col:images/bodybg.jpg']} |
#{resource['ocpsoft-jsf2-templates/liquid-blue-2col:images/bodybg.jpg']}
Which targets the following resource:
[META-INF or WebContent]/resources/ocpsoft-jsf2-templates/liquid-blue-2col/images/bodybg.jpg |
[META-INF or WebContent]/resources/ocpsoft-jsf2-templates/liquid-blue-2col/images/bodybg.jpg

August 24th, 2008 by

Lincoln Baxter III
A4J:Form is missing several specified ajax functions
(
View this issue on the JBoss tracker here. Keep reading, there is a fix… download fix)
The issue:
When using the a4j:form component, the
data=”#{managedBean.property}” the properties defined in the
data element list are supposed to be available after the a4j event in the
data JavaScript variable; however, with <a4j:form> the attribute is not correctly causing the JavaScript
data variable to be populated.