meta"

From Documentation
(Created page with '{{ZUMLReferencePageHeader}} <syntax lang="xml" > <?meta [''name0''="''value0''"] [''name1''="''value1''"] [''name2''="''value2''"] [if="..."] [unless="..."]?> </syntax> [since…')
 
m
Line 1: Line 1:
 
{{ZUMLReferencePageHeader}}
 
{{ZUMLReferencePageHeader}}
 
<syntax lang="xml" >
 
<syntax lang="xml" >
  <?meta [''name0''="''value0''"] [''name1''="''value1''"] [''name2''="''value2''"] [if="..."] [unless="..."]?>
+
  <?meta [''name0''="''value0''"] [''name1''="''value1''"] [''name2''="''value2''"]
 +
    [if="..."] [unless="..."]?>
 
</syntax>
 
</syntax>
  
Line 8: Line 9:
 
It specifies an element that shall be generated inside the HEAD element. It is generated ''before'' ZK default JavaScript and CSS files. Currently only HTML-based clients (so-called browsers) support them. Furthermore, HTML META tag is actually generated for each of this declaration.
 
It specifies an element that shall be generated inside the HEAD element. It is generated ''before'' ZK default JavaScript and CSS files. Currently only HTML-based clients (so-called browsers) support them. Furthermore, HTML META tag is actually generated for each of this declaration.
  
Developers can specify whatever attributes you like; it is up to the browser to interpret. ZK only encodes the URI of the <tt>href</tt> and <tt>src</tt> attribute (by use of the <tt>encodeURL</tt> method of the <tt>Executions</tt> class). ZK generates all other attributes directly to the client.
+
Developers can specify whatever attributes you like; it is up to the browser to interpret. ZK only evaluates the <code>if</code> and <code>unless</code> attributes, and encodes the URI of the <tt>href</tt> and <tt>src</tt> attribute (by use of the <tt>encodeURL</tt> method of the <tt>Executions</tt> class). ZK generates all other attributes directly to the client.
  
 
Notice that these header directives are effective only for the main ZUL page. In other words, they are ignored if a page is included by another pages or servlets. Also, they are ignored if the page is a <tt>zhtml</tt> file.
 
Notice that these header directives are effective only for the main ZUL page. In other words, they are ignored if a page is included by another pages or servlets. Also, they are ignored if the page is a <tt>zhtml</tt> file.

Revision as of 07:03, 5 November 2010

<syntax lang="xml" >

<?meta [name0="value0"] [name1="value1"] [name2="value2"]
   [if="..."] [unless="..."]?>

</syntax>

[since 3.6.2]

It specifies an element that shall be generated inside the HEAD element. It is generated before ZK default JavaScript and CSS files. Currently only HTML-based clients (so-called browsers) support them. Furthermore, HTML META tag is actually generated for each of this declaration.

Developers can specify whatever attributes you like; it is up to the browser to interpret. ZK only evaluates the if and unless attributes, and encodes the URI of the href and src attribute (by use of the encodeURL method of the Executions class). ZK generates all other attributes directly to the client.

Notice that these header directives are effective only for the main ZUL page. In other words, they are ignored if a page is included by another pages or servlets. Also, they are ignored if the page is a zhtml file.

<syntax lang="xml" >

<?meta name="keywords" content="HTML, CSS, XML" ?>
<window title="My App">
    My content
</window>

</syntax>

Version History

Version Date Content
     



Last Update : 2010/11/05

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.