Joe Hertz wrote:
Craig R. McClanahan writes:
What you're basically asking for is user interface
components, instead
of simple input fields. Fortunately, you can have that today with
things like JavaServer Faces. The user interface components
there have
the ability to automatically regis
On 04/06/2004 11:47 AM Joe Hertz wrote:
Craig R. McClanahan writes:
What you're basically asking for is user interface components,
instead of simple input fields. Fortunately, you can have that
today with things like JavaServer Faces. The user interface
components there have the ability to autom
Craig R. McClanahan writes:
> What you're basically asking for is user interface
> components, instead
> of simple input fields. Fortunately, you can have that today with
> things like JavaServer Faces. The user interface components
> there have
> the ability to automatically register the c
--- Joe Hertz <[EMAIL PROTECTED]> wrote:
> Jolly, you answered it yourself:
>
> "I dont want to write another actionForm class that represent my DTO...I am
> in great trouble."
>
> I do feel your pain though. It seems on many levels, just plain silly to
> have
> to declare objects almost but n
Joe Hertz wrote:
[snip]
Wouldn't it be more useful to have the form object do the type conversion?
Have a way to tell it the "JSP type" (99% String) and the "application type".
Make the form objects smart enough to give you a properly typed result, much
in the same way Hibernate's Session.load(
and I find myself sighing "for the
good old days" every time I find myself fighting with
BeanUtils.copyProperties.
-Joe
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 04, 2004 6:05 AM
To: Struts Users Mailing List
Subject: Re: integer validation
roperties.
-Joe
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 04, 2004 6:05 AM
> To: Struts Users Mailing List
> Subject: Re: integer validation problem
>
>
> A lofty goal, Joe! What are you using on the back-end to
> connect
ave to write a getter or setter in a form bean ever
again.
Hope this helps
-Joe
-Original Message-
From: jolly [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 03, 2004 11:12 PM
To: Struts Users Mailing List
Subject: Re: integer validation problem
Dear Richard
Thanks for your reply.
.
Hope this helps
-Joe
> -Original Message-
> From: jolly [mailto:[EMAIL PROTECTED]
> Sent: Saturday, April 03, 2004 11:12 PM
> To: Struts Users Mailing List
> Subject: Re: integer validation problem
>
>
> Dear Richard
> Thanks for your reply. But I dont want
Dear Richard
Thanks for your reply. But I dont want to declare this type of
variable as String. I want to use the DTO as form bean
property. For this it is not validated by validator. so I
have to make my DTO dirtty that is I have to declare another
attribute for all variables that are not Strin
Jolly,
If you had checked the archives, you would have found your answer
immediately since this topic has come up several times in the past two
weeks. Anyway, declare your firstCategoryAmount and incrementDTO attributes
as Strings instead of int and double.
-Richard
At 10:57 PM 4/2/2004, you w
Hi please help me. My form-bean declaration is like this
and PayScaleDTO has incrementDTO as its attribute.
I define my jsp as:
basicPay and firstCategoryAmount are defined as integer or double. But
this fields are not validated if i enter text and saved zero to
database. I
12 matches
Mail list logo