Yup like so, just change it to link instead of meta:
public class SiteAHeader extends AbstractBehavior implements
IHeaderContributor {
public void renderHead(IHeaderResponse response) {
response
.renderString("<meta name=\"description\"
content=\"description\" />");
}
}
Igor Vaynberg wrote:
use iheadercontributor
-igor
On Tue, Nov 4, 2008 at 11:43 PM, Eyal Golan <[EMAIL PROTECTED]> wrote:
Hi,
We have a behavior that is added to our main page (we use markup
inheritance).
In the behavior we add CSS links (and JS).
We want to add a favicon as well.
Here's what we did:
response.getResponse().write("<link rel=\"SHORTCUT ICON\"
href=\"/resources/favicon.ico\"/>\n");
Is this the best way?
Thanks
--
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]