Tomek SzymaĆski just commited two new features to cdi-ext. The first is the ability to secure JSF pages when using the Nav component to handle navigation (more on it here). … Continue Reading →
Category Archives: jsf
Ruby on Rails + CDI? Why not! Enter TorqueBox + Weld
I guess many people are often “unsatisfied” with how JSF works and how much time it sometimes takes to do a simple thing. That’s why we are trying out a … Continue Reading →
Extending the security interceptor for Weld/JSF2
In my previous post, I described how to create a simple security interceptor, which checks conditions defined using EL expressions, e.g.: 1 2 @Secure("#{loggedInUser.name == arg0.name}") public List<Message> listMessages(User owner) … Continue Reading →
Simple security interceptor in Weld/JSF2
Waiting for the Seam3 security module, I wrote a simple security interceptor (inspired by the Seam2 security annotation). You can use it like this: 1 2 @Secure("#{loggedInUser.name == arg0.name}") public … Continue Reading →
JSF2 navigation: post->redirect->get
JSF2 improves a lot both how navigation can be done (you can now return a view id from an action method, no need to describe every navigation case in faces-config.xml) … Continue Reading →