OpenCms JSP standard taglib
Tag device


This tag is used to output different HTML for various device types.

The body of the tag is only included if the device where the output is rendered matches a device listed via the type attribute.

Hint: You might want to use a template context provider instead of the tag to adjust your web site to multiple devices.



Tag Information
Tag Classorg.opencms.jsp.CmsJspTagDevice
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
typefalsetruejava.lang.StringA list of device types for which the body content should be included.
Currently supported device types are:
desktop
mobile
tablet
The device that sends the current request is identified via browser information.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.