I donβt have a working environment in front of me, but I believe that you do not want to use <ui:define> , but instead you want to use <ui:param> , and then use ${x} or #{x} (or forget what or if it matters) to pull them out.
So, for example, you would:
<ui:param name="title" value="PageUID_123" />
And then:
<meta name="pageid" content="${title}"/>
My only concern is that you use include to have nice templates, i.e.
template:
<html> <head> <meta name="pageid" content="${title}"/> </head> <body> <ui:insert name="content" /> </body> </html>
Inner Page:
<html xmlns="...so many"> <ui:param name="title" value="PageUID_123" /> <ui:define name="content"> </ui:define> </html>
And I really don't know if this will fly ...
Edit: You might want to try ${title} or #{title} just to get started on how you are doing it now, it might just work.
SCdF
source share