Creating a Widget with Google Web Toolkit and opentaps
From Opentaps Wiki
Revision as of 19:38, 12 June 2009 by Sichen (talk | contribs) (Protected "Creating a Widget with Google Web Toolkit and opentaps": Sysop page [edit=sysop:move=sysop])
Create new hot-deploy/crmsfa/src/org/opentaps/gwt/crmsfa/cases with cases.gwt.xml
Create hot-deploy/crmsfa/src/org/opentaps/gwt/crmsfa/cases/client/Entry.java
Link Entry.java to opentaps page by modifying hot-deploy/crmsfa/webapp/crmsfa/cases/screenlets/quickCreateCase.ftl and adding:
<@gwtWidget id="quickNewCase"/>
Entry.java references the same quickNewCase:
private static final String QUICK_CREATE_CASE_ID = "quickNewCase"; public void onModuleLoad() { if (RootPanel.get(QUICK_CREATE_CASE_ID) != null) { // ...
Add cases to crmsfa build.xml:
<property name="gwt.module.list" value="contacts,accounts,leads,partners,orders,cases"/>