Book not found

From Documentation
⧼coll-notfound_msg⧽

Return to Documentation.


 <?link [href="uri"] [''name0''="''value0''"] [''name1''="''value1''"] [''name2''="''value2''"] [if="..."] [unless="..."]?>
 <?meta [''name0''="''value0''"] [''name1''="''value1''"] [''name2''="''value2''"] [if="..."] [unless="..."]?>
 <?script type="text/javascript" [src="uri"] [charset="encoding"]
  [content="javascript"] [if="..."] [unless="..."]?>
[since 3.6.2]

These are so-called header elements in HTML. They are generated inside the HEAD element. The meta tags are generated before ZK default JavaScript and CSS files, while the other tags are generated after ZK default JavaScript and CSS files. Currently only HTML-based clients (so-called browsers) support them.

Developers can specify whatever attributes with these header directives. ZK only 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.

 <?link rel="alternate" type="application/rss+xml" title="RSS feed"
  href="/rssfeed.php"?>
 <?link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"?>
 <?link  rel="stylesheet" type="text/css" href="~./zul/css/ext.css.dsp"?>
<?script type="text/javascript" src="/js/foo.js"?>
<?script type="text/javascript" content="var foo = true;
if (zk.ie) foo = false;"?>

 <window title="My App">
     My content
 </window>



Last Update : 2010/07/12

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