I am new to ATG Framework. In the ATG Programming guide its explained that the serviceParameter() and serviceLocalParameter() are used to display the Open parameters.
And both parameters set by these 2 are visible in the droplet tag only.
What is the difference between the 2 methods. Please explain.
Thanks in advance.
I believe this answer on the Oracle Discussion Forums answers it the best.
The difference lies in the scope of the visibility of the parameter inside the droplet tags, in particular if you have nested droplets.
It is further recommended that you use
setLocalParameter
and if you need to pass the parameter to other sections of the page, use theEL
to do so.