In the bsh file, use
globalContext.get("boxno");
-Adrian
--- On Fri, 11/28/08, madppiper <[EMAIL PROTECTED]> wrote:
> From: madppiper <[EMAIL PROTECTED]>
> Subject: How to set a screen parameter for beanshell usage
> To: [email protected]
> Date: Friday, November 28, 2008, 5:00 AM
> Hi,
>
> whether it was possible to set a parameter in the
> screens.xml file and
> access the very same in a beanshell. I'm quite certain
> that there must be a
> way, but the following doesn't work and I cannot find
> any examples:
>
> <set field="boxno" value="3"
> type="String" global="true"/>
>
> <script location="component://[...].bsh" />
>
>
>
> and in the bsh file i use:
>
> context.get("boxno")
> --
> View this message in context:
> http://www.nabble.com/How-to-set-a-screen-parameter-for-beanshell-usage-tp20734025p20734025.html
> Sent from the OFBiz - User mailing list archive at
> Nabble.com.