Hi Amit, The Roo team supports the GWT add-on. Best thing to do is add an issue in the Roo tracker: https://jira.springsource.org/browse/ROO
/dmc On Tue, Jan 4, 2011 at 11:52 AM, Amit <[email protected]> wrote: > Hi > > The below post was published during the holidays with no reply so > far. > I am reposting with the hope that someone (e.g., from the GWT team) > will respond this time. > > Waiting for an answer, > > Thanks (and happy new year!!!) > > Amit. > > > On Dec 27 2010, 4:52 pm, Amit <[email protected]> wrote: >> Hi, >> We are running successfully the Expenses example using Spring-Roo. >> >> Now we want to add a simple class object ("MyAddress" as illustrated >> below) to one of the entities (e.g., Employee). >> We first tried doing this using the "embeddable - embedded " >> mechanism. But this is currently not supported by the Roo gwt plug-in. >> So we also checked the option of accomplishing this by the Roo "other" >> field command. Following is the error we got going this way. >> Any idea what did we do wrong? >> What is the best way to accomplish this (we already tried asking at >> the Spring Roo forum...). >> >> Thanks in advance for any help, >> AmitKleinmann >> >> public class Employee { >> >> @NotNull >> private String displayName; >> >> @NotNull >> @Size(min = 3, max = 30) >> private String userName; >> >> private MyAddress myAddress; >> >> private String homeAddress; >> >> ... >> >> } >> >> public class MyAddress { >> private String myCity; >> >> } >> >> Roo generates the following statements at the >> "EmployeeEditActivityWrapper_Roo_Gwt" class, and the class can not be >> compiled since MyAddressProxy can not be resolved. >> >> import com.ibmotion.expenses1.client.managed.request.MyAddressProxy; >> ... >> void setMyAddressPickerValues(Collection<MyAddressProxy> values); >> ... >> view.setMyAddressPickerValues(Collections.<MyAddressProxy>emptyList()); >> requests.myAddressRequest().findMyAddressEntries(0, >> 50).with(com.ibmotion.expenses1.client.managed.ui.MyAddressProxyRenderer.in >> stance().getPaths()).fire(new >> Receiver<List<MyAddressProxy>>() { >> public void onSuccess(List<MyAddressProxy> response) { >> List<MyAddressProxy> values = new >> ArrayList<MyAddressProxy>(); >> values.add(null); >> values.addAll(response); >> view.setMyAddressPickerValues(values); >> } >> }); > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
