I'm reposting this, since I'm not sure that it will make it to the group
the way I did it originally. Please, accept my apologies in advance if
it ends up being posted twice.

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 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 if I am doing something wrong?

                              -=> Gregg <=-

> *Re: Shale-related Tiles 2 issue Click to flag this post <javascript:
> void Nabble.setFlag();>*
>
> by gsl1 <http://www.nabble.com/user/UserProfile.jtp?user=332354> Sep
> 27, 2006; 12:47am :: Rate this Message: Click to rate as Poor Post
> <http://www.nabble.com/forum/ViewPost.jtp?post=6520440&framed=y#>Click
> to rate as Below Average Post
> <http://www.nabble.com/forum/ViewPost.jtp?post=6520440&framed=y#>Click
> to rate as Average Post
> <http://www.nabble.com/forum/ViewPost.jtp?post=6520440&framed=y#>Click
> to rate as Above Average Post
> <http://www.nabble.com/forum/ViewPost.jtp?post=6520440&framed=y#>Click
> to rate as Excellent Post
> <http://www.nabble.com/forum/ViewPost.jtp?post=6520440&framed=y#>
> Click to clear rating
> <http://www.nabble.com/forum/ViewPost.jtp?post=6520440&framed=y#>(use
> ratings to moderate[? <http://www.nabble.com/help/Answer.jtp?id=16>])
>
> Reply <http://www.nabble.com/forum/Reply.jtp?post=6520440> | Reply to
> Author <http://www.nabble.com/user/SendEmail.jtp?type=pm&post=6520440>
> | Edit <http://www.nabble.com/forum/EditPost.jtp?post=6520440> |
> Delete <javascript:Nabble.deletePost()> | Show Only this Message
> <http://www.nabble.com/Re%3A-Shale-related-Tiles-2-issue-p6520440.html>
> | Link to this Message
> <http://www.nabble.com/Shale-related-Tiles-2-issue-tf2328985.html#a6520440>
>
>
> I am the originator of Tiles Core issue SB-47. Ms. Smoak asked for a
> follow up on my exploits with it. The issue is posted at the following
> location :
>
>   http://issues.apache.org/struts/browse/SB-47
>
> I have attempted to upload a file tilestest.tar.bz2 through Nabble
> containing an exploded war sans libs that I used for my
> experimentation that finally works. Since I'm not sure if the file
> uploaded, I have also uploaded the same file to the issue link above.
> The libs I used were as follows:
>
> [EMAIL PROTECTED]:~/tilestest/WEB-INF/lib> ls -l
> total 2609
> -rw-r--r--  1 gsl users  36342 2006-09-26 23:21
> commons-attributes-api-2.1.jar
> -rw-r--r--  1 gsl users  29216 2006-09-26 23:21
> commons-attributes-compiler-2.1.jar
> -rw-r--r--  1 gsl users 188671 2006-09-26 23:21
> commons-beanutils-1.7.0.jar
> -rw-r--r--  1 gsl users  90001 2006-09-26 23:21 commons-chain-1.1.jar
> -rw-r--r--  1 gsl users 139966 2006-09-26 23:21 commons-digester-1.7.jar
> -rw-r--r--  1 gsl users  52915 2006-09-26 23:21 commons-logging-1.1.jar
> -rw-r--r--  1 gsl users  20682 2006-09-26 23:21 jstl-1.1.2.jar
> -rw-r--r--  1 gsl users 249563 2006-09-26 23:21 myfaces-api-1.1.4.jar
> -rw-r--r--  1 gsl users 524089 2006-09-26 23:21 myfaces-impl-1.1.4.jar
> -rw-r--r--  1 gsl users 152249 2006-09-26 23:21 shale-core-1.0.3.jar
> -rw-r--r--  1 gsl users  10346 2006-09-26 23:21 shale-spring-1.0.3.jar
> -rw-r--r--  1 gsl users  13320 2006-09-26 23:21 shale-tiles-1.0.3.jar
> -rw-r--r--  1 gsl users 232536 2006-09-26 23:21 spring-beans-1.2.8.jar
> -rw-r--r--  1 gsl users 109661 2006-09-26 23:21 spring-context-1.2.8.jar
> -rw-r--r--  1 gsl users 121686 2006-09-26 23:21 spring-core-1.2.8.jar
> -rw-r--r--  1 gsl users 143473 2006-09-26 23:21 spring-web-1.2.8.jar
> -rw-r--r--  1 gsl users 393259 2006-09-26 23:21 standard-1.1.2.jar
> -rw-r--r--  1 gsl users 125663 2006-09-26 23:21
> tiles-core-2.0-SNAPSHOT-20060922.jar
>
> I am using MyFaces 1.1.4 at this point which, based on my
> understanding, is JSF 1.1 compatible, not JSF 1.2. I found that it
> _was_ necessary to use the verbatim tag around the html title tags in
> order to force the outputText tag output to lie within the html title
> tags even after upgrading to MyFaces 1.1.4 from 1.1.1. I also was able
> to use the tiles:insert tag, something that I was unable to do
> previously after carefully studying:
>
>  
> http://www.nabble.com/Shale-1.0.3-and-Tiles-Question---Tag-Question-t2204571.html#a6288731
> <http://www.nabble.com/Shale-1.0.3-and-Tiles-Question---Tag-Question-t2204571.html#a6288731>
>
>
> and adapting it to my needs.
>
> My previous inability to use tiles:insert caused me to move to
> tiles:get. At this point, I believe that my inability to use
> tiles:insert was a misunderstanding on my part and was not related to
> moving to MyFaces 1.1.4 and I am now able to use it as evidenced by
> the files included in the uploaded archive.
>
> Thank you all very much for your help.
>
>                            -=> Gregg Leichtman <=-


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to