myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From song <song...@hotmail.com>
Subject myface tamahowk tabpane can't render css correct in tomcat6,but correct in tomcat5.5
Date Sun, 22 Jul 2007 12:06:22 GMT

tomcat6 render html in this way:(content render by is not in html body!! 
this couse to link css incorrect!!)
-------------------------------------------------------------------------------------------------
<table width="100%"
class="panelTopBar"><tbody><tr><td>&#12304;&#31995;&#32479;&#35774;&#32622;-&#23383;&#20856;&#31649;&#29702;-&#26032;&#24314;&#23383;&#20856;&#12305;</td></tr>
</tbody></table>

<form id="j_id_jsp_1392472740_3" name="j_id_jsp_1392472740_3" method="post"
action="/donuts1.0.2/Admin/DictTypeEdit.jsf"
enctype="application/x-www-form-urlencoded">

<script><!--

panelTabbedPane_5Fj_5Fid_5Fjsp_5F1392472740_5F3_3Aj_5Fid_5Fjsp_5F1392472740_5F4_5FHeadersIDs=
new Array("j_id_jsp_1392472740_3:tab1_headerCell");
panelTabbedPane_5Fj_5Fid_5Fjsp_5F1392472740_5F3_3Aj_5Fid_5Fjsp_5F1392472740_5F4_5FIDs=
new Array("j_id_jsp_1392472740_3:tab1");

//--></script>
<input id="j_id_jsp_1392472740_3:j_id_jsp_1392472740_4_indexSubmit"
name="j_id_jsp_1392472740_3:j_id_jsp_1392472740_4_indexSubmit"
style="display:none" />
<table id="j_id_jsp_1392472740_3_j_id_jsp_1392472740_4" cellspacing="0"
align="center" width="80%" class="myFaces_panelTabbedPane">
<tr class="myFaces_pannelTabbedPane_HeaderRow">
	<td id="j_id_jsp_1392472740_3:tab1_headerCell"
class="myFaces_panelTabbedPane_activeHeaderCell"><input type="submit"
name="j_id_jsp_1392472740_3:j_id_jsp_1392472740_4.0"
value="&#26032;&#24314;&#23383;&#20856;&#31867;&#21035;" onclick="return
myFaces_showPanelTab(0,'j_id_jsp_1392472740_3:j_id_jsp_1392472740_4_indexSubmit','j_id_jsp_1392472740_3:tab1_headerCell','j_id_jsp_1392472740_3:tab1',panelTabbedPane_5Fj_5Fid_5Fjsp_5F1392472740_5F3_3Aj_5Fid_5Fjsp_5F1392472740_5F4_5FHeadersIDs,panelTabbedPane_5Fj_5Fid_5Fjsp_5F1392472740_5F3_3Aj_5Fid_5Fjsp_5F1392472740_5F4_5FIDs,null,null,null,null);"
/></td>
	<td class="myFaces_panelTabbedPane_emptyHeaderCell">&#160;</td>
</tr>
<tr class="myFaces_pannelTabbedPane_subHeaderRow">
	<td id="j_id_jsp_1392472740_3:tab1_headerCell_sub"
class="myFaces_panelTabbedPane_subHeaderCell
myFaces_panelTabbedPane_subHeaderCell_first
myFaces_panelTabbedPane_subHeaderCell_active">&#160;</td>
	<td class="myFaces_panelTabbedPane_subHeaderCell
