> I am using tiles:
> 
>     <definition name=".article.Base"
> path="/article/common/layouts/Article.jsp">
>       <put name="title"     value ="${title}"/>
>       <put name="header"   
> value="/article/common/header.jsp"/>
>       <put name="message"  
> value="/article/common/message.jsp"/>
>       <put name="content"   value="${content}"/>
>       <put name="navbar"   
> value="/article/common/navbar.jsp"/>
>    </definition>
> 
> I want to control the color of links.  My links are in
> the /article/common/navbar.jsp.
> 
> If I put the <style> tag in the
> /article/common/hearder.jsp, will the <style> tag
> control the color in another piece of tile?   

Yes, it will.  Those separate files are put together by the tiles
plugin, and what the web browser sees is one file - it doesn't know that
the separate pieces began life on the server as separate files.  So
putting your styles into header.jsp will effect (or can effect) anything
else on the finished page.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to