Posts Tagged ‘Facelets

Shows how to use html entities in a JSF 2 Facelets Composite Component

In this post you will learn how to match complex urls with regular expressions and PrettyFaces in JSF2 Web Applications.

The Spring Security Facelets/JSF 2.0 Taglib got released in version 0.3. CHANGES: Replaced roles.isEmpty() with roles.equals(“”) to allow usage with Java 5 Adopted taglib for usage with Spring 3/Spring Security 3 final removed faces-config.xml in taglibs for jsf 1.2 as it prevented deploying in some scenarios Fetch it from the Project Homepage

Facelets Taglib for JSF2 and Servlet 3.0

As Lincoln Baxter posted recently in the PrettyFaces-Blog, the upcomming PrettyFaces 2.0.3 will include support for JSF-Validators within PrettyFaces, allowing to reuse the already existing Validators infrastructure for Pretty URL Mapping (SEO Stuff etc.) Nice one Lincoln!

he team from Sun/the JSF Expert Group released a page showing what you need to add to your pom.xml to include jsf-2 in your maven project. Taken from https://javaserverfaces.dev.java.net/maven2, the required parts are: If you use Glassfish v3 or higher: 1 2 3 4 5 6 <dependency> <groupId>javax.faces</groupId> <artifactId>jsf-api</artifactId> <version>2.0</version> <scope>provided</scope> </dependency><dependency> <groupId>javax.faces</groupId> <artifactId>jsf-api</artifactId> <version>2.0</version> […]

Martin Ahrer, one of Austrians JSF geniuses shows a way how to integrate PrimeFaces ToolTip component with conditional rendering, only when validation errors occurred. Although I would have chosen a different approach (mainly extending the already existent h:message tag), Martins way works quite nice. Thanks Martin!


top