Hello,
I have a problem with date attributes in list views. attributes date & dateTimePattern are undefined, if I create a new project with a simple entity and a date field, it's works but in my main project it fails.
My Java class :
list.jspx :Code:@Column(name = "LAST_CONNECTION") @Temporal(TemporalType.TIMESTAMP) @DateTimeFormat(style = "S-") private Date last_connection;
errors :Code:<?xml version="1.0" encoding="UTF-8" standalone="no"?> <div xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" xmlns:table="urn:jsptagdir:/WEB-INF/tags/form/fields" version="2.0"> <jsp:directive.page contentType="text/html;charset=UTF-8"/> <jsp:output omit-xml-declaration="yes"/> <page:list id="pl_com_francetelecom_roo_karmaihm_domain_okarmafr_Device" items="${devices}" z="mgzYzlw+QCmmNi8mU60FEZbSa54="> <table:table data="${devices}" id="l_com_francetelecom_roo_karmaihm_domain_okarmafr_Device" path="/devices" typeIdFieldName="DEVICE_ID" z="p0iPhRg4LwVsJN3f+p4GSt5Tp8w="> <table:column id="c_com_francetelecom_roo_karmaihm_domain_okarmafr_Device_macAddress" property="macAddress" z="c4qfWOoADeFiBa124HzWflKH0MA="/> <table:column id="c_com_francetelecom_roo_karmaihm_domain_okarmafr_Device_serial_number" property="serial_number" z="afhdKLIZ0im8kYxDsyOJ5rQjix0="/> <table:column id="c_com_francetelecom_roo_karmaihm_domain_okarmafr_Device_FIRMWARE_ID" property="FIRMWARE_ID" z="o5sEPDowcGwr/2whIr4CSd1Fzl8="/> <table:column id="c_com_francetelecom_roo_karmaihm_domain_okarmafr_Device_HARDWARE_ID" property="HARDWARE_ID" z="0DfdmLLISQSoAWEjtJxGw/lsaL4="/> <table:column id="c_com_francetelecom_roo_karmaihm_domain_okarmafr_Device_CUSTOMER_ID" property="CUSTOMER_ID" z="1eZk/5Es3qKeWZadwsn6WTOhljA="/> <table:column date="true" dateTimePattern="${device_last_connection_date_format}" id="c_com_francetelecom_roo_karmaihm_domain_okarmafr_Device_last_connection" property="last_connection" z="Dhs5XDz333pK3YjlmZAVniutabE="/> </table:table> </page:list> </div>
warnings :Code:GRAVE: "Servlet.service()" pour la servlet jsp a lancé une exception org.apache.jasper.JasperException: /WEB-INF/views/devices/list.jspx(12,230) L'attribut dateTimePattern est incorrect pour le tag column d'après la TLD indiquée
Code:Multiple annotations found at this line: - Line breakpoint:list.jspx [line: 12] - Undefined attribute name "date" - Undefined attribute name "dateTimePattern"


Reply With Quote
