myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cristi Toth" <cristi.t...@gmail.com>
Subject [Trinidad] added browser version support in skinning TRINIDAD-799
Date Wed, 16 Apr 2008 22:24:55 GMT
Hi guys,

I finally added browser version support in skinning, but using a different
format than first suggested.
As we needed to support multiple browsers, each with multiple versions, I
have chosen to use this format:

@ agent ie 5 6 7, gecko,safari {....}

So each agent definition separated by comma and the versions a space
separated list following the browser type.

Also in the code I replaced :
int[] browsers
int[] versions
with :
Map <Integer, Set<Integer>> browsers

this represents browser types mapped to their versions set.


If you have any objections on this, please reopen the issue and add some
comments

Regards,
-- 
Cristi Toth

-------------
Codebeat
www.codebeat.ro

Mime
View raw message