Re: S2 Tag Properties
Thanks brother! That is what I was looking for. Scott On 4/24/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: If the name is null, and there is a key, it will be used as the name. So, no, you don't need to duplicate it. musachy On 4/24/07, Harring Figueiredo <[EMAIL PROTECTED]> wrote: > > They can the different and serve different purposes. > > The name attribute that you have there means that the value will be picked > from > > yourAction.getUser().getZip().getCity(); > > The key will be used to lookup the resources files using the literal > string > 'user.zip.city', of course. > > Hope this helps. > > Harring. > > On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > I notice key is now preferred over getText() and am now curious about > > something else. Is the name attribute necessary when using key? I > would > > rather not duplicate myself unless S2 requires it. > > > > > size="40" > > readonly="true" /> > > > > -- > > Scott > > [EMAIL PROTECTED] > > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd -- Scott [EMAIL PROTECTED]
Re: S2 Tag Properties
If the name is null, and there is a key, it will be used as the name. So, no, you don't need to duplicate it. musachy On 4/24/07, Harring Figueiredo <[EMAIL PROTECTED]> wrote: They can the different and serve different purposes. The name attribute that you have there means that the value will be picked from yourAction.getUser().getZip().getCity(); The key will be used to lookup the resources files using the literal string 'user.zip.city', of course. Hope this helps. Harring. On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I notice key is now preferred over getText() and am now curious about > something else. Is the name attribute necessary when using key? I would > rather not duplicate myself unless S2 requires it. > > size="40" > readonly="true" /> > > -- > Scott > [EMAIL PROTECTED] > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
Re: S2 Tag Properties
They can the different and serve different purposes. The name attribute that you have there means that the value will be picked from yourAction.getUser().getZip().getCity(); The key will be used to lookup the resources files using the literal string 'user.zip.city', of course. Hope this helps. Harring. On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I notice key is now preferred over getText() and am now curious about something else. Is the name attribute necessary when using key? I would rather not duplicate myself unless S2 requires it. -- Scott [EMAIL PROTECTED]
S2 Tag Properties
I notice key is now preferred over getText() and am now curious about something else. Is the name attribute necessary when using key? I would rather not duplicate myself unless S2 requires it. -- Scott [EMAIL PROTECTED]