This is the buzilla starting page where you can enter the request: http://issues.apache.org/bugzilla/index.html
David
From: "Ed Milic" <[EMAIL PROTECTED]> Reply-To: "Struts Developers List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: DynaActionForm initial values Date: Tue, 04 Feb 2003 16:26:42 +0000 Sure. How do I go about doing that?From: "David Graham" <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: DynaActionForm initial values
Date: Mon, 03 Feb 2003 13:32:42 -0700
You should post your suggestion and patches to a bugzilla enhancement ticket so we can look at them for 1.2.
Thanks!
David
From: "Ed Milic" <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: DynaActionForm initial values
Date: Mon, 03 Feb 2003 19:34:17 +0000
Hi,
I have been scratching my head wondering why you can only specify static initial values in a form bean definition in the struts-config.xml. To illustrate:
<form-bean name="SomeForm" "org.apache.struts.validator.DynaActionForm">
<form-property name="field1" type="java.lang.String" initial="someInitialValue"/>
</form-bean>
It would be nice from a localization standpoint to have the initial
value represent a key in a resource file (say the default MessageResources) and initialize the field based on this along with the user's locale.
I actually decided to implement this myself for the convenience it offers. I can provide the code changes (very minor ones at that) if anyone wants to add it to the struts code base.
Cheers,
Ed
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]