Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.3-SNAPSHOT
-
None
-
None
-
any
Description
When using forceIdIndexFormula which generates id as astring I'm receiving the following exception.
It happens if I have <f:convertNumber/> on same form. It should allow to use non numeric indexes too in case of forceIdIndexFormula.
I had to use this formula to compensate for missing generated Ids in master/detail table to combine master and detail IDs into single index value.
java.lang.NumberFormatException: For input string: "895o2397"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.jav
a:48)
at java.lang.Integer.parseInt(Integer.java:456)
at java.lang.Integer.valueOf(Integer.java:553)
at
org.apache.myfaces.component.html.ext.HtmlDataTable.findComponent(HtmlDa
taTable.java:143)
at
javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java
:426)
at
org.apache.myfaces.component.html.ext.HtmlDataTable.findComponent(HtmlDa
taTable.java:152)
at
javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java
:426)
at
javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java
:426)
at
javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java
:426)
at
org.apache.myfaces.renderkit.html.ext.HtmlMessageRenderer.findInputLabel
(HtmlMessageRenderer.java:158)