Re: DynaActionForm problem with non-string objects

2002-04-25 Thread chuckcavaness
tronic mails > > > Message History > > > > From: Chuck Cavaness <[EMAIL PROTECTED]> on 25/04/2002 07:41 AST > > Please respond to "Struts Users Mailing List" <[EM

Re: DynaActionForm problem with non-string objects

2002-04-25 Thread chuckcavaness
> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > > 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

Re: DynaActionForm problem with non-string objects

2002-04-25 Thread Craig R. McClanahan
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: DynaA

Re: DynaActionForm problem with non-string objects

2002-04-25 Thread Peter Pilgrim
--- Message History 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]&g

Re: DynaActionForm problem with non-string objects

2002-04-25 Thread Chuck Cavaness
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 Fo

DynaActionForm problem with non-string objects

2002-04-19 Thread Frederico Schuh
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: