Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
20. Aug 2008, 15:43 CET | Link

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.

1 Reply:
21. Aug 2008, 10:38 CET | Link

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('$', '.');