RU kidding? You need more help than you can get here if you think a String
is a primitive. And what kind of question is this? Are we to, like, read
your mind and see your code to guess whatever it is you are trying to do
in your classes? Hey! Even we are not that good. But so this post is
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 4:43 AM
Subject: RE: DanaFormBean and Non Primative property type
RU kidding? You need more help than you can get here if you think a
String
is a primitive. And what kind of question
Dan,
Are you asking how to code a standard JavaBean for use as an ActionForm
object?
Mark
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 10:35 AM
I was wrong, String is not a primative type.
To make thing more clear, here is my class
Message -
From: Galbreath, Mark [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 8:51 AM
Subject: RE: DanaFormBean and Non Primative property type
Dan,
Are you asking how to code a standard JavaBean for use as an ActionForm
object?
Mark
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 11:15 AM
To: Struts Users Mailing List
Subject: Re: DanaFormBean and Non Primative property type
Hi Mark,
I am looking for way to code a custom property in a ActionForm
For example
) and pass
that to the appropriate setter in your ActionForm.
Is this what you mean?
Mark
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 12:15 PM
To: Struts Users Mailing List
Subject: Re: DanaFormBean and Non Primative property type
Hi Mark,
I am
, October 04, 2002 10:36 AM
Subject: RE: DanaFormBean and Non Primative property type
Okay, then, no, you can't directly because the only things HTTP carries
are
strings. But you can intercept the request in your action form, type-cast
the returned String into your custom type and pass it to your
I meant to type Action class, not action form when intercepting the
request.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 3:00 PM
To: Struts Users Mailing List
Subject: Re: DanaFormBean and Non Primative property type
Okay I got this time
Hi I would like to use DataFormBean with properties are
not primative types like int, java.lang.String
What are the requirements to create a customized
property type?
For example, I have a DUNS java class which is a
specialized string. What kind of methods in my DUNS class that I need to
9 matches
Mail list logo