How to pass parameters via dsp:iframe to the iframe

163 Views Asked by At

I want to pass <dsp:iframe> tag to the src jsp. As per ATG documentation I can use <dsp:param> tags to pass params and then use their value in the src of iframe. Can someone provide me with an example how this can be done?

Newbie in ATG

1

There are 1 best solutions below

0
On

Below is some sample code:

<dsp:iframe page="homepage.jsp">Go to your home page
     <dsp:param name="city" beanvalue="Profile.homeAddress.city"/>
</dsp:iframe>

The parameter is passed as any parameter is passed in ATG and can be retrieved in the same way any parameter is retrieved (assuming your iframe reference another JSP in your application. If the references an external page the parameter should be retrieved from the query string.

Not sure you have done any research as this is clearly defined in the oracle commerce help.