myFaces_panelTabbedPane_subHeaderCell_last">&#160;</td>
</tr>
<tr class="myFaces_panelTabbedPane_contentRow"><td colspan="2"
class="myFaces_panelTabbedPane_pane">
<div id="j_id_jsp_1392472740_3:tab1"><fieldset
id="j_id_jsp_1392472740_3:tab1:j_id_jsp_1392472740_6"><legend
id="j_id_jsp_1392472740_3:tab1:j_id_jsp_1392472740_7">&#22635;&#20889;&#23383;&#20856;&#31867;&#21035;&#20449;&#24687;</legend><input
type="hidden" id="j_id_jsp_1392472740_3:tab1:j_id_jsp_1392472740_10"
name="j_id_jsp_1392472740_3:tab1:j_id_jsp_1392472740_10" value="" /><input
type="hidden" id="j_id_jsp_1392472740_3:tab1:j_id_jsp_1392472740_11"
name="j_id_jsp_1392472740_3:tab1:j_id_jsp_1392472740_11" value="false"
/><table class="f90"><tbody><tr><td><label
for="j_id_jsp_1392472740_3:tab1:typeName">&#23383;&#20856;&#31867;&#22411;</label></td><td><input
id="j_id_jsp_1392472740_3:tab1:typeName"
name="j_id_jsp_1392472740_3:tab1:typeName" type="text" value=""
class="input1" /></td><td></td></tr>
<tr><td><label
for="j_id_jsp_1392472740_3:tab1:typeNameEn">&#23383;&#20856;&#31867;&#22411;&#20195;&#30721;</label></td><td><input
id="j_id_jsp_1392472740_3:tab1:typeNameEn"
name="j_id_jsp_1392472740_3:tab1:typeNameEn" type="text" value=""
class="input1" /></td><td></td></tr>
<tr><td><label
for="j_id_jsp_1392472740_3:tab1:systemMark">&#26159;&#21542;&#31995;&#32479;&#35299;&#26512;</label></td><td><input
type="checkbox" name="j_id_jsp_1392472740_3:tab1:systemMark"
id="j_id_jsp_1392472740_3:tab1:systemMark" value="true"
/></td><td></td></tr>
</tbody></table></fieldset></div><div
id="j_id_jsp_1392472740_3:j_id_jsp_1392472740_22"
style="text-align:center;padding:5"><input
id="j_id_jsp_1392472740_3:j_id_jsp_1392472740_23"
name="j_id_jsp_1392472740_3:j_id_jsp_1392472740_23" type="submit"
value="&#20445; &#23384;" onclick="if(typeof
window.clearFormHiddenParams_j_id_jsp_1392472740_3=='function'){clearFormHiddenParams_j_id_jsp_1392472740_3('j_id_jsp_1392472740_3');}"
class="button1" /> <input id="j_id_jsp_1392472740_3:j_id_jsp_1392472740_25"
name="j_id_jsp_1392472740_3:j_id_jsp_1392472740_25" type="submit"
value="&#21462; &#28040;" onclick="if(typeof
window.clearFormHiddenParams_j_id_jsp_1392472740_3=='function'){clearFormHiddenParams_j_id_jsp_1392472740_3('j_id_jsp_1392472740_3');}"
class="button1" /></td></tr>
</table><input type="hidden" name="j_id_jsp_1392472740_3_SUBMIT" value="1"
/><input type="hidden" name="javax.faces.ViewState"
id="javax.faces.ViewState"
value="rtfHv0J0HyaapJHbH5l8iMrhwu/G0nuPfbKpu7F6J/EXhOihNq/VeFxiOtZi59WE8ls+CdZcDOfGngwwlgRpyWi8MwIntQP4rk+t5M5YXu765hg09IbjgQ=="
/></form>






<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet"
href="/donuts1.0.2/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11851019/tabbedpane.HtmlTabbedPaneRenderer/defaultStyles.css"
type="text/css" />
<script type="text/javascript"
src="/donuts1.0.2/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11851019/tabbedpane.HtmlTabbedPaneRenderer/dynamicTabs.js"><!--

//--></script>
<style rel="stylesheet" type="text/css"><!--
#j_id_jsp_1392472740_3_j_id_jsp_1392472740_4
.myFaces_panelTabbedPane_activeHeaderCell input,
#j_id_jsp_1392472740_3_j_id_jsp_1392472740_4 .myFaces_panelTabbedPane_pane,
#j_id_jsp_1392472740_3_j_id_jsp_1392472740_4
.myFaces_panelTabbedPane_subHeaderCell{
background-color:white;
}

