Is it possible to bind a Spring Form to an Object using the constructor or by mapping multiple fields to a single value via a custom Editor?

I don't quite see the problem, assuming your Range object has 'rangeStart' and 'rangeEnd' properties. With one of the fields use spring:bind path="yourObject. RangeStart and with the second field use spring:bind path="yourObject.rangeEnd.

I don't quite see the problem, assuming your Range object has 'rangeStart' and 'rangeEnd' properties. With one of the fields use and with the second field use .

Sorry. I wasn't at all clear. The problem (as seen in the edits above) is that the Range class is nested inside of the class the form is actually bound to.

I hear that in Grails I could say but I couldn't figure out if that's possible in Spring. – Tim Visher Dec 1 '09 at 18:37 you can. Try it.

– Bozho Dec 1 '09 at 18:50 2 You can, IFF range is non-null. A NPE will be thrown otherwise, the binder will not construct the range instance for you if it is null. – MetroidFan2002 Dec 2 '09 at 16:52.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions