Question:  I've learned so far, to display an image ... you do something
like this:

SomePage.java

    @Inject

    @Path("./art_logo.png")

      private Asset _someIcon;

and then SomePage.html you do

<img src="${someIcon}"/>

 

BUT --- what's the syntax to use these in css EG: background images?

 

    <style type="text/css">

      <!--

      body {

        background-color: #2D374A;

        background-image: url(someBackground);

      }

      .MainTable {

        background-color: #B5BFD2;

        background-image: url(someBackground);

      }

      -->

    </style>

 

Reply via email to