Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14256-06

Portal Client-Specific Content
Tag when


Description

Includes the body content if the request client classification matches the supplied client attribute.

For example,

                <when client="iphone" > 
                    hello, IPhone user 
                </when>
            
renders the given content if the request user-agent has been mapped to "iphone" in WEB-INF/client-classifications.xml.


Tag Information
Tag Classcom.bea.netuix.client.jsp.clienttaglib.ClientTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameWhen

Attributes
NameRequiredRequest-timeDescription
clienttruefalse The name of the classification, as defined in WEB-INF/client-classifications, that will be compared against the request's classification.

Variables
No Variables Defined.


Oracle Fusion Middleware JSP Tag Java API Reference for Oracle WebLogic Portal
10g Release 3 (10.3.4)
E14256-06

Copyright © 2011, Oracle. All rights reserved.