The interceptor for the JSF Renderer

Jerry allows you to intercept (define a before and after callback) the main Renderer methods like decode, encodeBegin, encodeChildren, encodeEnd and getConvertedValue.

License

License

Categories

Categories

Jakarta Server Faces Jakarta EE The Web Tier
GroupId

GroupId

be.atbash.ee.jsf
ArtifactId

ArtifactId

jerry
Last Version

Last Version

0.9.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

The interceptor for the JSF Renderer
Jerry allows you to intercept (define a before and after callback) the main Renderer methods like decode, encodeBegin, encodeChildren, encodeEnd and getConvertedValue.
Project URL

Project URL

https://github.com/atbashEE/jsf-renderer-extensions
Project Organization

Project Organization

Atbash
Source Code Management

Source Code Management

http://github.com/atbashEE/jsf-renderer-extensions/tree/master/jerry

Download jerry

How to add to project

<!-- https://jarcasting.com/artifacts/be.atbash.ee.jsf/jerry/ -->
<dependency>
    <groupId>be.atbash.ee.jsf</groupId>
    <artifactId>jerry</artifactId>
    <version>0.9.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/be.atbash.ee.jsf/jerry/
implementation 'be.atbash.ee.jsf:jerry:0.9.0.3'
// https://jarcasting.com/artifacts/be.atbash.ee.jsf/jerry/
implementation ("be.atbash.ee.jsf:jerry:0.9.0.3")
'be.atbash.ee.jsf:jerry:jar:0.9.0.3'
<dependency org="be.atbash.ee.jsf" name="jerry" rev="0.9.0.3">
  <artifact name="jerry" type="jar" />
</dependency>
@Grapes(
@Grab(group='be.atbash.ee.jsf', module='jerry', version='0.9.0.3')
)
libraryDependencies += "be.atbash.ee.jsf" % "jerry" % "0.9.0.3"
[be.atbash.ee.jsf/jerry "0.9.0.3"]

Dependencies

compile (4)

Group / Artifact Type Version
be.atbash.config : atbash-config jar 0.9.3
be.atbash.utils : utils-jsf jar 0.9.3.1
be.atbash.utils : utils-se jar 0.9.3.1
be.atbash.utils : utils-cdi jar 0.9.3.1

provided (2)

Group / Artifact Type Version
com.sun.faces : jsf-api jar 2.2.15
javax.enterprise : cdi-api jar 1.1

test (6)

Group / Artifact Type Version
be.atbash.config : atbash-config-test jar 0.9.3
junit : junit jar 4.11
org.mockito : mockito-core jar 1.9.5
be.atbash.utils : utils-se jar 0.9.3.1
be.atbash.utils : utils-cdi jar 0.9.3.1
org.assertj : assertj-core jar 1.7.0

Project Modules

There are no modules declared in this project.

License Build Status

Jerry : Maven Central Valerie : Maven Central

jsf-renderer-extensions

Extensions on the JSF renderer to have security and advanced validation.

  • Targeted at Java EE 7 / 8
  • Centered around CDI
  • Based on concepts of MyFaces ExtVal

Compiled for Java 1.7.

Release Notes

This 0.9 release contains some changes which aren't backwards compatible.

  1. Package names are changed, in general from be.rubus.web. to be.atbash.ee.jsf.

  2. Since it is targeted as Java EE 7+, it makes use of the CDI.select construct and no longer the BeanManagerProvider and BeanProvider classes which where copied from the Apache DeltaSpike project. So these are no longer available when used in your own application code. Alternatives are

  • CDI.select().getBeanManager() to have access to the bean manager.
  • CDIUtils class to retrieve individual beans or all implementations of a certain interface.

The usage of BeanManagerFake within test classes is unchanged.

  1. The logging of the configuration is moved from the Jerry project to the Atbash Config project.

  2. Jerry configuration is now using the Atbash Config project reading parameters from jerry base name configuration files. So no need to create a @Specialized CDI bean of class JerryConfigurator.

If you have an application based on Jerry and/or Valerie 0.4.1, you can use the Atbash Migrator to help it migrate https://github.com/atbashEE/Atbash_Migrator

be.atbash.ee.jsf

Atbash

Versions

Version
0.9.0.3
0.9.0.2
0.9.0.1
0.9.0