You are right, GWT scaffolding depends on JPA currently. I opened a ticket so we can address this for the next release https://jira.springsource.org/browse/ROO-2785.
Type: Posts; User: Stefan Schmidt; Keyword(s):
You are right, GWT scaffolding depends on JPA currently. I opened a ticket so we can address this for the next release https://jira.springsource.org/browse/ROO-2785.
Oh great to hear there are no problems caused by Roo or Tomcat.
In that case you need to make sure you first remove the Student reference from the Course.students collection before removing the actual record.
I would not recommend to create two separate calls just to post a single document to the controller. I would simply approach this by creating the converter you need for your use case by hand in the...
Hi, I just tried this in STS 2.7.2 with Roo 1.2.0.M1 (which I guess you were trying) and do not see any of those issues. What happens if you refresh your project and try running it again on your web...
Hi Gupta,
The problem is that the Spring MVC EL integration uses the toString() method on your type quite frequently. Normally this has no major impact on your application but since you are...
Good to hear you found a solution to the problem. For future reference you can run 'development mode' to get the full stack trace behind an error message. Posting that here would probably help us...
You will probably need to manually catch the DataAccessException (or whatever you see in your stack trace) in the controller, check for the root cause and add it to the errors type in this case.
...
Does that error message "Unrecognized xbean namespace mapping..." appear when your launch your app or is it just a warning/error marker presented in your IDE (STS)?
So, just to clarify, if you launch your app in Tomcat 6 the debug messages are written properly to the log?
JDK 1.5 code compliance in Roo 1.2.x is not guaranteed any more. While most code will still compile there are some cases where 1.6 is required as a minimum already (ie if you choose to use Spring...
Hi Bruce, some add-ons which are Roo 1.1 compliant may work in 1.2 depending on which Roo APIs they use, some may not. We made a number of API changes between 1.1 and 1.2 so if there is an issue...
The MongoDB repositories should not take part in transactions started in any layers above it. As you noted MongoDB and most other NoSQL stores I am aware of don't offer transaction support ;)
The...
Hey Ken,
I think your idea is great! If we combine that with a config flag which disables the automatic execution of startup scripts we should have a feature that fits your bill. Are there any...
Hi guys,
Out of the box Roo currently uses FlexJson for JSON integration. Just dropping Jackson into the classpath will not disable the FlexJson integration. Jackson was initially not chosen...
Ok thanks for the info. I was asking because the screen shot you attached looks nothing like the scaffolded MVC UI. It appears that not all resources are loaded properly. Can you zip up your project...
Thanks for sharing your experience! Hopefully it can help others which might face similar issues. Not sure I can help much though given I am more of a *nix person.
I have made some minor changes to improve the situation, but the general improvement to have Roo detect cyclic references has not been addressed. In fact it appears the community is not voting much...
Which UI scaffolding have you chosen MVC or GWT?
Please download the latest release of STS (2.7.2). We test Roo releases on all major platforms (Linux, Mac, Windows 7) standalone and within STS before releases. Can you please check file permissions...
Hi Nils,
Please download the latest release rather than working with build snapshots (this allows us to trace issues easier). We test Roo releases on all major platforms (Linux, Mac, Windows 7)...
Dear community,
Effective today we have moved the Spring Roo source repositories from Gitorious to GitHub!
For those who have cloned the Spring Roo repository, please change your URL in...
This really depends on the UI you choose. In case of MVC scaffolding you can use javascript to drive these relationships, in case of GWT/Vaadin you would have to write some custom behaviour in java...
You could simply add an empty <option element to the dropdown definition. Note in this ticket there are multiple solutions mentioned, so you can choose which one suits you.
It appears Roo does not populate the referenced entity in the test case if not null is set. Please raise a Jira ticket so we can fix that.