Hi,
if tried to use the GWT addOn with the multi-module support. The documentation and API to use this is just straight forward. I searched for an example and didn't found one. So I chosed the clinic.roo example as a simple start point to create my own.
In clinic.roo I changed the last lines of code
is changed toCode:web mvc setup web mvc all --package ~.web
The rest lines of code (selenium-Tests) where dropped and some minimal changes where done Calendar -> Date due to missing support in GWT.Code:web gwt setup web gwt all --proxyPackage ~.client.proxy --requestPackage ~.client.request
The problem is that the getters for the Enumerations Types PetType and Specialty in this example where not generated in the PetProxy or the VetProxy. The whole gwt stuff just says ...
... some hints how this is intended to work?The path to type com.example.petclinic.reference.PetType which is used in type com.example.petclinic.domain.Pet by the field 'getType' needs to be added to the module's gwt.xml file in order to be used in a Proxy.
The path to type com.example.petclinic.reference.Specialty which is used in type com.example.petclinic.domain.Vet by the field 'getSpecialty' needs to be added to the module's gwt.xml file in order to be used in a Proxy.
(Attached the clinic-gwt example)


Reply With Quote
