Page 1 of 1

GUI read-only

Posted: Thu Nov 22, 2012 11:10 am
by ganu98
How can i enable Order item editable in Admin. I have done below configuration and place the file(customerCareModule.gwt.xml) under below directory admin/src/main/resources/com/mycompany/admin/client

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.0.1//EN"
"http://google-web-toolkit.googlecode.com/svn/tags/2.4.0/distro-source/core/src/gwt-module.dtd">
<module>
<inherits name="com.google.gwt.user.User" />
<inherits name="org.broadleafcommerce.cms.admin.contentManagementModule" />
<inherits name="org.broadleafcommerce.admin.customerCareModule" />

<source path="client" />
<entry-point class="com.t4t.admin.client.T4TCustomerCareModule" />
</module>

Re: GUI read-only

Posted: Mon Nov 26, 2012 12:42 pm
by ganu98
Finally I have made order add/remove button enabled. Still i m wondering how can i enable orderitem form fields. Please help

I have following code in orderpresenter class

@Override
public void bind() {
super.bind();
setReadOnly(false);
orderItemPresenter.setReadOnly(false);

}

Re: GUI read-only

Posted: Mon Nov 26, 2012 8:26 pm
by ganu98
Please Help

Re: GUI read-only

Posted: Wed Dec 12, 2012 12:31 pm
by jefffischer
Try calling OrderItemPresenter.enable() and then OrderItemPresenter.setStartState() after your call to setReadOnly(false)

Re: GUI read-only

Posted: Fri Dec 21, 2012 11:43 pm
by ganu98
Still it is not working. Anyway leave it. AFter a detailed product comparision we decided not to use broadleaf