m_hammel Posted July 13, 2011 Share Posted July 13, 2011 Hi,I'm woring with jasperreports 3.7.5I'm trying to use a custom FormatFactoy implementation to handle the case of an empty string representation ( "" ) of the xml data for a date field. I implemented a class implementing FormatFactory which should handle that. My jrxml looks like this at my JRXMLDatsource I setted the source format patterns like this and of course handing over a instance of my FormatFactory Everything works fine here if the datasource xml do not contain "" values for a date field. But if that happens I got the exception If I debug the method calls for my custom FormatFactory implementation I recognize that both methods are not being called until running on the exception. Thus I assume that jasper is using the default FormatFactory by any reason.What do I wrong here? Do somebody have an idea about that? Thanks in advance Link to comment Share on other sites More sharing options...
thangalin Posted April 25, 2016 Share Posted April 25, 2016 See: http://community.jaspersoft.com/questions/992316/canonical-step-step-guide-global-date-format-jaspersoft-studio-6x Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now