22014Dec

Solved : HTTP 302 – ATG Rest MVC Response

ATG REST MVC framework leverages existing Droplets, Form handlers and Components. As REST MVC uses the form handler in web service call, form handler internally redirects to either Success Url or Error Url. So due to this every time we invoke any actor that uses form handler always give HTTP 302 Moved Permanently because internal redirection happens on…

Read More
122014Nov

Solved : Unable to retrieve site definition for site id: /storeSiteUS

The most common error when we try to hit the CRS home page after installation is SEVERE [atg.endeca.assembler.multisite.ExtendedSiteManager] (http-/0.0.0.0:8080-1) Unable to retrieve site definition for site id: /storeSiteUS: com.endeca.store.exceptions.PathNotFoundException: No node found at path: [pages]. Causes for the above error are :- Baseline Indexing Make sure that your baseline indexing is completed for all components….

Read More
82014Nov

ATG Unplugged – Miscellaneous ATG Thread

Working on ATG ? Want to work on ATG ? Have knowledge of ATG ? Want to know ATG ? You have learned something new about ATG ? Want to learn new things about ATG ? If for any of above your answer is YES, then you land on the right place. So lets begin READ and WRITE. By…

Read More
212014Oct

Creating ATG Module From Scratch (without cim configuration)

Creating new atg project in eclipse is always a bummer for ATG beginners (was also for me). So here it is simply described how to create an ATG module from scratch. Prerequiste JDK7 ATG11.1 JBoss6+ Oracle 11G Eclipse With Installed ATG Plugin After getting all the required software installed open the eclispe and go with…

Read More
202014Oct

checkFormRedirect In ATG

checkFormRedirect() In ATG is : – method of GenericFormhandler class use to redirect to the SuccessURL if no form errors are found and to ErrorURL if form errors are found. also use to forward the request rather than redirect (based on userForwards parameter) internally use redirectOrForward method os same class. return true or false Use…

Read More
82014Oct

Repository API In ATG

Repository API In  ATG is : set of interfaces that are used for generic data access. use to manipulate repository items within Java code, including retrieving, creating, updating, deleting, and querying for items. provides generic data access calls that mask the underlying data store from the developer.(any database can be use as it convert the data…

Read More
242014Sep

Derived Property In ATG

Derived Property In ATG is a transient property (not associated with a column in a table) that: Derives its value from another property Can search through a series of properties to find a non-null value Specifies the derivation mechanism in the XML Repository Definition File by using a <derivation> tag Derived properties provide a way…

Read More
242014Sep

Creating Dynamic Success URL In FormHandler In ATG

Success URL In FormHandler in ATG Success URL in ATG is the URL used in formhandlers when we want to redirect the user after successful submission of form whether it is creating, updating or deleting a row. e.g . . <dsp:input type=”hidden” bean=”TestFormHandler.createSuccessURL” value=”succesurl.jsp” /> . . The above code will redirect the user to…

Read More
112014Sep

ATG Interview Questions

ATG Interview Questions For 1-2 Years Experience Explain Architecture of ATG. What is Nucleus ? What is Repository in ATG ? Which Formhandlers you have used in ATG ? How Droplet Work ? How will you define one to many relationship in repository. How you use MAP in one to many relation. Difference between item-type…

Read More
12014Sep

GenericFormHandler And RepositoryFormHandler in ATG

GenericFormHandler And RepositoryFormHandler Classes In ATG Both of these classes in ATG are used to create a custom form handler to deal with user input and repositories. But these two classes have different purposes in terms of creating new form handler. The difference is GenericFormHandler Custom form handlers should typically extend GenericFormHandler, which: Is a…

Read More