I'm trying to validate a collection of objects such
that one of the properties generated html inputs looks
like:
I've defined the "form-validation" doc with the
following field block:
datePattern
MM/dd/
unfortun
Perhaps the focus of this discussion has been clouded
by my initial proposal. I hope this is the case and
not that people are not interested in addressing a
common complex problem that has been left to each
individual Struts implementor to resolve. So...let me
restate the objective and the points
the other parses and formats values.
>
> I'm not trying to shut you out -- and besides, I'm
> not a committer,
> so I couldn't if I tried. I just like debating
> these kinds of design
> questions and I'm criticizing in that spirit.
>
> Joe
>
>
dd/ format.
--- Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 10:45 AM -0700 7/1/03, Jon Wilmoth wrote:
> >I did investigate registering "custom" converters.
> >Unfortunately, anything that would support
> >non-hard-coded conversion patterns will require
>
I did investigate registering "custom" converters.
Unfortunately, anything that would support
non-hard-coded conversion patterns will require either
a mixed paradygm usage (i.e passing a complex object
that contains the value to convert and all convertion
configuration instead of simply the value
and Java on*
> events.
>
> We already enter all of these things into the
> application someplace, and
> it would be helpful if they could all be gathered
> together where they
> could be reused.
>
> The object would be an excellent place to put more
> advanced da
l
html input tags
2) modify tag to call DateUtil.toString if bean
property is of type Date and "dateformat" attribute is
not null
Please realize this is a first cut and I expect to
incorporate loads of feedback prior to submitting a
patch.
--- Joe Germuska <[EMAIL PROTECTED]> wrote:
I'm reposting as the previous attempt may have gotten
lost in the new release excitement.
I'd like to know what the CURRENT plans are for
supporting date datatypes in the framework. This
means conversion of strings --> dates for FormBean
population and the converse date --> string for
rendering F
After searching the user and developer archives, it appears a number of people have
expressed interest in some extended conversion support by the framework over the last
3 years. UnfortunateIy it doesn't appear any of these have been accepted and the
discussion seems to have died off. I'm looki