How about to utilize this code?
<#if productIds?has_content>
<#list productIds as productId>
${setRequestAttribute("name1", value1)} <#-- assign value1-->
${setRequestAttribute("name2", value2)} <#-- assign value1-->
${setRequestAttribute("name3", value3)} <#-- assign value1-->
${screens.render("component://common/widget/CommonScreens.xml#AddProducerToFacility")}
</#list>
</#if>
Let me know if doesn't work.
Regards,
Soon-Won Park
On 5/19/2010 4:36 PM, Patrick wrote:
In my FTL file I call
${screens.render("component://common/widget/CommonScreens.xml#AddProducerToFacility")}
but I need the variable facilityId at that screen level. In my FTL I
tried this
<#assign parameters.facilityId="4"/>
<#assign context.facilityId="4"/>
and various other combinations. How can I pass a variable from an FTL
to a screen?