On 16 sep, 15:06, Slava Lovkiy <[email protected]> wrote: > Hi, > > There is a number of discussions exist where people ask how they can > serialize dates without timezone. And most popular solution to this > problem is to replace the default implementation provided by > Date_CustomFieldSerializer class in gwt-servlet.jar (gwt-user.jar) > with modified version which ignores the timezone. This solution > requires recompilation of gwt jars which will result in producing your > own custom version of GWT library. > > With every new release of GWT, this date serialization fix has to be > applied again and again which is very painful and error-prone process. > > I wonder how many people had to go through this excise and implement > similar fix? > > I would like to propose a feature request to GWT team to allow custom > field serializer to be registered for the Date class via some sort of > configuration to replace the default implementation.
You don't have to "recompile GWT", just put your class earlier in the classpath and Java will use it instead of the one from gwt-user.jar Looks like the "sort of configuration" you're looking for ;-) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
