You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hans Gerwitz <ja...@phobia.com> on 2000/08/26 00:08:51 UTC
Index Properties (Was Some home-work)
We'd like to propose ":" as a property separator. Not easily confused with
HTML or Java syntax, and yet easily recognized as a separator token.
And if anyone cares, the consensus here was for "property[n]" indexed
properties. That was before Ken Horn pointed out Javascript issues,
though... :-) Maybe "property#n"?
--
Hans Gerwitz
hans@phobia.com
> We implemented the nested property stuff a while ago - it works great. One
> possible problem though -- I think you may have a problem naming HTML input
> elements "x.y" due to the fact that javascript will find the "." significant
> and
> will give problems for form validation. We map all names with "."'s to "x_y"
> for
> this reason. This rule is used throughout session / request attributes as
> well,
> so that you don't have problems with useBean .
>
> Ken.