Hello,
I'm using spring Roo and it is working quite well !
However, I got a problem with a method that I added to my entity(in the .java file, not the .aj). This method is annotated with...
Type: Posts; User: jybosse; Keyword(s):
Hello,
I'm using spring Roo and it is working quite well !
However, I got a problem with a method that I added to my entity(in the .java file, not the .aj). This method is annotated with...
You can move the setter for the location property from the OnDemand aj file to the OnDemand java file. In the java file you can customize the setter to provide a concrete implementation of the...
+1 for this one ;)
I get the same error. It is related to the way Roo generates test using its dataOnDemand bean.
The DataOnDemand is not able to "guess" what concrete class should be create for this property (the...
Hello,
Im currently trying to build a digest authentication mechanism for Rest services. The client side is javascript and server-side, I use Spring-Security : the DigestAuthenticationFilter.
...
Ok, I found what was the problem, adding this line solved the problem :
<property name="maxInMemorySize" value="5000000" />
The files had ridiculous small sizes but it seems that the basic...
nobody had the same problem ? :(
Hello,
I've read many threads about using spring with commons-Upload but it seems that there are no precise answer.
I have a web page where the user can upload 2 files. The problem is that I get...
Ok, thanks a lot for your answers, I thought that the dependencies would be updated :)
Because I thought that the DAOs are a part of the log4j appender library, so when another dev wants to logs message in the database, they have only to add the jar to their webapp and define the...
I removed the my-servlet.xml from the configuration and checked about the import. Everything seems correct.
In fact the library is a little database appender for log4j.
But I suspect the problem to...
Here is a part of the web.xml from my web application :
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
...
Hello,
I have a problem when overriding a bean : I have a library (a jar) which has a spring context containing a datasource bean and 2 daos using this datasource.
This library is used in a web...
And ?
What about :
If you download the spring framework, take the whole package, there are some sample working in the ... samples folder :)
I've just discovered what you are saying :)
I need the integer because the contact to create need to be added to another company which is given before.
Flow is :
1 create a company
2 display the...
Hello,
I have a problem using Validator in annotated controller.
I'm using controller with annotation, everything is ok but when I use a method with two ModelAttribute, the validator doesn't care...
I've found a thread in this forum which says that we must not use ItemValue in a select tag when using a propertyEditor : http://forum.springframework.org/showthread.php?t=35575
That solution...
The problem appears too in the petclinic sample, the only thing you need to do to get the behavior is to set the value used to identify the PetType as a String, and the PetTypeEditor will go to the...
Is there no spring guru who can help me ?
I've found a lot of thread about this problem and no real answer...
I've found that, in the class SelectedValueComparator, there is a special condition : if the candidate is a String
the code...
Ok, I found something, it seems that it is the select tag that calls the CountryEditor.
I found a call in the abstract class
org.springframework.web.servlet.tags.form.SelectedValueComparator
...
Hello everybody,
I'm using annotated controller, everything works as expected. I have a WebBindingInitializer which register a few custom propertyEditor.
I have a form with a listbox of...
I don't know if it is the correct way to get more user details than the basic username & password but here is my way :)
I got a User class which implements UserDetails and add details like...
Thanks for this reply and the explanation !