[
https://issues.jboss.org/browse/SEAMSERVLET-15?page=com.atlassian.jira.pl...
]
Dan Allen commented on SEAMSERVLET-15:
--------------------------------------
Enum was simple. That already has a valueOf method.
java.sql.Date and java.sql.Time already have valueOf, so they work already.
Date and Calendar are tricky because it requires a format. I'm going to close this w/
basic support, then see if we can improve on it either by integrating w/ Seam
International, or allowing the use of a format pattern annotation at the injection point.
conversions for Date, Time, Calendar and Enum in HTTP state
producers
---------------------------------------------------------------------
Key: SEAMSERVLET-15
URL:
https://issues.jboss.org/browse/SEAMSERVLET-15
Project: Seam Servlet
Issue Type: Feature Request
Components: Producers
Affects Versions: 3.0.0.Alpha1
Reporter: Dan Allen
Fix For: 3.0.0.Alpha3
@RequestParam, @HeaderParam and @CookieParam currently only support conversation if the
type has a valueOf method. To align with JAX-RS, also support conversion for the following
types:
- Date
- Time
- Calendar
- Enum
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira