On 14/07/2010 08:45, Bob Schellink wrote:
> 
> Create a custom Element called MetaElement that renders your meta tags.
> 
> In your Page add MetaElement through getHeadElements().add(meta).


Or add the keys directly to your page model:

addModel("meta.xyz", "xyz");



>> Other thing, what's the correspondent in velocity to this jstl :
>> <c:url value='/?locale=en'/>
> 
> You want a link the root of your webapp?
> 
> Do this:
> 
> <a href='/?local=en'>English</a>


And you should probably prefix the url with $context:

<a href='$context/?local=en'>English</a>

Regards

Bob

Reply via email to