David beat me to it on the showing your variable
To clarify what Jacques was suggesting,
print your variable of interest to the log from the action that is
gathering it.
If your action to populate your form is:
a service that calls a simple method:
in the simple method us <log level="info" message=${env}/> I use info
instead of verbose because I don't like wading through the verbose
messages of things I'm not interested in, then go back and remove the
log message when everything works, or set it to verbose if it's
important
a service that calls a java method:
in the java method place Debug.Info(env, module);
a bsh call
in the bsh script place Debug.Info(env, null);
the bsh script also needs to have
import org.ofbiz.base.util.*;
--- Jacques Le Roux <[EMAIL PROTECTED]> wrote:
> Use something like <log level="verbose" message="${env}"/>
>
> Jacques
>
> ----- Original Message -----
> From: "Christopher Snow" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Sunday, February 04, 2007 10:14 PM
> Subject: form-widgets debugging
>
>
> > How can I output the values of env variables from within forms to
> help
> > me debug them?
> >
> > Many thanks ...
>