[richfaces-issues] [JBoss JIRA] Updated: (RF-10170) Improve Converter finding if EL expression is semi-resolvable
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Fri Jan 28 17:53:47 EST 2011
[ https://issues.jboss.org/browse/RF-10170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski updated RF-10170:
--------------------------------
Assignee: Nick Belaevski (was: Konstantin Mishin)
Fix Version/s: 4.0.0.CR2
(was: Future_4.X)
> Improve Converter finding if EL expression is semi-resolvable
> -------------------------------------------------------------
>
> Key: RF-10170
> URL: https://issues.jboss.org/browse/RF-10170
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: compatibility
> Affects Versions: Future_4.X
> Environment: RichFaces 4 svn rev. 20933
> Reporter: Martin Kočí
> Assignee: Nick Belaevski
> Fix For: 4.0.0.CR2
>
>
> example (#{bean.propertyNull} resolves to null):
> <h:inputText value="#{bean.propertyNull.zeitangabe}" /> outputs a input field
> <r:calendar value="#{bean.propertyNull.zeitangabe}" /> throws value="#{bean.propertyNull.zeitangabe}": Target Unreachable, 'propertyNull' returned null
> Problem is in org.richfaces.component.util.SelectUtils.findConverter: method tries to locate a Converter even if informations for this are "uknown".
> Simple solution can be: find converter only for ValueExpression which leads to not null value, because if no value for "value" ValueExpression :), then no conversion getAsString is necessary (at least is is true if spec does not mandates conversion for null value).
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list