Hi all!
I'm currently developing a web applications which supports 3 locales:
- es_ES
- gl_ES
- en_US
By default, es_ES is the default locale and all works perfectly. But now I need to...
Type: Posts; User: bLaDe00; Keyword(s):
Hi all!
I'm currently developing a web applications which supports 3 locales:
- es_ES
- gl_ES
- en_US
By default, es_ES is the default locale and all works perfectly. But now I need to...
Hello!
In my application I'm using PropertyEditors, and they are working perfectly, but I have one situation that I can't find the way to solve it using them. The context:
Currently, I'm using...
Hi all!
I'm currently using the locale interceptor in my web application to manage the session's locale, but I have one problem when exist parameters in the url. The way i'm using is this:
My...
Yeah, it works :)
Thanks a lot! I forgot putting message source into application-Context to allow access it from the services (little mistake... but hard to find :rolleyes: )
Testing this problem, I'm absolutely becoming mad.
Same message key tested in a controller works perfect, but in this service it doesn't appears, but also any of the other messages defined ...
Hi all!
I need access message sources (due to current locale) in a service (invoked via Ajax), but when trying to retrieve the message linked to the given key, an error is thrown saying that the...
Watching the code of the entity, perhaps I found a possible cause for the problem (because removing it, the problem dissapears, but I need the given approach). ¿Exist any problem about having more...
Returning to the first exception, here is a full stacktrace of the exception:
Caused by:
org.springframework.orm.hibernate3.HibernateSystemException: identifier of an instance of...
Hi!
My question is related about a form filling and process filled data into controller. The situation is very strange: setupForm works as aspected and fills all elements into the form, but when I...
Another error appears while trying to solve the previous error mentioned:
org.hibernate.exception.GenericJDBCException: Cannot release connection
at...
Hi all.
When I was making the edit form for one of my entities, I have found this error when I submit the form after editing. I was reading about this exception, and one of the solutions provided...
Ok, I'll test your explanation and comment it later if I have any problem. Thanks for the quick replay :)
What about my second question?
Hi all.
I'm currently using PropertyEditors in my application and they are working perfectly, but I've found one situation in that they "fails", and I'm interesing in know the reason.
...
Hi!
I'm trying to display a list of elements in a form: options in one of my JSP, but if the validation finds any problem and the form must be refilled with the errors, I'm finding a problem to...
For all people with the problem I've explained in the previous reply, the solution is:
To bind the text writed in FCK editor, simply call the instanceName of the fckeditor tag like the path of the...
I'm in the same situation, but I can't bind the value. The solution I'm searching for is related to use the explained way in this quoted post. My JSP looks like:
<form:form...
Finally works! But the reason is simply... stupid.
Looking at the stack trace and the instanced singletons, I found this in the line:
LBDPortalPublicController, LBDPortalController,...
Changing "administrative mapping" to something like /Administration/AdminMainPage.do the error persists ... I'll continue searching for the cause.
This is important, because I was thinking in use...
Hi all!
I'm testing my application in Jetty and all works fine, but when I try to test it in Tomcat, nothing works. The stacktrace :
org.apache.jasper.JasperException:...
Before getting your solution, I annotate entity with @Component, but also fails (NullPointerException for the service).
As I said, constructor solution works perfect :rolleyes:
Hello!
First, I want to contextualice the problem to explain it easier:
Think In a Entity which has some types and this type is an attribute of the entity (it is algo an entity)
I'm working...
A lot of thanks, Marten.
It works perfectly using the constructor approach :rolleyes:
Thinking about the problem, I was assuming that Spring will find this class scaning the packages (due to...
Finally got it, but with "tricks" (using javascript :p )
The final JSP code:
<form:form id="form" method="POST" commandName="addRemoveElementsForm" modelAttribute="selectedElements" ...
Hi, I'm trying to use a PropertyEditor to format the output of an entity in my jsp, but a strange error appears...
Suppose the entity Gender and a service with a method to retrieve genders from...
Well, I finally got how to represent Researchers into form: options (no PropertyEditor needed :p ), but now the second problem appears:
¿how can I send all elements in the second form: options to...