When I was using displaytag to export to excel, one of my columns contained text which was being recognized as numeric (scientific notation). When googling for a possible solution, seems like a LOT of people have had this problem in various ways (displaytag or otherwise). Thanks to this webpage, my solution was to write the following column decorator:
I have not run into any issues with this approach yet. If you do, I would appreciate a comment back. Thanks again to the guy who posted the hint that I reference previously.
p.s. Someone also suggested that I prepend the text with a unicode non-breaking space (see code following). Visually, it has the desired effect but it also modifies the text in the field so I do not like the solution as well. I just offer that solution to those who might want to use it.
I strongly encourage Java client/server/web technologies.
However, scripting languages continue to have a significant place in the market. Will Java be replaced? or will they live happily together?
Subscribe to:
Post Comments (Atom)
VisualVM on Windows with SDKMAN
7/31/2024 - I have been using SDKMAN on Windows via Git Bash for some time now and truly like it. I did however come across an interesting...
-
So... this may not be completely advisable for a production environment, but if you are using this stack, here is a snippet to show you how ...
-
Problem : On a project using iBATIS, I was receiving the following stacktrace: stacktrace org.springframework.dao.TransientDataAcces...
No comments:
Post a Comment