BA#009 - When should a droplet be non-global in ATG?

In case you want to refer to a session or request scoped component [e.g. Order or Profile are session-scoped component] from your droplet, in that case, you have to change your droplet scope to the required scope.
However, a better approach would be to pass the [orderId or profileId] to the droplet from JSP and then write droplet code according to that. If passing parameters is not an option for you, scope has to be changed to session.

Asked By: HCL, Wipro

Other ATG Questions (General Topics):-

No comments:

Post a Comment


Get All The Latest Updates Delivered Straight Into Your Inbox For Free!