Salut,

Voilà le code de ma JSP qui foire:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
 
<dm:smartList name="searchBean.dg" height="1" form="SearchForm" tabIndex="1" style="comboBox9pt">
  <jsp:attribute name="selectedItem">
    <bean:write property="searchBean.dg" name="homeActionForm" scope="session" /> 
  </jsp:attribute>
  <jsp:attribute name="items">
    <bean:write property="allDgsDisplay" name="homeActionForm" scope="session" />
  </jsp:attribute>
</dm:smartList>
L'erreur intervient lorsqu'il tente de faire setItems avec la propriété allDgsDisplay.

Mon customTag dm:smartList défini:
ArrayList items

Et mon bean homeActionForm défini
ArrayList allDgsDisplay

Lorsque je debug ma jsp je break sur la ligne suivante:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
_jspx_th_dm_smartList_0.setItems((java.util.ArrayList)org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(java.util.ArrayList.class, "items", _jspx_temp1));
Le trace error est:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
StandardWrapperValve[action]: "Servlet.service()" pour la servlet action a généré une exception
org.apache.jasper.JasperException: jsp.error.beans.property.conversion
	at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:885)
	at org.apache.jsp.homePage_jsp._jspx_meth_dm_smartList_0(homePage_jsp.java:425)
	at org.apache.jsp.homePage_jsp._jspService(homePage_jsp.java:158)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
...
Le debug me dit que les paramètres passé à .getValueFromPropertyEditor sont tous bon!
La classe => ArrayList
La propriété => "items"
La valeur => un ensemble de données [ xxx, ddd, rrrr.....] en String
Cette méthode est censé renvoyer un Object du type spécifié, ici ArrayList...

Si vous avez une idée [/b]