Say you have a problem with how a particular component renders and you want to do it a bit different. Well in JSF that is not a problem there is a hook-in that you can use to override how a renderer does it rendering. The sample below shows you how to do it.
You will have to do 2 things.
1. Register your own renderer for a given renderer type
2. Implement your own renderer.
First lets make sure...
JavaEE 7 and Glassfish 4.0 were released a little while ago.
What is in the future? Well, see the Aquarium blog for the latest Glassfish Roadmap.
And that is it.
If you started reading because of the title I got you! Anyway all jokes aside the JCP process is quite unique. It has been serving the purpose of the Java community for quite a while.
In the past people have complained that you could only file or influence JSRs if you were part of a big company. Well that has been a thing from the past. For a while now it is possible to join the JCP in different...
Tyrus 1.3 has been released, get more information here. Or download it from here.
Glassfish users should take all the Tyrus JAR files and replace them in the modules directory with the downloaded ones to get Tyrus 1.3 working in Glassfish.
And that is it.
See the release notes for what was fixed. If you want to download it, see this page for more information.
And now you can go stateless!
Whenever the JSF runtime needs to perform a conversion it uses a Converter to do so. As explained in previous blog entries you have the ability to implement your own Converter. But does that mean you need to implement it for simple conversions? No, you do not, the default JSF converters come to the rescue!
<b>Java Datatype</b> ...
The following blog articles are part of the JSF State Saving series
Introduction to JSF State Saving
The JSF State Saving APIs
The JSF StateHolder API
The JSF PartialStateHolder API
The StateHelper API
What does the JSF StateHelper API do?
The fourth article in the JSF State Saving series, which covers the PartialStateHolder API
The 3rd article in the JSF State Saving series, the StateHolder API
In the 2nd article in the JSF State Saving series an overview is given of the APIs available.
Read the first article in the series about JSF state saving
The following blog articles are part of the JSF Converter series
You have written your own JSF converter. How do you package it so you can redistribute it?
How do you write your own Converter?
How would you use the JSF DateTimeConverter?
How do you use the JSF NumberConverter?
See what the JSF Validator API is about!
If you are having a problem with your JPA queries and you are trying to understand what SQL queries it actually sends below the covers you can configure the JPA runtime to show the actual SQL statements it sends over. How? Well for EclipseLink you would add the following to your persistence.xml file.
<property name="eclipselink.logging.level" value="FINEST"/>...