Thanks Dave,

That works.

Perhaps the examples at http://tapestry.apache.org/tapestry5/guide/assets.html should be changed to include ${}

Regards,

Greg.


On 17/05/2011 10:43 AM, David Rees wrote:
On Mon, May 16, 2011 at 5:32 PM, Greg Pagendam-Turner
<g...@liftyourgame.com>  wrote:
I'm trying to reference a logo in my Layout component.

The logo is located in the project under
src/main/webapp/layout/images/logo.png

After reading http://tapestry.apache.org/tapestry5/guide/assets.html I would
have thought that the correct way to reference it from Layout.tml would be:

<img src="context:layout/images/logo.png"/>
Did you try:<img src="${context:layout/images/logo.png}"/>  ?

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to