tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiago H. de Paula Figueiredo" <thiag...@gmail.com>
Subject Re: T5: PageLink on img tag
Date Mon, 01 Jun 2009 19:33:56 GMT
Em Mon, 01 Jun 2009 12:04:48 -0300, Andy Buckley  
<andy.buckley@durham.ac.uk> escreveu:

> Hi,

Hi!

> (only without the "literal:" bits in practice: these contexts will be
> generated dynamically). The result isn't quite right, though: the <a>
> link to the full-size image functions just fine, but the pagelinked
> <img> renders the pagelink as an "href" tag... not very useful: I'd
> hoped that there would be special PageLink treatment for <img> tags that
> would use the "src" attribute rather than "href".

What you're asking is very reasonable, IMHO. Please post a JIRA about it.
In the mean time, you can generate the URL injecting the  
PageRenderLinkSource service and invoking  
createPageRenderLinkWithContext(Class, Object[]).

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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


Mime
View raw message