Results 1 to 4 of 4

Thread: Spring Roo support for multi-module with GWT

Threaded View

  1. #1
    Join Date
    Jan 2009
    Posts
    8

    Default Spring Roo support for multi-module with GWT

    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

    Code:
    web mvc setup
    web mvc all --package ~.web
    is changed to

    Code:
    web gwt setup
    web gwt all --proxyPackage ~.client.proxy --requestPackage ~.client.request
    The rest lines of code (selenium-Tests) where dropped and some minimal changes where done Calendar -> Date due to missing support in GWT.

    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 ...

    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.
    ... some hints how this is intended to work?

    (Attached the clinic-gwt example)
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •