struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <>
Subject Conversion problem
Date Mon, 18 Apr 2011 14:59:57 GMT
Hi all,

i have a form with only 6 values.
4 Dates, 1 int, one string.

I created 2 different conversion classes for the 4 dates. One is for
creating a good date from a string like 13:30, one is for the actual
date. I don't know why, but the ones for dates work and the one for
time does not work.

Even when i use the same conversion class for all fields, the time
fields do not work.

In my jsp they are named correct:


In my Pojo it is:

Project.setDeadlineTime(Date deadlineTime)

In my

project.deadlineTime = de.blub.converter.TimeConverter

As the property file has the working conversions defined, I assume it
is drawn correct.
To avoid a problem in the converter, i have returned a new Date and
once exchanged it with the working stuff. But nothing helped

It always claims

Error setting expression 'project.deadlineTime' with value
ognl.MethodFailedException: Method "setDeadlineTime" failed for object

Then I tried to enable some logging output in the Converters. But they
do not output anything (for none of the fields). All other of my
classes can create output on the specific level.

Even when I debug I cannot breakpoint and step into them. It is as if
they would not exist. In all other classes it works

My questions:
- any ideas what I could look for and why the two fields are not working?
- why is there no logging possible?
- and why can't I get into a breakpoint when debugging with eclipse
and run-jetty-run plugin?

Any help is appreciated :-(


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message