You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by BatiB80 <se...@torexretail.de> on 2007/11/05 15:06:15 UTC

Add Meta-Information to wicket-page

Hi,

does anybody knows how I can add MetaDataInformation like 

    meta name="Keywords" content="..."

to a Wicket-Page. I want to set the values dynamically by the Java-Classes
so I wont hardcode the values in the .html-template!

Thanks in advance - regards,
Sebastian
-- 
View this message in context: http://www.nabble.com/Add-Meta-Information-to-wicket-page-tf4751820.html#a13587442
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Add Meta-Information to wicket-page

Posted by BatiB80 <se...@torexretail.de>.
Yupp... - That's it!!!

Thanks! :-)

-- 
View this message in context: http://www.nabble.com/Add-Meta-Information-to-wicket-page-tf4751820.html#a13589318
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Add Meta-Information to wicket-page

Posted by Michael Sparer <mi...@gmx.at>.

BatiB80 wrote:
> 
> Hi,
> 
> does anybody knows how I can add MetaDataInformation like 
> 
>     meta name="Keywords" content="..."
> 
> to a Wicket-Page. I want to set the values dynamically by the Java-Classes
> so I wont hardcode the values in the .html-template!
> 
> Thanks in advance - regards,
> Sebastian
> 

Could
http://www.wicketstuff.org/wicket13doc/org/apache/wicket/behavior/StringHeaderContributor.html
solve your problem with something like
add(new StringHeaderContributor("<meta ......"));
or am I missing the point?



-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: http://www.nabble.com/Add-Meta-Information-to-wicket-page-tf4751820.html#a13587791
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org