<?link [href="uri"] [name0="value0"] [name1="value1"] [name2="value2"] [if="..."] [unless="..."]?>
Developers can specify whatever attributes you like; it is up to the browser to interpret. ZK only encodes the URI of the href and src attribute (by the 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.
1 <?link rel="alternate" type="application/rss+xml" title="RSS feed" 2 href="/rssfeed.php"?> 3 <?link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"?> 4 <?link rel="stylesheet" type="text/css" href="~./zul/css/ext.css.dsp"?> 5 6 <window title="My App"> 7 My content 8 </window>