Hello All,
I have an issue that is related to:
https://issues.apache.org/jira/browse/MYFACES-1890 I'd like to talk this
over with the community and see if we can reach a solution. I've posted to
the JIRA issue but I'm suspecting that no one saw it as I did not get any
responses. As such I figured the dev list would be the best route.
To summarize:
I've run into an issue where the fix in MyFaces-1890 does not work.
When dealing with a composite component:
valueBinding.getType(facesContext.getElContext());
returns java.lang.Object since the MapELResolver.getType returns
Object.class in accordance with the EL Spec, the JavaDoc can be found here:
http://java.sun.com/javaee/5/docs/api/javax/el/MapELResolver.html
The fix was made in the following JIRA issue for the TomCat EL:
https://issues.apache.org/bugzilla/show_bug.cgi?id=51177
So in the case of a composite components the MyFaces Implementation still
has an issue. I just wanted to make a note on this issue, I can open
another JIRA issue if needed.
Could a context parameter be added to set df.setParseBigDecimal(true); so
that we can avoid the problem faced here? I think the only reason this was
not made the default behavior was to keep some samples from failing or
existing applications that depend on the behavior from failing.
I'm willing to create,test and contribute the fix. Please let me know what
your thoughts are on this issue.
Thanks in advance!
Regards,
Paul Nicolucci
__________________
IBM - WEB Components
JSF&JSP FVT
JSF MyFaces/JSP L3