You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Incze Lajos <in...@mail.matav.hu> on 2001/03/01 00:08:02 UTC
Re: How does nested syntax in property attribute work
On Tue, Feb 27, 2001 at 06:15:05PM -0600, Shamdasani Nimmi-ANS004 wrote:
> Hi,
>
> In some of the e-mails I have seen nested syntax being used for property attribute, e.g.,
>
> <html:text property="mailingAddress.street"/>
>
> what does that mean? Is it that the getMailingAddress() method of the bean will be called, and then what is ".street" for?
>
> -Nimmi
>
.street is the getStreet( ) method of the object returned by the
getMailingAddress( ) method of the acion bean tied to the action
of the surrounding html:form. This simple is that. incze