Login  Register

RE: Form Widget: Two Thumbs Up

Posted by Vinay Agarwal on Jul 07, 2006; 1:08am
URL: http://ofbiz.116.s1.nabble.com/Form-Widget-Two-Thumbs-Up-tp140531p140535.html

From the form in my previous email,
 
context.put("personUserLogin", ...);
context.put("contactMechEmail", ...);
context.put("phoneHome", ...);
context.put("contactMechAddress", ...);

Bsh would work although I used Java. That way I can put the "getter" method
(for the screen widget) right next to the "setter" method (event handler)
and share the code between the two.

Regards,
Vinay Agarwal


-----Original Message-----
From: Si Chen [mailto:[hidden email]]
Sent: Thursday, July 06, 2006 5:00 PM
To: [hidden email]
Subject: Re: Form Widget: Two Thumbs Up

Like

context.put("map1", ...);
context.put("map2", ...);

in a .bsh?


On Jul 6, 2006, at 4:52 PM, Vinay Agarwal wrote:

> The maps are in "context" as usual.
>
> Regards,
> Vinay Agarwal
>
>
> -----Original Message-----
> From: Si Chen [mailto:[hidden email]]
> Sent: Thursday, July 06, 2006 4:09 PM
> To: [hidden email]
> Subject: Re: Form Widget: Two Thumbs Up
>
> Interesting...and how did you pass the Maps into this form?
>