Details
Description
One of the useful things we have in ICEmobile that we haven’t ported over to the IF4 yet is the ClientDescriptor implicit variable. In IM, you can use #{mobiClient} on the page to resolve to this utility and customize rendering at a finer-level than by just using the <mobi:small> and <mobi:large> tags. eg.
<span>#{mobiClient.IE8orLess ? ‘Please stop making our lives miserable’ : ‘Welcome to the Showcase!’}</span>
I think it would be good to port this to IF4, but it’s not really mobile-specific, so maybe it should be brought into core and named something more generic? ‘iceClient’? ‘iceBrowser’? It has to be unique enough not conflict with other bean names that might exist.
<span>#{mobiClient.IE8orLess ? ‘Please stop making our lives miserable’ : ‘Welcome to the Showcase!’}</span>
I think it would be good to port this to IF4, but it’s not really mobile-specific, so maybe it should be brought into core and named something more generic? ‘iceClient’? ‘iceBrowser’? It has to be unique enough not conflict with other bean names that might exist.
Current class is located at http://dev.icesoft.com/svn/ossrepo/icemobile/trunk/icemobile/jsf/components/component/src/org/icemobile/component/impl/event/MobiClientVariableListener.java