myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1418) Possibly leave out the file extension of images and icons
Date Fri, 29 Aug 2014 10:17:53 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14115080#comment-14115080
] 

Hudson commented on TOBAGO-1418:
--------------------------------

SUCCESS: Integrated in tobago-trunk #1251 (See [https://builds.apache.org/job/tobago-trunk/1251/])
TOBAGO-1418: Possibly leave out the file extension of images and icons
- fix (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1621264)
* /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/MenuCommandRenderer.java


> 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
>             Fix For: 2.0.3, 3.0.0-alpha-1, 3.0.0
>
>
> 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).
> So, this is also important to migrate to Tobago 3.0, because the images in the themes
in Tobago 3.0 are normally in PNG format and in Tobago 2.0 GIF is normally used.
> Currently these "auto-extensions" are supported: .png, .gif, .jpg



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

Mime
View raw message