Documentation

Search 

Contents

  1. Introduction
  2. Getting Started
  3. ICEfaces Concepts
  4. Code View Support
  5. Design View Support
  6. Tag Object Toolbars
  7. Server Behaviors
  8. Property Inspectors
Selected 9. ICEfaces Tag Reference

10. ICEfaces Tag Reference

Contents > ICEfaces Tag Reference > ice:outputDeclaration

ice:outputDeclaration

The ice:outputDeclaration tag causes a DOCTYPE declaration to be placed at the beginning of the output document.

Example

<ice:outputDeclaration doctypeRoot="HTML" doctypePublic="-//W3C//DTD HTML 4.01
 Transitional//EN" doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />

HTML Output

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Rendered Output

Tag Attributes

binding Expression
 
The value-binding expression linking this component tag to a backing bean property.
converter Text
 
The converter attribute sets the converter instance to be registered for this component. It must match the converter-id value of a converter element defined in your Faces configuration file.
doctypePublic Text
 
The doctypePublic attribute sets an identifier for the DTD without giving a specific location.
doctypeRoot Text
 
The doctypeRoot attribute sets the root element of the XML document.
doctypeSystem Text
 
The doctypeSystem attribute sets the URI reference to the DTD.
id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
rendered Boolean
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
value Text
 
The value attribute sets the current value for this component.