Search:

Type: Posts; User: bLaDe00; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    975

    Setting default locale at app starting

    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...
  2. PropertyEditor - The way to access an attribute of request/session?

    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...
  3. Change locale with interceptor - Params in URL

    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...
  4. Replies
    3
    Views
    3,590

    Yeah, it works :) Thanks a lot! I forgot...

    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: )
  5. Replies
    3
    Views
    3,590

    Testing this problem, I'm absolutely becoming...

    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 ...
  6. Replies
    3
    Views
    3,590

    Access MessageSource from a service fails

    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...
  7. Replies
    1
    Views
    729

    Watching the code of the entity, perhaps I found...

    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...
  8. Returning to the first exception, here is a full...

    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...
  9. Replies
    1
    Views
    729

    Database insertion before process submit?

    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...
  10. Another error appears while trying to solve the...

    Another error appears while trying to solve the previous error mentioned:



    org.hibernate.exception.GenericJDBCException: Cannot release connection
    at...
  11. Different object with the same identifier in session... ¿Where?

    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...
  12. Ok, I'll test your explanation and comment it...

    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?
  13. PropertyEditors not working without "path" in jsp?

    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.
    ...
  14. Problem after validating form data - Set option value

    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...
  15. Replies
    22
    Views
    5,933

    For all people with the problem I've explained in...

    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...
  16. Replies
    22
    Views
    5,933

    I'm in the same situation, but I can't bind 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...
  17. Replies
    3
    Views
    3,702

    Finally works! But the reason is simply......

    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,...
  18. Replies
    3
    Views
    3,702

    Changing "administrative mapping" to something...

    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...
  19. Replies
    3
    Views
    3,702

    Trouble mapping handler in Tomcat

    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:...
  20. Replies
    5
    Views
    1,404

    Before getting your solution, I annotate entity...

    Before getting your solution, I annotate entity with @Component, but also fails (NullPointerException for the service).

    As I said, constructor solution works perfect :rolleyes:
  21. Collection View based in Locale - CollectionPropertyEditor?

    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...
  22. Replies
    5
    Views
    1,404

    A lot of thanks, Marten. It works perfectly...

    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...
  23. Replies
    5
    Views
    5,809

    Finally got it, but with "tricks" (using...

    Finally got it, but with "tricks" (using javascript :p )

    The final JSP code:




    <form:form id="form" method="POST" commandName="addRemoveElementsForm" modelAttribute="selectedElements" ...
  24. Replies
    5
    Views
    1,404

    Service injection & PropertyEditor

    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...
  25. Replies
    5
    Views
    5,809

    Well, I finally got how to represent Researchers...

    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...
Results 1 to 25 of 27
Page 1 of 2 1 2