Category: Java
-
How To Resize Uploaded Images Using Java
Edit: please read the better way here: Better way to Resize Images Using Java! ———————– I am building a Seam application which need to support users uploading images, and then the site displaying them. I wanted to resize big images into something reasonable (say 1024 or 800 px wide) and generate a thumbnail, and I…
-
Displaying and Rerendering a RichFaces ModalPanel from a commandLink
Let’s say that when a user clicks on something, perhaps selecting something from a DataTable or DataGrid, you want to call some server side code, and then popup a modal panel which needs to show content based on the new state setup by your server side call. In my case I have a DataGrid showing…
-
How to get RichFaces to not crash Safari
RichFaces, a collection of open source JSF Components for building “rich” AJAXy interfaces, unfortunately makes Safari crash or hang or lock up with many of it’s components. I’m not the one who figured this out, but I wanted to document it here. You can solve this the same way you solve the JSF/Google Ad issue:…
-
ATG Project Templates and Open Source Modules
I have just added a new page to my site: ATG Technologies This page currently has ATG Project templates, with ant build files, for ATG 7.1 and ATG 2006.3 and 2007.1 available for download. It also has a collection of small handy ATG Modules which I have created and released as open source, using the…
-
Oracle PL/SQL Loop to Update Fields with Periodic Commits
Have you ever had one of those moments where you’ve just completed importing 1.7 million user records from flat files into an normalized set of ATG Personalization tables, plus some custom tables, and you only then realize that the passwords from the old system, while in the compatible md5sum format, are all UPPERCASE, while ATG…
-
ATG Cache Header Control Module
Many ATG application server static content, or semi-static content, from within the ATG application’s .war file. It is often much simpler to package CSS, JavaScript, Flash, Images, and other files in your web application than to try to manage them separately and deploy correctly in development and production instances. It is often desirable to set…