In a 1st step this may help : 
http://www.opensourcestrategies.com/ofbiz/tutorials.php

If you want to go further, for the moment I guess the best is :
http://www.undersunconsulting.com/ecommerce/control/product/~category_id=USC_PROMO/~product_id=OFBADVFWKPKG

Jacques

----- Original Message ----- 
From: "Christopher Snow" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, February 04, 2007 11:17 PM
Subject: Re: form-widgets debugging


> Ok, thanks.
>
> I think the 'real' problem is that I'm getting myself tied in knots
> without having any documentation for form-widgets.  I'm confused with
> the flow of variables, there seems to be a lot hidden behind the scenes.
> With JSP's, it's possible to work out what parameters are being set.
>
> Is there any documentation on what happening behind the scenes when for
> example pressing submit of a form-field of a form-widget to controller
> to service, back to controller then to screens and back to form
> widget?
>
> It seams like I'm having to drop into the debugger for the
> ControlServlet to try and figure out what's getting passed around each
> time and form is submitted ...
>
> I've been through the intro videos (although it was some time ago), but
> they just seemed to scratch at the surface.
>
>
> Thanks,
>
> Chris
>
>
> On Sun, 2007-02-04 at 13:55 -0800, Chris Howe wrote:
> > 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 ...
> > >
> >

Reply via email to