Try

<#assign globalContext.facilityId="4"/>

It might be a scope issue where higher-level artifacts can't see variables declared in lower-level artifacts. All artifacts can see the global context.

-Adrian

On 5/19/2010 1: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?

Reply via email to