Skip to main content

Manfred Riem

I love working with a broad range of technologies. At work it is mostly JavaEE and JavaSE technologies, as a hobby I do some Java on devices.

 

mriem's blog

JSF 2.3 allow CDI to handle #{application}

Posted by mriem on October 27, 2014 at 1:04 PM PDT

Nothing really fancy, but #{application} EL resolving is now done using a 2.3 CDI producer.

Note there won't be @Inject support for this as it is not referring to a specific typed artifact.

Enjoy!

JSF 2.3 changes

Posted by mriem on October 23, 2014 at 10:30 AM PDT

While it looks like not a whole lot has been going on issue wise some additional work not covered by specification issues has be done

a) Javadoc cleanup for JavaSE 8
b) Apply diamond operator to sources

And the following specification issues were handled:

#1254 - contracts attribute too restrictive.
#1328 - Let CDI handle #{session} EL resolving

And the MVC specification project is public

Posted by mriem on October 21, 2014 at 4:29 AM PDT

And the MVC specification project is now public at http://mvc-spec.java.net/ so we are on the way!

Enjoy!

JSF Tip #63 - Another way to override a renderer

Posted by mriem on October 16, 2014 at 10:31 PM PDT

In JSF Tip #32 - Override a JSF Renderer and JSF Tip #34 - Override JSF renderer and create a new tag for it we have described ways to override a renderer.

JSF 2.3 changes

Posted by mriem on October 16, 2014 at 12:47 AM PDT

A quick run down on the issues fixed since last time

#1325 - Let CDI handle #{applicationScope}
#1311 - Let CDI handle #{facesContext} EL resolving
#1323 - Support @Inject for the applicationMap
#1322 - Simplify #{externalContext} to use ExternalContextProducer
#1309 - Support @Inject for ExternalContext
#527 - Support @Inject for FacesContext

JSF 2.3 Injecting the application map

Posted by mriem on October 15, 2014 at 12:39 PM PDT

Another CDI alignment issue done

In code

@ApplicationMap
@Inject
Map applicationMap;

In words you can now inject the application map for use in your CDI managed bean.

Enjoy!

JSF 2.3 @Inject ExternalContext

Posted by mriem on October 13, 2014 at 10:22 PM PDT

Starting from the new 2.3 SNAPSHOT builds you can now do

@Inject ExternalContext externalContext;

Note you will need to make sure you use the latest 2.3 SNAPSHOT build and that you include a faces-config.xml that states version 2.3.

Enjoy!

JSF 2.3 @Inject FacesContext

Posted by mriem on October 10, 2014 at 6:40 AM PDT

Starting from the new 2.3 SNAPSHOT builds you can now do

 @Inject FacesContext facesContext;

Note you will need to make sure you use the latest 2.3 SNAPSHOT build available from https://maven.java.net/content/repositories/snapshots/org/glassfish/java... and that you include a faces-config.xml that states version 2.3.

JSF 2.3 changes so far

Posted by mriem on October 9, 2014 at 6:17 AM PDT

A number of spec issues have been handled for the 2.3 cycle and I would like to call them out. Note today's list is going to be a bit longer than going forward. I intend to write up a small blog entry every week enumerating what happened that week, so we all can keep track of where we are at.

The issues handled are:

#1307 - validator attributes TLD doc misleading

MVC expert group members, batch 1 done!

Posted by mriem on October 7, 2014 at 7:21 AM PDT

The first batch of MVC expert group members have been determined. For the ones that were added to the EG, welcome aboard! For the ones that were declined, please be aware there are multiple ways to stay involved with the MVC specification, so please don't despair!