You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shale.apache.org by gsl1 <gs...@erols.com> on 2006/09/30 15:23:05 UTC

Re: Shale-related Tiles 2 issue - NOT solved

It looks like I spoke too soon. Although, I now have the title text being
displayed inside the html title start and end tags, the title start and end
tags and now their contents are still being displayed OUTSIDE the tile. The
tilestest webapp that I referenced previously demonstrates this problem
although it is not easy to see (thus the reason I missed it before). To
accentuate the problem, I changed the htmlHeaderTile.jsp file as shown
below. I have tried using f:verbatim in several different configurations,
but nothing seems to solve the problem.

If you substitute the following for tile file htmlHeaderTile.jsp, it clearly
shows the problem:

-------------------------- begin htmlHeaderTile.jsp

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<meta name="keywords" content="keyword1 keyword2">
<f:verbatim><title></f:verbatim><h:outputText value="Some title
text."/><f:verbatim></title></f:verbatim>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">

-------------------------- end htmlHeaderTile.jsp

Here is a pertinent snippet from the page source from the browser:

------------------------------- begin snippet

<html lang="en">
	<head>
		<base href="http://localhost:8080/TilesBug/tiles/layouts/siteLayout.jsp">
		
		<!-- There seems to be ....
		 -->
		<!-- title --><!-- h:outputText value="This is a title that causes a tiles
core failure."/ --><!-- /title -->
		<title>Some title text.</title>

                <meta name="keywords" content="keyword1 keyword2">
                                                                                                       
<================== title should show up here
                <link rel="shortcut icon" href="favicon.ico"
type="image/x-icon">
	</head>

...
------------------------------- end snippet

I also tried:

<f:verbatim><title><h:outputText value="Some title
text."/></title></f:verbatim> 

and I tried putting a single pair of verbatim tags around the entire group
of header tags.

Can anyone see what I am doing wrong?

                              -=> Gregg <=-
-- 
View this message in context: http://www.nabble.com/Shale-related-Tiles-2-issue-tf2328985.html#a6579258
Sent from the Shale - Dev mailing list archive at Nabble.com.