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...
Type: Posts; User: kevin_405; Keyword(s):
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...
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...
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...
Hi
I am using SimpleFormControllers
I am using the following onsubmit definition.
onSubmit(HttpServletRequest request,
HttpServletResponse response, Object command,...
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.
...
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...
Thanks for the help guys ,
Both solutions should solve my problem
Well the additional functionality i need is the population of form bean using the passed in parameters.
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...
Thanks I think setBindOnNewForm is the ideal solution i was looking for.
-- Kevin
Thanks for your reply.
I was working on looking at using the AbstractCommandController will see which one fits our use case better.
-- Kevin
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...
How can i automatically support java script validation as can be done in Struts.
-- Kevin
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...
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...
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
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...
Thanks pietercoucke,
That solved the problem.
Use
<bean id="customerImpl" class="com.sf.bean.CustomerImpl" singleton="false">
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...
Getting rid of the target and adding interceptorNames made it work
Thanks
Navin
<beans>
<bean id="bean1" class="org.springframework.aop.framework.ProxyFactoryBean">
<property...
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...
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 .. ...