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.
Activity
Ken Fyten
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mircea Toma [ mircea.toma ] | |
Fix Version/s | 4.0 [ 10770 ] | |
Affects | Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial,Compatibility/Configuration [ 10003, 10001, 10002 ] | |
Assignee Priority | P2 [ 10011 ] |
Mircea Toma
made changes -
Assignee Priority | P2 [ 10011 ] | P1 [ 10010 ] |
Ken Fyten
made changes -
Summary | Add new "iceClient" client descriptor EL variable | Add new "iceBrowser" client descriptor EL variable |
Ken Fyten
made changes -
Fix Version/s | 4.0 [ 11382 ] | |
Fix Version/s | 4.0.BETA [ 10770 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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