Which version are you using ? There is no processOrder method in
OrderServices.java in trunk.
Anywsay, when you submit the form the inputs will be available in the context
simply do something like this for each
String myInput = context.get("myInput");
Of course adapt the type in function of yor data.
Beware are you using a service or an event ? nN case of an event it's
different, for instance
String myInput = request.getParameter("myInput");
Jacques
From: "Amine Benkirane" <[EMAIL PROTECTED]>
Hi all !
I want to add some specific OrderHeader attributes for my enterprise needs. For
this purpose, I extend the OrderHeader entity to add
attributes like comments, requestedDeliveryDate, ... Before checking out the
order, I add a screen designed with FTL file where I
put a form and some inputs (comments, requestedDeliveryDate, ...) and I add a
checkout button here to process order. I use at this
time the ofbiz processorder method in the OrderServices.java.
In this class, I want to set up the new attributes added in the OrderHeader
entity with values recovered from the inputs (in my
custom FTL page). So, my question is : what I have to do in order to recover
this values from my FTL form in the processorder Java
method ?
If someone can give me some information to do that or know any existing example
in ofbiz, it will be very helpfull !!
Thanks,
Amine
_________________________________________________________________
Contrôlez les personnes autorisées à parler à vos enfants sur MSN / Windows
Live Messenger !
http://www.windowslive.fr/controleparental/default.asp