Re: Meta data in decorator
Mike Cannon-Brookes <[email protected]>
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <[email protected]> |
Hrm - that shouldn't make any difference. Can you post some failing sample code of what you're trying to do? Cheers, Mike -- ATLASSIAN - http://www.atlassian.com/ Confluence - the professional J2EE wiki - tried it yet? http://www.atlassian.com/confluence/ On 26/03/2004, at 6:41 AM, Matt Dowell wrote: > Here's the file: > > <jsp:include page="head_inc.jsp"/> > <jsp:include page="title_inc.jsp"/> > <jsp:include page="body_inc.jsp"/> > <jsp:include page="footer_inc.jsp"/> > > > -----Original Message----- > From: Joe Walnes [mailto:[email protected]] > Sent: Thursday, March 25, 2004 1:38 PM > To: Matt Dowell > Cc: [email protected] > Subject: Re: [Opensymphony-sitemesh] Meta data in decorator > > > Ermm.. dunno. > > Which type of includes are you using? <%@ include ... %> or > <jsp:include > ..>? > > Matt Dowell wrote: > >> 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Ìk >> _______________________________________________ >> Opensymphony-sitemesh mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/opensymphony-sitemesh >> >> >> > > > > ------------------------------------------------------- > 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Ìk > _______________________________________________ > Opensymphony-sitemesh mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensymphony-sitemesh > ------------------------------------------------------- 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