I've got two entities in a Spring Roo-application which are in a Many-To-Many-relationship, Release and Component.
The mappings look like this:
Release.java:
@ManyToMany(cascade =...
Type: Posts; User: Alimdoener; Keyword(s):
I've got two entities in a Spring Roo-application which are in a Many-To-Many-relationship, Release and Component.
The mappings look like this:
Release.java:
@ManyToMany(cascade =...
I'd like to call a static java-method through a URL in a Spring Roo-application.
How do I do this?
I added a mapping to in the views.xml-file in the root to a custom jspx-file. There I tried to...
I'm trying to use a LDAP-server (IBM Directory-Server) to authenticate users in a Spring Application (Spring Roo).
This is the relevant part in my applicationContext-security.xml:
<!--...
After upgrading to STS 2.8.0 I can't deploy my Roo-project anymore to a Tomcat 6 server (Tomcat 7 works).
I see the following message when I try to create a Tomcat 6 server:
I also...
Traditionally if you want to update/create an object and have a one-to-many-relationship you get the message:
While you can display the objects in a listbox by using this workaround:
...
I've got a two classes (pupil, class) and their scaffolded views.
pupil and class have a 1:1 relationship
In the list.jspx of pupil I'd like to display a column for a property of class.
I...
I want to delete an object but can't do this because it is connected to other objects.
This is Hibernate's output:
To delete the references manually I tried the following:
...
How do I delete the reference in Roo?
I've got two classes (Students and Courses) which have a many-to-many-relationship.
Instances of them can exist without the other one.
Therefore I removed the cascade-attribute in the...
I've got a many-to-many relationship betweens Students and Courses:
public class Student{
@ManyToMany(cascade = CascadeType.ALL,mappedBy="students")
private Set<Course> courses = new...
After working for weeks on a Roo Project mine stopped to update the .class-files inside the directory:
When I deploy with STS on the local Tomcat it used the new class-files but perform...
After deploying my so far working Spring Roo application for the 100th time a Tomcat server I got this exception. What may cause this problem? It works fine on my local Tomcat and has been working...
I've been developing a Roo-project for some time.
I just added a new converter in ApplicationConversionServiceFactoryBean.java. Up until now Roo updated...
I've got two entities which have a MANY-TO-MANY relationship:
public class Student{
@ManyToMany(cascade = CascadeType.ALL,mappedBy="students")
private Set<Course> courses = new...
Thanks, it worked perfectly.
Thanks Andrew,
I'll create a new entity, do web mvc scaffold with path to it to see where I need to change my existing classes.
How do I change the directory of the index-page to /admin/ as...
I want to use the scaffolded views as my admin interface and therefore point all of them to /admin/ instead of / .
How can I do this?
In the following list.jspx-file the service-column isn't filled with data. I'd like to have all Services which belong to it listed there.
I also examined the object which delivers all the data to...
Thanks, it worked perfectly.
Example:
I've got a class book which contains a ONE_TO_MANY relationship with pages.
The field of the entity would look like this:
@OneToMany(cascade = CascadeType.ALL)
private...
After generating my frontend with "controller package ~.web" I noticed there's already code in it for a find-function (in the messages and also a find.tagx).
How can I use that?
I can only...
I've got a ConverterNotFoundException in my Spring Roo-application:
According to this guide I added a Converter to ApplicationConversionServiceFactoryBean.java but still get the error.
The...
I've got always four errors when I create a new roo-project.
Two of them happen in the load-scripts.tagx here:
<link rel="stylesheet" type="text/css" href="${tundra_url}"><!-- required for...
Let's say I've got a class Service and a class Operation.
One service can have multiple operations.
In the generated webpage I get the message
Is this normal behaviour?
worked perfectly, thanks.