我正在使用Wicket,我需要我的頁面包含profile
屬性及其head
元素。由於Wicket負責渲染實際的head
部分,因此不清楚如何執行此操作。我需要HTML像這樣:如何在Wicket中指定HEAD元素的PROFILE屬性?
<head profile="http://a9.com/-/spec/opensearch/1.1/">
<link rel="search" type="application/opensearchdescription+xml" href="osdd.xml" title="Search"/>
</head>
有興趣的讀者,我想宣傳我的web應用程序的OpenSearch說明文檔作爲記錄在這裏:http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_description_document
順便說一句,我覺得disgruntling和臭氣當一個這樣的微不足道的任務變得如此困難的網絡框架!
如果難度很大,我可以不發表。這只是一個「應該」的要求。配置文件屬性在HTML5中已過時,因爲HTML使用者從不費心檢查它。 – Alohci 2011-12-27 21:58:03