--></style>
	<base href="http://localhost:8080/donuts1.0.2/">

	<title>My JSF 'DictTypeEdit.jsp' starting page</title>
	
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="description" content="This is my page">
    <link rel="stylesheet" type="text/css" media="all"
href="/donuts1.0.2/styles/myfaces.css" />
    <link rel="stylesheet" type="text/css" media="all"
href="/donuts1.0.2/styles/xerllent.css" />
    <link rel="stylesheet" type="text/css" media="all"
href="/donuts1.0.2/styles/messages.css" />

</head>
  
<body topmargin="0" leftmargin="0">
	
<!-- MYFACES JAVASCRIPT -->

</body>
</html>

------------------------------------------------------------------------------------------------------

tomcat5.5 render html in that way :
-----------------------------------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet"
href="/donuts/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11851052/tabbedpane.HtmlTabbedPaneRenderer/defaultStyles.css;jsessionid=548F9127D9F511297EECC2D2D312E391"
type="text/css" />
<script type="text/javascript"
src="/donuts/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11851052/tabbedpane.HtmlTabbedPaneRenderer/dynamicTabs.js;jsessionid=548F9127D9F511297EECC2D2D312E391"><!--

//--></script>
<style rel="stylesheet" type="text/css"><!--
#_idJsp2__idJsp3 .myFaces_panelTabbedPane_activeHeaderCell input,
#_idJsp2__idJsp3 .myFaces_panelTabbedPane_pane,
#_idJsp2__idJsp3 .myFaces_panelTabbedPane_subHeaderCell{
background-color:white;
}

--></style>
	<base href="http://localhost:9090/donuts/">

	<title>My JSF 'DictTypeEdit.jsp' starting page</title>
	
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="description" content="This is my page">
    <link rel="stylesheet" type="text/css" media="all"
href="/donuts/styles/myfaces.css;jsessionid=548F9127D9F511297EECC2D2D312E391"
/>
    <link rel="stylesheet" type="text/css" media="all"
href="/donuts/styles/xerllent.css;jsessionid=548F9127D9F511297EECC2D2D312E391"
/>
    <link rel="stylesheet" type="text/css" media="all"
href="/donuts/styles/messages.css;jsessionid=548F9127D9F511297EECC2D2D312E391"
/>

</head>
  
<body topmargin="0" leftmargin="0">
	
	
		<table width="100%"
class="panelTopBar"><tbody><tr><td>&#12304;&#31995;&#32479;&#35774;&#32622;-&#23383;&#20856;&#31649;&#29702;-&#26032;&#24314;&#23383;&#20856;&#12305;</td></tr>
</tbody></table>
		<form id="_idJsp2" name="_idJsp2" method="post"
action="/donuts/Admin/DictTypeEdit.jsf;jsessionid=548F9127D9F511297EECC2D2D312E391"
enctype="application/x-www-form-urlencoded">
		

<script><!--

panelTabbedPane_5F_5FidJsp2_3A_5FidJsp3_5FHeadersIDs= new
Array("_idJsp2:tab1_headerCell");
panelTabbedPane_5F_5FidJsp2_3A_5FidJsp3_5FIDs= new Array("_idJsp2:tab1");

//--></script>
<input id="_idJsp2:_idJsp3_indexSubmit" name="_idJsp2:_idJsp3_indexSubmit"
style="display:none" /><table id="_idJsp2__idJsp3"
class="myFaces_panelTabbedPane" cellspacing="0" align="center" width="80%">
<tr>
	<td id="_idJsp2:tab1_headerCell"
class="myFaces_panelTabbedPane_activeHeaderCell"><input type="submit"
name="_idJsp2:_idJsp3.0"
value="&#26032;&#24314;&#23383;&#20856;&#31867;&#21035;" onclick="return
myFaces_showPanelTab(0,'_idJsp2:_idJsp3_indexSubmit','_idJsp2:tab1_headerCell','_idJsp2:tab1',panelTabbedPane_5F_5FidJsp2_3A_5FidJsp3_5FHeadersIDs,panelTabbedPane_5F_5FidJsp2_3A_5FidJsp3_5FIDs,null,null,null,null);"
/></td>
	<td class="myFaces_panelTabbedPane_emptyHeaderCell">&#160;</td>
