java.sql.Timestamp is a subclass of java.util.Date so it should be accepted
by your method. It is probably used as it adds a nanoseconds field to the
data and is database friendly.
Spring should give you a binding error with more detail in it, more than
likely related to validation. Could you pos
Hello,
While debuging the test case method,when it was entering in
handleRequestInternal() method of AbstractformController at the line,
Object command = getCommand(request);
In the command object i was getting priorityDate as Timestamp instead of
getting java.util.Date.
I think this may be the
Hello Mike,
Right now i am not in the office so can't get more details about that error.
But i think it may be wrong format of priorityDate data in
sample-data.xml,that was generated by default.
I tried giving different formats,but still problem was not resolved,was
getting casting error.
.
But w
Do you have some detail on the binding error being thrown?
Mike
On 7/9/07, Msarda <[EMAIL PROTECTED]> wrote:
Thanks for reply.
Tried that also,but still same problem.
I am getting data binding error,debuging that test case.
TryEngagementForm1] INFO [main]
EngagementformFormControllerTest.st
Thanks for reply.
Tried that also,but still same problem.
I am getting data binding error,debuging that test case.
TryEngagementForm1] INFO [main]
EngagementformFormControllerTest.startNewTransaction(323) | Began
transaction (1): transaction manager
[EMAIL PROTECTED];
default rollback = true
[Tr
Hello,
For date values, date values should looks like this...
On 7/9/07, Msarda <[EMAIL PROTECTED]> wrote:
Thanks Mike for your reply.
My application in running now.
But still i have one problem regarding validation.
I have priorityDate field in my model object.When i am putting validation
Thanks Mike for your reply.
My application in running now.
But still i have one problem regarding validation.
I have priorityDate field in my model object.When i am putting validation
for that field in validation.xml,my test caes are getting
failed(testRemove() method)
I tried changing date pat
Hi,
Just answered a similar question on another thread which I think may help
here too. As long as you are using a version of AppFuse which uses Spring
2.0.x you should be using the Spring form tags to do all the hard work for
you (I have adjusted the stuff below to match your JSP). I also notice
Which version of AppFuse are you using?
On 7/6/07, Msarda <[EMAIL PROTECTED]> wrote:
I tried populating "webSystemImpacted" in EngagementformFormController in
following method ,but i am getting jasper exception.
protected Map referenceData(HttpServletRequest request) throws Exception {
I tried populating "webSystemImpacted" in EngagementformFormController in
following method ,but i am getting jasper exception.
protected Map referenceData(HttpServletRequest request) throws Exception {
Map model = new HashMap();
model.put("webSystemImpacted",webappssystemManag
Thanks Mike.
It's working now after using property editor class.
But still there is one problem.I am not able to populate the list of areas
and webSystemImpacted in the jsp.
In the engagementformform.jsp i am doing like this...
Quoted from the thread mentioned:
You are going to need to provide Spring MVC with a way to get from an id to
a country and vice-versa. As you correctly point out this is done by
registering a custom property editor in your controller. To do this you need
to:
1) Extend the class PropertyEditorS
Thanks Mike for your reply.
Actually i am not getting a clear idea about how to implement
PropertyEditorSupport Class excatly in my form controller.
It will be very helpful if u can explore about it a bit more.
Michael Horwitz wrote:
>
> You need to register a custom editor inside your form co
You need to register a custom editor inside your form controller so that
Spring can convert your model object to/from text. Please see this thread
for further details:
http://www.nabble.com/Add-ManyToOne-relationship-between-user-and-a-new-pojo-tf3993393s2369.html
Mike.
On 7/2/07, Msarda <[EMA
Hi,
I have three model objects Engagementform,Areasimpacted,Webappssystem.
I have many to many mapping in Engagementform & Areasimpacted and
Engagementform & Webappssystem.
I have used following in Engagementform.java
Set systems;
Set areasImpacted;
I want to take the data for this t
15 matches
Mail list logo