You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2007/09/15 20:04:23 UTC

Re: Tapestry 5 and images

I suspect what's happening is that 2031.gif does not exist.  If a resource
exists, Tapestry lets the servlet container handle it normally, but if it
doesn't exist, and it looks like a Tapestry URL (page = "images/icons/2031"
component="gif" event="action") it tries to handle it.

Please all further discussion to users@tapestry.apache.org

On 9/15/07, Leon Derks <le...@hotmail.com> wrote:
>
>  Hello Howard,
>
> Today I tried Tapestry 5 and saw your screencasts.
>
> I am very impressed and want to try a real webapplication with it.
>
> But I got an error in the log:
> Processing of request failed with uncaught exception: Unable to resolve
> page 'images/icons/2031' to a known page name.
>
> This is what was in my Start.html page:
> <img src="images/icons/2031.gif" />
>
> I don't know why this doesn't work. I also tried something an assest, but
> how do I use the asset in my html page?
>
> Is there an example of how to use images and assest in tapestry 5?
>
> greetings,
> Leon
>
> ------------------------------
> De nieuwste Windows Live Messenger is uit! Download 'm hier<http://get.live.com/messenger/overview>
>



-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind