spring-roo

Captcha in spring roo

Hi, I wonder if anyone has ever experienced JCaptcha in spring roo? please share your ideas, thanks. ...

Overwrite Spring Roo Entity method

I'm working with Spring Roo and I need to overwrite Roo's Remove() method in the Roo_Entity.aj file. I'm getting a lot of Foreign Key constraint errors when I try to delete my entity, although I think my JPA annotations are correct. What I'm trying to do is overwrite the Remove() method in the Roo_Entity.aj file, to manually check for ...

Spring roo with GWT : How to stop scaffolding generation?

I am trying Spring roo with GWT. To generate the basic structure I used gwt:setup which generated the initial scaffolding but after that I want to stop the scaffolding, particularly when I annotate my domain class with @RooEntity. thanks in advance ...

How to package roo project without aspectj files into a jar.

Hi I am using Spring Roo to create a service to access the data base, just that. so, when I try to export to a jar using eclipse, the jar not contain one java class, but these files: Contact.class Contact_Roo_Configurable.class Contact_Roo_Entity.class Contact_Roo_ToString.class Contact_Roo_JavaBean.class I know these was AspectJ files...

Spring Roo addon creation exception

I am trying to create a simple addon using the script provided with the roo 1.1.0M3 zip but I am getting this error Could not locate '/org/springframework/roo/addon/creator/simple\roo-addon-simple-template.xml' in classloader Script execution aborted Can anybody please help me solve this problem? Thanks Shekhar ...

Is there a good reason why Spring Roo puts database.properties in META-INF/spring?

I'm trying to understand the reasoning behind why Spring Roo places database.properties in META-INF/spring, where it will be deployed as part of the WAR. Surely database properties are environment specific and should be outside a WAR where they can be changed without rebuilding? I'm about to change the line in application-context.xml t...

Can't get GWT to work with SpringRoo

UPDATE #2: The boys down at SpringRoo passed the buck over to the boys over at Google. See the ticket here. It was upgraded to critical priority as well. UPDATE: I've logged a bug on the SpringRoo Issue Tracker. It looks like the boys are taking this seriously. They've upgraded the priority from minor to critical. See the issue here...

How to implement NamedQuery based finder in Spring Roo ?

Hi, I can't find information about how to use standard JPQL based queries with Spring Roo project. I'm not sure if dynamic finders will be sufficient for complex queries. Is there any way to use @NamedQueries in Spring Roo project without breaking the concept of absence of DAO layer ? ...

Task scheduling with Spring with cron data stored in entities

I would like to run cron tasks based on an entity, lets call that entity TaskEntity The TaskEntity can have info about what needs to be done (domain specific) and when. The when part can be specified in cron based manner Initially I thought of looking into Quartz but I could not find clear examples I am not sure how to proceed from he...

Apache Wicket, OpenJPA and Spring/ROO

I've set up a Spring ROO application, set persistence to OpenJPA and created some entities. Then I replaced Spring MVC with Apache Wicket. Stuff seems to be working fine and I've successfully displayed a list of Customer entities. Next up was the editing view for the customer. For now I've made a Wicket form that uses the OpenJPA entity...

Roo Integration Tests - FAILURE

Hi all, Thought I would try out Spring Roo so I've had loads of new fun problems today. Hopefully you guys can help me with latest one. Roo has the ability to generate integration tests for your entities, but most of them fail for me. The most common failure is some form of constraint violation like null is being inserted into non-null ...

Spring Roo JSPX and form tag

I am trying to use the form tag within a Spring Roo JSPX file: But everytime I run the application, I keep getting the following exception: The prefix "form" for element "form:form" is not bound. I have the form tag library included (xmlns:form="http://www.springframework.org/tags/form"). Can anyone help me get started on troubleshoo...

Try to use hibernate 3.4 in JBoss 5.1 but gets javax.validation.ValidationException: Unable to find a default provider

I've come across some problems using Hibernate 3.4 on JBoss 5.1. Hibernate 3.4 is a JPA 1.0 implementation so it should be fine to be used in JBoss 5.1. The thing is JBoss has its own version of Hibernate, which is located at /common/lib whereas I don't want to use the version provided by JBoss. What I did was that I removed the hibernat...

Spring Roo does not generate CRUD

In Spring Roo I used this tutorial with my custom xsd to generate objects. After that I used command controller all ~.web, controller is generated but without CRUD functions. If I make manual objects in Roo controller with CRUD functions is generated. Any idea what is the problem? Schema file xsd is in my case important for REST data exc...