For future reference (and because nobody seems to answer any questions around here), the answer is to specify the date format in the JSON serializer configuration. Push-in the "toJson" method from...
Type: Posts; User: danray0424; Keyword(s):
For future reference (and because nobody seems to answer any questions around here), the answer is to specify the date format in the JSON serializer configuration. Push-in the "toJson" method from...
Figured it out.
Turns out the database config you put in /src/main/resources/spring/database.properties is used for the database connection, but the schema you give Roo when it does its "database...
I'm building a Spring-mvc project (using JPA and Hibernate for DB access) that is running just great locally, on my dev box, with a local MySQL database.
Now I'm trying to put a snapshot up on a...
I've built my first Spring Roo web project. I got it all WAR'ed up and put up on my staging server, and after some wrestling with it, Tomcat deploys it without issue.
Now I can't get Apache...
Oop. Spoke too soon. When I closed and re-opened the Roo console, it did a whole bunch of work and barfed out the missing files.
Is there any way to make its "oh hey I'm roo let me do my thing"...
Seems like one time in four or so that I do an incremental database reverse-engineer, a couple of my entities lose their custom finders, and nothing I seem to do can make Roo re-generate them.
My...
This is probably an easy one, but I can't find any docs about it.
I'm getting dates out of my MySQL database as Unix timestamps. Formatting controls on my field definition don't seem to help.
...
It could be I'm trying to do something un-Spring-ish here (this is my first Java/Spring/Roo project, I'm really a PHP/Perl guy), but I'm writing controllers that aren't tied one-to-one with models....
Submitted. https://jira.springsource.org/browse/ROO-2896
Thanks!
I want to use Roo's very nice generation of JSON-slinging RESTful controllers. I DON'T want a full HTML scaffold built--I'm building all the front end myself.
I can't seem to find a way to...
I figured it out. Java is different from Perl and PHP, it turns out. Surprise surprise.
If this's "note" field is null, then this.getNote().length() is a call to a null pointer.
I tried testing...
I have a JPA domain entity that I'm updating from user input. Depending on lots of factors about that object, it has actions to perform when it's updated (in this case, the update is to "mark it...
Not that I found. It appears the in-place upgrade simply broke the thing.
I've had nothing but trouble since my STS asked me to upgrade it. Crazy error dialogs whanging in from the lower left corner every few minutes.
Now it's reached a critical stage: I can no longer...
In my web application, I'm building a form that has nothing to do with any JPA objects, it's just a form. I really don't want to use JSTL to build my forms here, because there's no data backing for...
33 views and no responses. This is a one-liner in PHP/Yii. Is it really so hard in Spring Roo?
First of all, I'm a complete newb at Java, Spring, and Roo. I've done web development for many years in many other languages and frameworks, but this is my first stab at using this stack in any way...