ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Skip" <s...@thedevers.org>
Subject getting screen.width in ftl
Date Tue, 15 Jan 2013 19:30:23 GMT
I am trying to make some ftl code look better on cell phones without
sacrificing the look on desktops.

I can remove some non-critical content in the ftl if I knew the screen width
was less than a certain value.  Can I get screen.width in a bash (groovy)
script or in the ftl?

Its obviously easy in javascript, but I need to get it in the ftl code.

Thanks in advance


View raw message