Hello there,

I'm starting to use Struts and was wondering If I'm correct in thinking
that it's a little inflexible when it comes to choosing datatypes for
form-bean properties.

Displaying a query-parameter based HREF link is annoying since, it only
accepts String types.
It would be nice to model my beans in their true form, and have Struts apply
'toString()'
on all non-String data. For example I can't have Integer form-bean
properties participate
in a 'html:link' tag.

Am I missing some fundamental Struts design decision?

Building 'html:link' tags seems particularly awkward when parameters are
required.
The Map approach seems ugly since it requires an extra method on every bean
which
goes through a population process on some object that implements 'Map'.
Why was the tag-lib attribute interface not extended in some way?

I was going to post this to the dev-list, but felt that I must have the
wrong end-of-the stick.

Many thanks for your help (and understanding...)

-Tom

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to