You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Mike Snare <mi...@gmail.com> on 2006/05/22 19:21:49 UTC

Access meta element values?

How do I access the value of meta elements within the containing component/page.

I have a component that will be used several times withing the same
page/component.  Some of the parameters of the inner component are
shared for that page.  I'd rather not force the user of the component
to have to repeat the same parameters every time they use it on the
page.

What I'd like to do is allow the user to specify those parameters
globally within the containing page/component then have the contained
component access them (if the parameter was not explicitly specified).

It would seem that the meta element would be good for this, but I
can't figure out how to access it.  I tried adding property accessing
code, but there was no property with the name provided by the meta
key.

I can do it if I add actual properties with the correct names to the
container, but I'd rather not do that if I don't have to.

The tapestry docs for the meta element state that "Tapestry ignores
this meta-data".  If this is true, and I can't get to it, then wtf is
it good for?  External processing only?

-Mike

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