On 02/03/07, Ramesh Jaganathan <[EMAIL PROTECTED]> wrote:
It looks like we could have a script and call it as mentioned below in the
users manual to populate fileds.

              ${__BeanShell(source("function.bsh"))} - processes the script
in function.bsh

Yes - or you can put the method in a file and define the property

beanshell.function.init

You can then call the method as follows:

${__BeanShell(myMethod(params))}

It means the script gets executed right?

Yes.

Should the script's last statement be a return statement ?

Yes, the value of the __BeanShell function is the whatever was
returned by the sctipr.

I could not get this working. Any ideas?

Also can we somehow execute a beanshell script which takes parameters in
this context to populate the fields?

See above

Thanks,
Ramesh


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to