rula
unread,Sep 9, 2008, 8:21:36 AM9/9/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KonaKart
Hi KonaKarts,
i will extend your onePageCheckout gwt struts integration to a pure
gwt frontend.
I copy LoginBody to EditCartBody and change this in the controller
methode:
} else if (currentState == EMAIL_STATE)
{GWT.log("EMAIL_STATE", null);
if (action == BACK)
{
currentState = EDIT_CART_STATE;
getEditCartBody().renderGetEmail();
//redirect("ShowCartItems.do");
} else if (action == CONTINUE)
I do all the things which you have done with LoginBody, but I am not
able to add something new in the containerPanel of the new
EditCartBody window.
// Get the container panel
HTMLPanel containerPanel = getContainerPanel(1);
GWT.log("containerPanel1: " + containerPanel.toString(),
null);
// Get the header
Widget header = renderHeader(login_body_welcome_email,
"table_background_login.gif",
login_body_welcome_email);
GWT.log("containerPanel2: " + header.toString(), null);
// Add the header to the container panel
containerPanel.add(header, HEADER_ID);
GWT.log("containerPanel3: " + containerPanel.toString(),
null);
The comtainerPanel and header are filled correct. What's the problem
with the add methode? Regards, rula