Tag: ATG
-
ATG Installation on OS X
While ATG runs fine on OS X, and while many people inside and outside of ATG use OS X as their primary operating system, the ATG installer STILL doesn’t work under OS X. It “mostly” works. It seems to work, it installs things, however if you try to do stuff, like patch, or like adding…
-
ATG Dynamo – back to basics
I worry that ATG has mis-focused it’s energy. In the last few years, ATG has introduced (or purchased) a number of new products which sit on the existing stack. Ticketing Features, Search, Merchandising, Campaign Optimizer, Knowledge, Self Service, Response Management, Commerce Service Center, Outreach, and Customer Intelligence). I haven’t had a chance to play with…
-
ATG Security
World-facing websites always have to be written carefully in order to prevent malicious attacks. There are tons of additional vulnerabilities and attack vectors which need to be addressed as well, but in this post I’m going to talk about the two most common: Cross Site Scripting (XSS) and SQL Injection. If you already know what…
-
Accessing nested Item properties within a RepositoryFormHandler programatically
If you have a RepositoryItem which has a collection of other RepositoryItems as a property, editing things on them via a single form and RepositoryFormHandler can pose some difficulties. For instance, you have an Item called Garage, and it has a List of Car RepositoryItems as a property named cars. If you are using a…
-
StringUtils in ATG Dynamo
A hidden gem in ATG Dynamo is the simple, but VERY useful, and totally undocumented StringUtils class. It lives in the atg.core.util package in DAS/lib/classes.jar. It has several methods, but the most commonly used are isEmpty(String) and isBlank(String). Both return a boolean, and are very useful for validating form input and the like. One thing…
-
ATG RSS Generator Droplet
I sat down a few hours ago to start a droplet which would generate an RSS feed based on data in an ATG Repository. Surprisingly, I think I’m done. Basically what it is is a droplet, which you put on an otherwise empty JSP page (it’s important that there is no whitespace on the JSP…