</tr>
<tr>
	<td id="_idJsp2:tab1_headerCell_sub"
class="myFaces_panelTabbedPane_subHeaderCell
myFaces_panelTabbedPane_subHeaderCell_first
myFaces_panelTabbedPane_subHeaderCell_active">&#160;</td>
	<td class="myFaces_panelTabbedPane_subHeaderCell
myFaces_panelTabbedPane_subHeaderCell_last">&#160;</td>
</tr>
<tr><td colspan="2" class="myFaces_panelTabbedPane_pane">
<div
id="_idJsp2:tab1"><fieldset><legend>&#22635;&#20889;&#23383;&#20856;&#31867;&#21035;&#20449;&#24687;</legend><input
type="hidden" id="_idJsp2:_idJsp8" name="_idJsp2:_idJsp8" value="" /><input
type="hidden" id="_idJsp2:_idJsp9" name="_idJsp2:_idJsp9" value="false"
/><table class="f90"><tbody><tr><td><label
for="_idJsp2:typeName">&#23383;&#20856;&#31867;&#22411;</label></td><td><input
id="_idJsp2:typeName" name="_idJsp2:typeName" type="text" value=""
class="input1" /></td><td></td></tr>
<tr><td><label
for="_idJsp2:typeNameEn">&#23383;&#20856;&#31867;&#22411;&#20195;&#30721;</label></td><td><input
id="_idJsp2:typeNameEn" name="_idJsp2:typeNameEn" type="text" value=""
class="input1" /></td><td></td></tr>
<tr><td><label
for="_idJsp2:systemMark">&#26159;&#21542;&#31995;&#32479;&#35299;&#26512;</label></td><td><input
type="checkbox" name="_idJsp2:systemMark" id="_idJsp2:systemMark"
value="true" /></td><td></td></tr>
</tbody></table></fieldset></div><div
style="text-align:center;padding:5"><input id="_idJsp2:_idJsp18"
name="_idJsp2:_idJsp18" type="submit" value="&#20445; &#23384;"
onclick="if(typeof
window.clearFormHiddenParams__idJsp2!='undefined'){clearFormHiddenParams__idJsp2('_idJsp2');}"
class="button1" /> <input id="_idJsp2:_idJsp20" name="_idJsp2:_idJsp20"
type="submit" value="&#21462; &#28040;" onclick="if(typeof
window.clearFormHiddenParams__idJsp2!='undefined'){clearFormHiddenParams__idJsp2('_idJsp2');}"
class="button1" /></div></td></tr>
</table>
		<input type="hidden" name="_idJsp2_SUBMIT" value="1" /><input
type="hidden" name="_idJsp2:_idcl" /><input type="hidden"
name="_idJsp2:_link_hidden_" /><script type="text/javascript"><!--

	function clear__5FidJsp2()
	{
		clearFormHiddenParams__idJsp2('_idJsp2');
	}
	
	function clearFormHiddenParams__idJsp2(currFormName)
	{
		var f = document.forms['_idJsp2'];
		f.elements['_idJsp2:_idcl'].value='';
		f.elements['_idJsp2:_link_hidden_'].value='';
		f.target='';
	}
	
	clearFormHiddenParams__idJsp2();
//--></script><input type="hidden" name="javax.faces.ViewState"
id="javax.faces.ViewState"
value="rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAktNzZlMGZkZWJwdAAXL0FkbWluL0RpY3RUeXBlRWRpdC5qc3A="
/></form>
	
<!-- MYFACES JAVASCRIPT -->

</body>
</html>
-- 
View this message in context: http://www.nabble.com/myface-tamahowk-tabpane-can%27t-render-css-correct-in-tomcat6%2Cbut-correct-in-tomcat5.5-tf4124902.html#a11730443
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message