Broadleaf and changing customer information
Posted: Wed May 04, 2011 12:08 am
Hi everyone !!!
I follow the tutorial at http://www.broadleafcommerce.org/confluence/display/core/Eclipse+-+Mavento run the BroadleafCommerce Demo as a standalone application.
Now, I experiment some functions, I want that a Customer can change his personal informations,so once the customer is connected.
I implement a ChangeCustomerController inspired by the RegisterCustomerController and a ChangeCustomerForm inspired by the RegisterCustomerForm.
in the method :
@ModelAttribute("changeCustomerForm")
public ChangeCustomerForm initCustomerChangeForm() {
//code
}
I want the id of my client who now connected but i don't know how to do.
Thanks for your help !!!
I follow the tutorial at http://www.broadleafcommerce.org/confluence/display/core/Eclipse+-+Mavento run the BroadleafCommerce Demo as a standalone application.
Now, I experiment some functions, I want that a Customer can change his personal informations,so once the customer is connected.
I implement a ChangeCustomerController inspired by the RegisterCustomerController and a ChangeCustomerForm inspired by the RegisterCustomerForm.
in the method :
@ModelAttribute("changeCustomerForm")
public ChangeCustomerForm initCustomerChangeForm() {
//code
}
I want the id of my client who now connected but i don't know how to do.
Thanks for your help !!!