Hai,<br><br>Thanks for your reply..<br>After upgrading the version of following files i solved the problem<br><br>s2-framework-2.4.22 --------- s2-framework-2.4.34<br>s2-extension-2.4.22 --------- s2-extension-2.4.34<br>
s2-tiger-2.4.22 --------- s2-tiger-2.4.34<br><br><br><br><br><div class="gmail_quote">2009/5/9 <a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a> <span dir="ltr"><<a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, $B%H%^%9(B<br>
<br>
I made the smallest sample, It is possible to download it from following URL.<br>
<br>
<a href="http://lab.abby.co.jp/sample/teeda-html-sample.zip" target="_blank">http://lab.abby.co.jp/sample/teeda-html-sample.zip</a><br>
<br>
<br>
Import as Eclipse project and setting of Tomcat.<br>
The jar file included in teeda-html-example is copied onto samples WEB-INF/lib.<br>
<br>
It accesses <a href="http://localhost:8080/teeda-html-sample/" target="_blank">http://localhost:8080/teeda-html-sample/</a>, and the color of the<br>
header changes when it is reload.<br>
<br>
IE6 and Firefox work in my environment.<br>
<br>
Compare it with your application.<br>
<br>
<br>
thomas $B$5$s$O=q$-$^$7$?(B:<br>
<div><div></div><div class="h5">> hai ,yone$B$5$s!"(B<br>
><br>
> Thanks for your help.<br>
><br>
> With the following coding it perfectly works in firebox where as in IE6 its<br>
> not working<br>
><br>
> <html xmlns:m="<a href="http://www.seasar.org/maya" target="_blank">http://www.seasar.org/maya</a>"><br>
> <head></head><br>
> <body><br>
> <form id="headerform"><br>
> *<table align="left" width="100%" id="headerColor"<br>
> class="headerColor2">*<br>
> <tr><br>
> <td align="left" valign="top" width="75px"><br>
> <img src="../../img/logo.JPG" align="left"<br>
> height="60px" width="140px"/><br>
> </td><br>
> <td align="center"><b>Project Budget<br>
> Management</b></td><br>
> <td align="right" valign="bottom"><br>
> <input type="submit" value="Logout"<br>
> id="doLogout" align="right"></input><br>
> </td><br>
> </tr><br>
> * </table>*<br>
> </form><br>
> </body><br>
> </html><br>
><br>
> Regards,<br>
> $B%H%^%9(B<br>
><br>
> 2009/5/8 <a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a> <<a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a>><br>
><br>
>> Hi, thomas.<br>
>><br>
>> The span tag is put in the form tag if there is form tag.<br>
>><br>
>> header.html<br>
>><br>
>> <form id="headerForm"><br>
>> <span id="headerColor" class="headerColor2"><br>
>> ...<br>
>> </span><br>
>> </form><br>
>><br>
>><br>
>> thomas $B$5$s$O=q$-$^$7$?(B:<br>
>>> Hai,<br>
>>><br>
>>> Yes...body tag of my header.html includes span tag as you mentioned<br>
>>> earlier...<br>
>>><br>
>>> This is my header.html<br>
>>><br>
>>> <html xmlns:m="<a href="http://www.seasar.org/maya" target="_blank">http://www.seasar.org/maya</a>"><br>
>>> <head></head><br>
>>> <body><br>
>>> * <span id="headerColor" class="headerColor2">*<br>
>>> <form id="headerform"><br>
>>> <table align="left" width="100%"><br>
>>> <tr><br>
>>> <td align="left" valign="top" width="75px"><br>
>>> <img src="../../img/logo.JPG" align="left"<br>
>>> height="60px" width="140px"/><br>
>>> </td><br>
>>> <td align="center"><b><span<br>
>> id="title">Project<br>
>>> Budget Management</span></b></td><br>
>>> <td align="right" valign="bottom"><br>
>>> <input type="submit" value="Logout"<br>
>>> id="doLogout" align="right"></input><br>
>>> </td><br>
>>> </tr><br>
>>> </table><br>
>>> </form><br>
>>> *</span>*<br>
>>> </body><br>
>>> </html><br>
>>><br>
>>><br>
>>><br>
>>> Thanks.<br>
>>><br>
>>><br>
>>> 2009/5/8 <a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a> <<a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a>><br>
>>><br>
>>>> Hi, thomas.<br>
>>>><br>
>>>> Does the body tag of header.html include the span tag?<br>
>>>> And, the id attribute of the name "HeaderColor" is necessary for the<br>
>> span<br>
>>>> tag.<br>
>>>><br>
>>>> Please show your header.html.<br>
>>>><br>
>>>> example<br>
>>>><br>
>>>>>> [header.html]<br>
>>>>>> <html><br>
>>>>>> <body><br>
>>>>>> <span id="headerColor" class="headerColor2"><br>
>>>>>> this is header<br>
>>>>>> </span><br>
>>>>>> </body><br>
>>>>>> </html><br>
>>>> thomas $B$5$s$O=q$-$^$7$?(B:<br>
>>>>> Hai,<br>
>>>>><br>
>>>>> Thanks for your reply.....<br>
>>>>><br>
>>>>> I tried your sample coding.but the header color didnt change...<br>
>>>>><br>
>>>>> *master.css<br>
>>>>> :::::::::::::::::*<br>
>>>>> .heading {<br>
>>>>> background-color:green;<br>
>>>>> color:white;<br>
>>>>> font-weight:bold;<br>
>>>>> }<br>
>>>>> .container {<br>
>>>>> background:#e0eeff;<br>
>>>>> }<br>
>>>>> .item {<br>
>>>>> color:#610B0B;<br>
>>>>> }<br>
>>>>> *.headerColor1{background-color:red;}<br>
>>>>> **.headerColor2{background-color:blue;}<br>
>>>>> .headerColor3{background-color:yellow;}*<br>
>>>>> *.footerColor{background-color:blue;}<br>
>>>>> *<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> *layout.html<br>
>>>>> ::::::::::::::::::<br>
>>>>> *<head><br>
>>>>><br>
>>>>> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><br>
>>>>><br>
>>>>> <title><label id="layoutLabel"/></title><br>
>>>>> *<link rel="stylesheet" type=" text/css" href="../../css/master.css"/>*<br>
>>>>> </head><br>
>>>>><br>
>>>>> <body><br>
>>>>><br>
>>>>> <table border="1" width="100%"><br>
>>>>><br>
>>>>> <tr><br>
>>>>><br>
>>>>> <td colspan="2" align="center" height="20"><br>
>>>>><br>
>>>>> <span class="oneField"><br>
>>>>><br>
>>>>> *<te:include id="layoutHeader" te:src="/layout/header.html"/>*<br>
>>>>><br>
>>>>> </span><br>
>>>>><br>
>>>>> </td><br>
>>>>><br>
>>>>> </tr><br>
>>>>> <tr><br>
>>>>> <td width="40"><te:include id="layoutMenu"<br>
>>>> te:src="/layout/menu.html"/></td><br>
>>>>> <td height="475" valign="top"><te:includeChildBody<br>
>>>>> id="LayoutChildBody"/></td><br>
>>>>> </tr><br>
>>>>> <tr><br>
>>>>> <td colspan="2" align="right" height="20"><br>
>>>>> <span class="threeField"><br>
>>>>> *<te:include id="layoutFooter" te:src="/layout/footer.html"/>*<br>
>>>>> </span><br>
>>>>> </td><br>
>>>>> </tr><br>
>>>>> </table><br>
>>>>> </body>*<br>
>>>>> *<br>
>>>>> *HeaderPage.java<br>
>>>>> ::::::::::::::::::::::::::::*<br>
>>>>> public class HeaderPage {<br>
>>>>> *public String getHeaderColorStyleClass() {<br>
>>>>> Random random = new Random();<br>
>>>>> int mod = Math.abs(random.nextInt()) % 3;<br>
>>>>> switch (mod) {<br>
>>>>> case 0:<br>
>>>>> return "headerColor1";<br>
>>>>> case 1:<br>
>>>>> return "headerColor2";<br>
>>>>> default:<br>
>>>>> return "headerColor3";<br>
>>>>> }<br>
>>>>> }*<br>
>>>>> }<br>
>>>>><br>
>>>>> I checked both in firebox and IE6...The background -color of header is<br>
>>>>> always white.<br>
>>>>><br>
>>>>> Is there any mistake in the above coding?<br>
>>>>><br>
>>>>> Thanks in advance.<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> 2009/5/8 <a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a> <<a href="mailto:yone@abby.co.jp">yone@abby.co.jp</a>><br>
>>>>><br>
>>>>>> Hi, thomas.<br>
>>>>>><br>
>>>>>> The following are samples.<br>
>>>>>><br>
>>>>>> [sample.css]<br>
>>>>>> .headerColor1{background-color:red;}<br>
>>>>>> .headerColor2{background-color:blue;}<br>
>>>>>> .headerColor3{background-color:yellow;}<br>
>>>>>> .footerColor{background-color:blue;}<br>
>>>>>><br>
>>>>>> [layout.html]<br>
>>>>>> <head><link rel="stylesheet" type="text/css" href="/css/sample.css"<br>
>>>>>> /></head><br>
>>>>>> <body id="layoutbody"><br>
>>>>>> <te:include id="layoutHeader" te:src="/layout/header.html"/><br>
>>>>>> <te:include id="layoutFooter" te:src="/layout/footer.html"/><br>
>>>>>> </body><br>
>>>>>><br>
>>>>>> [header.html]<br>
>>>>>> <html><br>
>>>>>> <body><br>
>>>>>> <span id="headerColor" class="headerColor2"><br>
>>>>>> this is header<br>
>>>>>> </span><br>
>>>>>> </body><br>
>>>>>> </html><br>
>>>>>><br>
>>>>>> [footer.html]<br>
>>>>>> <html><br>
>>>>>> <body><br>
>>>>>> <span id="footerColor" class="footerColor"><br>
>>>>>> this is footer<br>
>>>>>> </span><br>
>>>>>> </body><br>
>>>>>> </html><br>
>>>>>><br>
>>>>>> [HeaderPage.java]<br>
>>>>>> public class HeaderPage {<br>
>>>>>> public String getHeaderColorStyleClass() {<br>
>>>>>> Random random = new Random();<br>
>>>>>> int mod = Math.abs(random.nextInt()) % 3;<br>
>>>>>> switch (mod) {<br>
>>>>>> case 0:<br>
>>>>>> return "headerColor1";<br>
>>>>>> case 1:<br>
>>>>>> return "headerColor2";<br>
>>>>>> default:<br>
>>>>>> return "headerColor3";<br>
>>>>>> }<br>
>>>>>> }<br>
>>>>>> }<br>
>>>>>><br>
>>>>>> Was the problem before solved?<br>
>>>>>> <a href="http://ml.seasar.org/archives/seasar-user/2009-April/017300.html" target="_blank">http://ml.seasar.org/archives/seasar-user/2009-April/017300.html</a><br>
>>>>>><br>
>>>>>><br>
>>>>>> thomas $B$5$s$O=q$-$^$7$?(B:<br>
>>>>>><br>
>>>>>>> Hai,<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> I am using layout in my teeda project.How to set the background color<br>
>>>> for<br>
>>>>>>> header,footer etc....<br>
>>>>>>><br>
>>>>>>> *<style><br>
>>>>>>> .layout.header{background-color:red}<br>
>>>>>>> </style>*<br>
>>>>>>><br>
>>>>>>> whether the above syntex is correct or not?<br>
>>>>>>><br>
>>>>>>> This is not working...Please give the correct way to change the color<br>
>>>> of<br>
>>>>>>> header...<br>
>>>>>>><br>
>>>>>>> Thanks in advance.<br>
>>>>>> --<br>
>>>>>> $BJF(B $BNS(B $B@5(B $BL@(B<br>
>>>>>> <a href="http://www.abby.co.jp" target="_blank">http://www.abby.co.jp</a><br>
>>>> --<br>
>>>> $BJF(B $BNS(B $B@5(B $BL@(B<br>
>>>> <a href="http://www.abby.co.jp" target="_blank">http://www.abby.co.jp</a><br>
>>>> _______________________________________________<br>
>>>> Seasar-user mailing list<br>
>>>> <a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
>>>> <a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
>>>><br>
>>><br>
>>> ------------------------------------------------------------------------<br>
>>><br>
>>> _______________________________________________<br>
>>> Seasar-user mailing list<br>
>>> <a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
>>> <a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
>><br>
>> --<br>
>> $BJF(B $BNS(B $B@5(B $BL@(B<br>
>> <a href="http://www.abby.co.jp" target="_blank">http://www.abby.co.jp</a><br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">$BJF(B $BNS(B $B@5(B $BL@(B<br>
<a href="http://www.abby.co.jp" target="_blank">http://www.abby.co.jp</a><br>
_______________________________________________<br>
Seasar-user mailing list<br>
<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
</div></div></blockquote></div><br>