Changing datanucleus-core to 3.0.7 seems to work for me
Type: Posts; User: dankib01; Keyword(s):
Changing datanucleus-core to 3.0.7 seems to work for me
I think the recommended practice is to keep it simple with the business logic in the entities. I can see the need for a service layer if things get more complicated tho.
Are you using STS? Try a right-click Refresh on the project.
Good detective work! I will try using BigDecimal, tho in this case, they will all be small decimals :D
Actually, I should have said I'm using STS - not Eclipse.
I'm using it currently. I use Eclipse. Get the latest updates. Then, in project properties -> Google -> Web Toolkit, change to 2.3.
Interesting - guess I need to dig further to see where the validation actually happens.
I realize this is not specifically a Roo question.
I have a field
@DecimalMin("0.1")
private Float distance;
When testing with real data (always a good idea ;-), this field rejects the...
A standard String is stored in Google App Engine DataStore can have a max length of 500 Unicode characters. I often need to store longer strings.
I have a work around for this.
In the entity, I...
I find the default TextBox (input) length too short for many of my fields. I've come up with a way to change the length using css. Since I haven't seen this published, I thought I'd share.
First...
I'm going to hold off logging a ticket on the field order as I've moved to the 1.2.0 Snapshot (Due to GWT problem with 1.4) and I getting inconsistent results.
Anyone have a suggestion for using...
I've been trying to make some simple changes to my GWT/GAE app, but keep getting frustrated.
I'd like to change some of the TextBox edit fields to TextArea (or maybe even Rich Text Area). I've...
I'm running
Windows 7 64-bit SP1
java 1.6.0 -24
STS 260
Maven 2.2.1
Roo 1.1.4
I just ran into this also. I'm rather disappointed that every Roo release seems to have major flaws. I try to update a very simple GWT/GAE app and immediately get an error.
I just tracked that down myself. It comes from the proxy renderer. .render()
client.managed.ui.MyEntityProxyRenderer.java.
Of course, it is a managed folder. They are not marked with the do not...
Opened Jira ROO-2380 for this.
Aljared
I'm having the same experience. Have you opened a Jira on this? If not I will.
Dan
As often happens, I think I have found a solution for this.
I pushed in the getters and setters from the entitiy aj and wrapped them around a Text object.
...
import...
I have a few fields that often have more than 500 characters. In GAE, these should get saved as com.google.appengine.api.datastore.Text vs String. It appears that this is not happening. When I enter...
After working with this some more, this appears to be a bug to me, so I created Jira ROO-2379.
You should be able to create a roo project from the Spring Roo Project link on the Dashboard.
Or File -> New -> Spring Roo Project.
You can also create a project from the roo command line and...
I am trying to add some simple save logic to my Tour entity. I want to update a timestamp (updatedOn) whenever the object is persisted. I tried to pull up the persist() from the .aj to the .java so I...
Gary - thanks for the sample code. Very helpful. I take it you have not been able to get a column based on the Header value rather than by position? I don't see where the value is exposed in the...
Gary - yes I considered that but it seems so crude and needs to be manually maintained. I don't see any way to get the column number by header value or something that won't break if the order...
I have a working GWT/GAE roo-generated app (1.1.3). One of my entities has far too many fields to display in the list view. How do I hide some of the columns?
Dan