On Tue, 14 Aug 2012 21:23:09 -0300, sommeralex <alexander.som...@gmail.com> wrote:

the only thing this binding should do is

1. to check if the window.devicePixelRatio >= 2 and if, check if a my_2x.png pic exists on the same location has the my.png - and if so, it should take the _2x.png

The binding code is completely server-side. window.devicePixelRation is a JavaScript object, right? If yes, I don't think this can be done without JavaScript and the new binding wouldn't solve the problem. On the other hand, you could write a MarkupWriterListener or a mixin to add this JavaScript and/or CSS automatically.

--
Thiago H. de Paula Figueiredo

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

Reply via email to