This content has been marked as final.
Show 4 replies
-
1. Re: Seam3 or CDI equivalent for org.jboss.seam.core.Interpolator
iphands Jul 23, 2011 6:01 PM (in response to iphands) -
2. Re: Seam3 or CDI equivalent for org.jboss.seam.core.Interpolator
iphands Jul 24, 2011 4:13 PM (in response to iphands)I tried to implement the interpolator from Seam2 (http://anonsvn.jboss.org/repos/seam/branches/community/Seam22/src/main/org/jboss/seam/core/Interpolator.java) in my project, but I am having some issues.
public String getTestString() { String expression = "#{messages['nav.knowledge.docs']}"; String value = expressions.evaluateValueExpression(expression, String.class); return value; }
Caused by: java.lang.NullPointerException at com.sun.faces.el.FacesResourceBundleELResolver.getValue(FacesResourceBundleELResolver.java:81) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4] at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4] at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) [jsf-impl-2.0.4-b09-jbossorg-4.jar:2.0.4-b09-jbossorg-4] at org.jboss.seam.faces.el.FacesContextELResolver.getValue(FacesContextELResolver.java:39) [seam-faces-3.0.2.Final.jar:] at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) [jboss-el-api_2.2_spec-1.0.0.Final.jar:1.0.0.Final]
Anyone know why? Is this a bug?
The class I am using to test this is almost the same as the exmple http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/elextensions.html
-
3. Re: Seam3 or CDI equivalent for org.jboss.seam.core.Interpolator
iphands Jul 24, 2011 11:22 PM (in response to iphands)Opened jira https://issues.jboss.org/browse/SOLDER-111
-
4. Re: Seam3 or CDI equivalent for org.jboss.seam.core.Interpolator
rahul22 Jan 28, 2013 7:29 AM (in response to iphands)hi Ian,
I'm also looking to find Interpolator equilance class in seam 3 or CDI .
did you find any other solution then using Interpolator.java from seam 2 ???
as i can see , all the issues are still unresolved. so what workaround you followed ???
I'll be happy if you can share some information.
Thanks