[jboss-user] [JBoss Tools] - Re: Error setting a Date type parameter

Carlos Celis Osorio do-not-reply at jboss.com
Fri Aug 12 11:54:21 EDT 2011


Carlos Celis Osorio [http://community.jboss.org/people/cacelis] created the discussion

"Re: Error setting a Date type parameter"

To view the discussion, visit: http://community.jboss.org/message/620859#620859

--------------------------------------------------------------
The solution is put the next code at initiliaze() method of the report:


importPackage(Packages.java.text);
df = new SimpleDateFormat("yyyy/MM/dd");
params["FechaInicio"] = df.parse(params["FechaInicioString"]);
params["FechaFin"] = df.parse(params["FechaFinString"]);
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/620859#620859]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110812/f2198c35/attachment.html 


More information about the jboss-user mailing list