Nopes, I dont think I can go for that.
Only Ibatis and Spring.
Type: Posts; User: amit.goenka; Keyword(s):
Nopes, I dont think I can go for that.
Only Ibatis and Spring.
Yes I am...
Hi,
I am using Ibatis with Spring. In my application i require two DataBases simultaneously.
Two execute stored procedures in both DataBases what should i do?
I am very new to Spring.Please...
Hi all,
I am trying to implement the 'exportToExcel' functionality which will open a XL file in a new window.My code snippet is as follows:
public ModelAndView exportToExcel(HttpServletRequest...
Hi Ksriram,
I would suggest you make the following changes:
1)Add the following in the simpleformcontroller bean in xml
<property name="commandClass" value="com.test.MyForm"/>
<property...
in ur property file add the following entry:
typeMismatch.startDate=whatever error message you want
and c wat happens
what is the error you have mapped in ur property file for this?
and can u show ur jsp code segment where you are showing the error for this field?
Hi Scot,
You can do it by using <form:errors> tag in ur jsp and set the path attribute of the tag as the property that you are using for this date.
This <form:errors> will be used only for...
hey Sakkare,
are you sure your no-arg constructor AddEmployeeFormController() getting called?
and what is the return type of the supports method?
if supports return true then only validate is...
hey JohnRock,
You can do something like this:
in jsp:
<fmt:message key="TITLE" />
and in ur applicationcontext or any xml file which is preloaded by the application:
<bean id="messageSource"...
Hey I am still out of clues how to resolve this issue.
Temporarily i had to make this inputs string only in POJOs as i couldnt resolve this problem.
But what if i had to keep it as date only in...
hey i am not sure what is wrong.
Still i would suggest giving * in place of 'description' in the following.
<form:errors path="description"/>
because the path in from:errors tag is to be a...
hi all,
i am tryin to implement the solution mentioned here but i am not able to as my modelandview object cannot be constructed like this.
please check out this link...
hey Joshua,
I have an issue here with the Custom date Editor's getAstext method which is never being called.
I have registered a custom date editor for my date field.
Ecverything was working...
Hey Joshua,
It worked,amazingly.
I am posting my code snippet wchich made it work,which,in fact,is pretty simple.Simple answers are difficul;t to render i guess.:D
Hey Joshua,
Thanks for such a timely reply.
I will see the documentation and let you know whether the problem is resolved or not.I hope it will.
Hey Joshua,
can u please check out this thread and suggest me a hint or solution.
http://forum.springsource.org/showthread.php?t=71432
This query is resoved.
See the thread above if anyone wants a solution.Thanks to J.Preston
Hey Joshua,
Thanks a lot.that solved my problem in almost 30 seconds.Its precisely what i wanted.Thank u again.
Cheers,
Amit
m having same problem here too..Started a thread also.But no answers yet..
Hi,I have three checkboxes each bound to a POJO.
<td width="109">
<form:checkbox path="pastSet" /><b><fmt:message key="PAST_POLICY" /></b>
</td>
<td align="left" width="112">...
hi all,
I am stuck with a problem.Please help.
I have two input fields(taking String) in a form for storing two dates.But the property in the POJO that binds this date inputs is java.util.Date.So...
In the 12th post of this thread u had a code like this:
<bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
...
Hi Anita,
What I am trying to say is that '/search' must come in the url on form submission.If its not coming that means that ur search.jsp file is not invoking that action at all.Your form in the...
Hi Anita,
Please Check the Action in the success form in the form tag.Because the controller for the success page is associated with that action in the form.And hence the urlmapping in the xml...