I think that you'll have to extend the framework. The initial value is
really designed to be a primitive or one of the wrappers around it. The
ConvertUtils convert method is used and it's not really capable of doing
what you want it to do. I think you might take a look at extending the
From: Chuck Cavaness [EMAIL PROTECTED] on 25/04/2002 07:41 AST
Please respond to Struts Users Mailing List [EMAIL PROTECTED]
To:Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: DynaActionForm problem with non-string objects
I think that you'll
On Thu, 25 Apr 2002, Chuck Cavaness wrote:
Date: Thu, 25 Apr 2002 07:41:19 -0400
From: Chuck Cavaness [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: DynaActionForm problem with non-string objects
I
]
To:Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: DynaActionForm problem with non-string objects
I think that you'll have to extend the framework. The initial value is
really designed to be a primitive or one of the wrappers around it. The
ConvertUtils convert method
I'm using some DynaActionForms, but some of them
require more complex objects with nested fields, and
not only Strings as fields.
The problem is that I can only seem to set my objects
as null, and it causes problems in the JSPs.
Consider this example, taken from struts-config.xml:
form-bean
5 matches
Mail list logo