You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ted Husted <hu...@apache.org> on 2001/07/13 11:48:55 UTC
Re: embedding tags
Questions like these should really be posted to the user list where
everyone can benefit, but to answer your questions
Nesting custom tags is possible, but often problematic, so it's best to
look for other solutions.
To use a message resource with the alt text of an image tag, see the
altKey property
< http://jakarta.apache.org/struts/struts-html.html#img >
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/
>
> Hi,
>
> I've having the problem of embedding tags in a <html:img> tag.
>
> For example, If I have the line:
>
> <html:img src="images/Header.jpg" ALT="<bean:message
> key="project.nsync.Header.alt"/>" />
>
> Where the below is in ApplicationResources.properties:
>
> project.nsync.Header.alt=Welcome Header Logo
>
> Can you embedd these tags together?