Hi,
I'm doing a bit of investigation on how I can integrate Seam into an existing application framework to solve some issues. I encountered an issue when using managed bean name defined in faces-config.xml that contain a $
character. Defining a simple request scoped bean in faces config and attempting to get a reference to it via xhtml markup or within code via ValueBinding results in a null object reference.
This only happens when I introduce Seam into the equation.
I'm using Seam 1.2.1.GA, Trinidad 1.0.7, MyFaces 1.1.4 running on WebSphere 6.1.0.17.
This is not an ideal stack but I am constrained in this area.
Any help would be much appreciated.
It appears that in the 1.2.1 code base there is a SeamVariableResolver configured that replaces $
with .
. Does anyone know what feature this provides? There is no SeamVariableResolver in the 2.0 code base.
name = name.replace('$', '.');