ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Le Roux <jacques.le.r...@les7arts.com>
Subject Re: How do I access the requestAttributes in the Form
Date Thu, 06 Feb 2014 11:27:03 GMT
IIRW try the context variable (like context.varName)
This might help you https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6553757
Note also globalcontext is available in screen context

Jacques

On Thursday, February 06, 2014 11:47 AM, muralis45@gmail.com wrote
> Hello there,
> 
> I am trying to fetch Contact Mech information for a new Entity. All Data
> Models done up & creation of Contact mech happening perfectly.
> 
> Attempting to render out the Edit information of this entity along with
> ContactMech Details.
> 
> I wrote a groovy script to fetch the ContactMech info, Working fine.
> 
> This script is invoked using the script tag in the screen. the screen
> includes the Form Template. In the form I am  attempting to populate the
> ContactMech. Not too sure how to gain handle to the requestAttributes
> Object in a Form.
> 
> Also attempted to populate the parameters object in the groovy script with
> no success.
> 
> All the existing modules seem to be getting a handle to those objects
> through ftl and through forms.
> 
> Just wondering if it is possible to gain the handle of the Objects in the
> form object.
> 
> Thanks
> murali

Mime
View raw message