RE: Meta data in decorator
"Matt Dowell" <[email protected]>
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks everyone, I discovered the problem. If my decorator is made up of includes, it will not pull the meta data, if there are no includes. It works. Resin 2.1.9. Is this a Resin bug? Matt -----Original Message----- From: Joe Walnes [mailto:[email protected]] Sent: Thursday, March 25, 2004 1:08 PM To: Matt Dowell Cc: [email protected] Subject: Re: [Opensymphony-sitemesh] Meta data in decorator Matt Dowell wrote: >Has anyone ever gotten a decorator to pull data from a meta tag like >this: > ><meta name="author" content="[email protected]"> > > Using JSP: <decorator:getProperty property="meta.author"/> Using Velocity: $page.getProperty("meta.author") Using Java: page.getProperty("meta.author"); -joe ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click