myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TOBAGO-1418) Possibly leave out the file extension of images and icons
Date Thu, 28 Aug 2014 08:55:58 GMT
Udo Schnurpfeil created TOBAGO-1418:
---------------------------------------

             Summary: Possibly leave out the file extension of images and icons
                 Key: TOBAGO-1418
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1418
             Project: MyFaces Tobago
          Issue Type: New Feature
          Components: Core, Themes
            Reporter: Udo Schnurpfeil
            Assignee: Udo Schnurpfeil


This means e.g. in <tc:image value="example"/> you need no longer write example.gif.
The resource manager finds the image extension and caches the result for good performance.

The main advantage of this feature is: If you get images from Tobago themes, the different
themes may hold the images in different file type (e.g. example.gif in one theme and example.png
in an other theme).

Currently these "auto-extensions" are supported: .png, .gif, .jpg




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message