Search:

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

Search: Search took 0.06 seconds.

  1. handleInvalidSubmit breaks regular form submission

    Hi
    I just implemented handleInvalidSubmit to prevent duplicate form submission..

    Sadly the impact has been that my regular submission alternates between valid and duplicate submission.

    Here...
  2. For 1 > I have a feeling it depends on how the...

    For 1 >

    I have a feeling it depends on how the controller bean is used.
    i.e if it creates 1 per request then we can say the instance variables are thread safe...

    If the controller bean is a...
  3. SimpleFormController and use of class level variables.

    1>
    I was doing code review for some one code who had used SimpleFormController and uses class level variables to update as well as use value in onsubmit. Such a case is a no no in Servlets

    Is...
  4. Sending back error messages from onsubmit

    Hi

    I am using SimpleFormControllers

    I am using the following onsubmit definition.

    onSubmit(HttpServletRequest request,
    HttpServletResponse response, Object command,...
  5. Replies
    1
    Views
    995

    Well well well.. That was a really stupid...

    Well well well..

    That was a really stupid errors , i was missing the tag library include..

    I wish IE would not hide the tags and render it as regular text.

    That was causing the problem.
    ...
  6. Replies
    1
    Views
    995

    hasBindErrors not working

    Hi Guys,

    I am using simple form controller and on new form request i spring:hasBindErrors name="documentImageVO" returns true.

    But in the logs i do not get any message idicating validation...
  7. Thanks for the help guys , Both solutions...

    Thanks for the help guys ,

    Both solutions should solve my problem
  8. Well the additional functionality i need is the...

    Well the additional functionality i need is the population of form bean using the passed in parameters.
  9. Sending back pdf and tiff using Spring controller

    I have access to an api which gives me a inputstream to tiff/pdf files.

    If i user servlets i just need use response.getOutputSteam and write the data into it after setting appropriate content...
  10. Thanks I think setBindOnNewForm is the ideal...

    Thanks I think setBindOnNewForm is the ideal solution i was looking for.

    -- Kevin
  11. Thanks for your reply. I was working on...

    Thanks for your reply.

    I was working on looking at using the AbstractCommandController will see which one fits our use case better.

    -- Kevin
  12. Thanks for the reply. Can you point me to some...

    Thanks for the reply.

    Can you point me to some links or samples that i can look at for refernce for learning the Ajax mechanism for validations...
  13. Javascript validation support using SimpleFormController

    How can i automatically support java script validation as can be done in Struts.

    -- Kevin
  14. SimpleFormController to support both get and post request

    Hi


    I want to change the behavoir of SimpleFormController to handle both get and post request instead of only post request.
    i.e i want the passed in parameters to be parsed and populated into...
  15. Just another question. How does...

    Just another question.

    How does JNDITemplate/SimpleRemoteStatelessSessionProxyFactoryBean know what is the name of the Home and the remote interface , my client configuration xml does not map the...
  16. Hi Rod, Thanks for anwsering my queries. ...

    Hi Rod,

    Thanks for anwsering my queries.

    BTW , i throughly impressed with the capabulities of Spring.

    Hats off to you and others on creating a superlative framework.

    Kevin
  17. Why we need Home and Remote for EJB clients using JNDITempla

    Hi

    I am using JNDI template to look up EJB.
    My ejb-jar.xml is as follows

    <session >
    <description><![CDATA[Description for Customer]]></description>
    <display-name>Name...
  18. Replies
    2
    Views
    1,108

    Thanks pietercoucke, That solved the problem.

    Thanks pietercoucke,
    That solved the problem.




    Use


    <bean id="customerImpl" class="com.sf.bean.CustomerImpl" singleton="false">
  19. Replies
    2
    Views
    1,108

    hibernate + spring

    I am trying to use spring with hibernate.cfg.xml and am getting the following error


    org.springframework.beans.TypeMismatchException: Failed to convert property value of type...
  20. Getting rid of the target and adding...

    Getting rid of the target and adding interceptorNames made it work

    Thanks
    Navin

    <beans>
    <bean id="bean1" class="org.springframework.aop.framework.ProxyFactoryBean">
    <property...
  21. Hi Rob, Thanks for answering my queries ... ...

    Hi Rob,

    Thanks for answering my queries ...
    But i am not sure what i need to do to create non singleton target objects using proxy.

    Isn't the highlighted part of the mapping sufficient to...
  22. Help Creating non singleton using ProxyFactoryBean

    Hi

    I am trying to use ProxyFactoryBean to create non singleton instances of bean. But it seems to ignore the non singleton flag and i get the handle to the same bean every time i call getBean .. ...
Results 1 to 22 of 22