I was glad to see that f:ajax
now have built in delay
support. Not so glad that it doesn't work though. There's a bug that makes it fail, seemingly caused by that the method recieving the specified delay expects a number and not a string.
Anyway, it will be fixed in version 2.2.4 but I have no idea how to get that version or if it's even possible before it's publicly released.
My question is if someone can explain how to get the nightly build of version 2.2.4 or if there's some workaround.
You can get the daily snapshot in flavor of loose library, sources and javadoc JAR files from here:
Just open the folder to see the JARs (currently, it's
2.2.4-SNAPSHOT/
). Please note that there's no singlejavax.faces.jar
flavor, you really need those two loose JAR files together.If you happen to use Maven, here are the repository and dependency coordinates:
(where you need to substitute the
X
with the desired sub-version yourself, which is currently thus4
)See also:
Update: as to upgrading GlassFish, in order to upgrade GlassFish 3/4 whereby the single
javax.faces.jar
is been replaced with the twojsf-api.jar
andjsf-impl.jar
files, don't forget to edit the/domains/[domainname]/config/default-web.xml
accordingly to replace the single JAR entry by the two JAR entries insystem-jar-includes
initialization parameter.An alternative is to bundle the JARs in webapp's
/WEB-INF/lib
and tell GlassFish to use webapp-bundled JSF instead of its own bundled JSF by adding the following lines to/WEB-INF/glassfish-web.xml
: