]
Tan Pham Dinh resolved GTNPORTAL-560.
-------------------------------------
Resolution: Done
Create an Upload MutiValued filed
---------------------------------
Key: GTNPORTAL-560
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-560
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-Beta05
Reporter: Tan Pham Dinh
Assignee: Tan Pham Dinh
Fix For: 3.0.0-CR01
In org.exoplatform.webui.form.UIFormMultiValueInputSet.createUIFormInput
Object [] params = new Object[classes.length];
params[0] = getId()+String.valueOf(idx);
UIFormInputBase inputBase = (UIFormInputBase)constructor_.newInstance(params);
But , what if the constructor have an "int" parameter (which is the case for
"UIFormUploadInput(String name, String bindingExpression, int limit)" ), this
code couldn't convert null value to int (the unboxing mechanism will throws an
exception IllegalArgumentException)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: