java.lang.IllegalStateException: duplicate Id for a component username
at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:68)
at org.ajax4jsf.application.TreeStructureNode.apply(TreeStructureNode.java:92)
at org.ajax4jsf.application.AjaxStateManager.getTreeStructureToSave(AjaxStateManager.java:187)
at org.ajax4jsf.application.AjaxStateManager.buildViewState(AjaxStateManager.java:498)
at org.ajax4jsf.application.AjaxStateManager$SeamStateManagerWrapper.saveView(AjaxStateManager.java:105)
at org.jboss.seam.jsf.SeamStateManager.saveView(SeamStateManager.java:89)
at org.ajax4jsf.application.AjaxStateManager.saveSerializedView(AjaxStateManager.java:454)
at org.jboss.seam.jsf.SeamStateManager.saveSerializedView(SeamStateManager.java:64)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:615)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
at org.jboss.seam.web.RewriteFilter.process(RewriteFilter.java:98)
at org.jboss.seam.web.RewriteFilter.doFilter(RewriteFilter.java:57)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:42)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at filter.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:619)
- <AjaxViewRoot id="_viewRoot" immediate="false" locale="en" renderKitId="HTML_BASIC" renderRegionOnly="false" rendered="true" selfRendered="false" submitted="false" transient="false" viewId="/product.xhtml">
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:my="http://www.zgdx.tld/functions">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>自贡硬质合金有限责任公司</title>
<style type="text/css">
<!--
body,td,th {font-size: 12px;}
body {background-color: #FFFFF7;margin: 0px;}
a:link {color: #000000;text-decoration: none;}
a:visited {text-decoration: none;color: #000000;}
a:hover {text-decoration: underline;color: #990000;}
a:active {text-decoration: none;color: #0000FF;}
#imgDiv {float:left; padding:10px 17px 0 17px; text-align:center; line-height:20px;}
.bgRightLine {background:url(images/35.gif) no-repeat right}
#img1{
max-width: 200px;
width:expression(this.width > 200px ? "200px" : this.width);
}
#img2{
max-width: 500px;
width:expression(this.width > 500px ? "500px" : this.width);
}
-->
</style>
<script language="javascript">
<!--
function showMenu(n,m){
for (var i=1; i<=4; i++){
var obj = document.getElementById("menu"+n+"_"+i);
obj.style.display=(i==m?"block":"none");
}
}
-->
</script>
<!--
${eventContext.set('product', productServ.find(param.code))}
-->
</head>
<body>
- <style type="text/css">
<!--
body,td,th {font-size: 12px;}
a:link {color: #000000;text-decoration: none;}
a:visited {text-decoration: none;color: #000000;}
a:hover {text-decoration: underline;color: #990000;}
a:active {text-decoration: none;color: #0000FF;}
body{ background:url() no-repeat center top;
width: 100%;
display: table;}
#imgDiv {float:left; padding:10px 17px 0 17px; text-align:center; line-height:20px;}
.bgRightLine {background:url(images/35.jpg) no-repeat right}
}
-->
</style>
- <HtmlRemote id="j_id3" include="authenticator" rendered="true" transient="false"/>
- <script type="text/javascript">
Seam.Remoting.loadingMessage = "正在登录,请稍后......"
function doLogin(){
var username = document.getElementById("username").value;
var password = document.getElementById("passwd").value;
//var yzm = document.getElementById("validateCode").value;
//callback(true)
Seam.Component.getInstance("authenticator").login(username, password, '', 'customer', callback);
}
function callback(username){
if( username!=null ){
//window.location.href="admin";
document.getElementById("loginSuccess").style.display='block'
document.getElementById("loginForm").style.display='none'
document.getElementById("passwd").value=''
document.getElementById("loginedUserName").innerHTML = username
}else{
alert("用户/密码或验证码不正确");
//document.getElementById("yzmimg").src="validateCode.jpg?now=" + Math.random();
}
}
function logout(){
document.getElementById('loginForm').style.display='block';
document.getElementById('loginSuccess').style.display='none'
//document.getElementById("yzmimg").src="validateCode.jpg?now=" + Math.random();
}
-->
</script>
<table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
<tr style="display:#{identity.loggedIn?'none':'block'}" id="loginForm">
<td width="81" height="30" align="right" background="images/dl.gif" style="font-size:12px; color:#6d5352">用户名:</td>
<td width="150" align="center" background="images/dl.gif">
- <HtmlInputText disabled="false" id="username" immediate="false" localValueSet="false" maxlength="-2147483648" readonly="false" rendered="true" required="false" size="-2147483648" style="width:98px; height:16px; border:1px solid #d5d4d0" transient="false" valid="true"/>
- </td>
<td width="56" align="right" background="images/dl.gif" style="font-size:12px; color:#6d5352">密 码:</td>
<td width="152" align="center" background="images/dl.gif">
- <HtmlInputSecret disabled="false" id="passwd" immediate="false" localValueSet="false" maxlength="-2147483648" readonly="false" redisplay="false" rendered="true" required="false" size="-2147483648" style="width:98px; height:16px; border:1px solid #d5d4d0" transient="false" valid="true"/>
- </td>
<td width="79" align="center" valign="middle" background="images/dl.gif"><img src="images/d1.gif" width="52" height="19" style="padding-top:4px" onclick="doLogin()"/></td>
<td width="225" align="center" background="images/dl.gif" style=" font-size:12px;"><a href="javascript:;" onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://');"> 加入收藏</a> | <a href="javascript:;" onClick="window.external.addFavorite('http://www.zgcc.cn','自贡硬质合金有限公司')">设为首页</a> | <a href="http://www.zgcc.com:81/english/index.html">English</a> </td>
</tr>
<tr style="display:#{identity.loggedIn?'block':'none'}" id="loginSuccess">
<td height="30" align="center" background="images/dl.gif" style="font-size:12px; color:#6d5352" colspan="2">您好:
<label id="loginedUserName">${username}</label>!</td>
<td width="56" height="30" align="right" background="images/dl.gif" style="font-size:12px; color:#6d5352">
- <HtmlForm enctype="application/x-www-form-urlencoded" id="j_id7" prependId="true" rendered="true" submitted="false" transient="false">
- <HtmlAjaxCommandLink action="#{util.does(identity.unAuthenticate(),events.raiseEvent('org.jboss.seam.security.loggedOut'))}" actionExpression="#{util.does(identity.unAuthenticate(),events.raiseEvent('org.jboss.seam.security.loggedOut'))}" ajaxSingle="true" bypassUpdates="false" disabled="false" id="j_id8" ignoreDupResponses="false" immediate="false" limitToList="false" oncomplete="document.getElementById('loginForm').style.display='block';document.getElementById('loginSuccess').style.display='none'" rendered="true" requestDelay="-2147483648" timeout="-2147483648" transient="false" value="退出"/>
- </HtmlForm>
- </td>
<td align="center" background="images/dl.gif" style="font-size:12px; color:#6d5352"><a href="customerPasswd.xhtml">密码修改</a></td>
<td align="center" background="images/dl.gif" style="font-size:12px; color:#6d5352"><a href="customerEdit.xhtml">注册信息修改</a></td>
<td width="76" align="left" background="images/dl.gif" style="font-size:12px; color:#6d5352; padding-left:30px"><a href="order.xhtml">产品购物车</a></td>
<td width="222" align="center" background="images/dl.gif" style=" font-size:12px;"><a href="javascript:;" onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://');">加入收藏</a> | <a href="javascript:;" onClick="window.external.addFavorite('http://www.zgcc.cn','自贡硬质合金有限公司')">设为首页</a></td>
</tr>
<tr>
<td colspan="8">
<table width="940" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="84" height="30" colspan="8"><img src="images/top.jpg" width="962" height="151"/></td>
</tr>
<tr>
<td width="84" height="36" style="background:url(images/3.gif) #af2429 no-repeat right; font-size:14px; font-weight:700; text-indent:2em"><a href="." class="a3">首页</a></td>
<td width="106" style="background:url(images/3.gif) #af2429 no-repeat right; font-size:14px; font-weight:700; text-indent:2em"><a href="javascript:;" onmouseover="showMenu(1,1)" class="a3">关于我们</a></td>
<td width="110" align="center" style="background:url(images/3.gif) #af2429 no-repeat right; font-size:14px; font-weight:700"><a href="javascript:;" onmouseover="showMenu(1,2)" class="a3">产品中心</a></td>
<td width="114" align="center" style="background:url(images/3.gif) #af2429 no-repeat right; font-size:14px; font-weight:700"><a href="javascript:;" onmouseover="showMenu(1,3)" class="a3">营销网络</a></td>
<td width="120" align="center" style="background:url(images/3.gif) #af2429 no-repeat right; font-size:14px; font-weight:700"><a href="list.xhtml?id=1" class="a3">公司新闻</a></td>
<td width="406" align="center" style="background:url(images/3.gif) #af2429 no-repeat right; font-size:14px; font-weight:700"/>
</tr>
</table>
</td>
</tr>
<tr>
<td height="30" colspan="8">
<table border="0" align="center" cellpadding="0" cellspacing="0" id="menu1_0" style="display:none">
<tr>
<td width="100" align="center" class="bgRightLine"><a href="list.xhtml?id=1">公司新闻</a></td>
<td width="100" align="center" class="bgRightLine"><a href="list.xhtml?id=5">行业动态</a></td>
<td width="100" align="center" class="bgRightLine"><a href="list.xhtml?id=6">市场资讯</a></td>
<td width="100" align="center"><a href="list.xhtml?id=14">重要通知</a></td>
</tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" id="menu1_2" style="display:none">
<tr>
<td width="100" align="center" class="bgRightLine"><a href="productList.xhtml?cid=1&type=1">硬质合金</a></td>
<td width="100" align="center" class="bgRightLine"><a href="productList.xhtml?cid=2&type=1">成品工具</a></td>
<td width="100" align="center" class="bgRightLine"><a href="productList.xhtml?cid=3&type=1">钨钼制品</a></td>
<td width="100" align="center"><a href="productList.xhtml?cid=4&type=1">粉末制品</a></td>
<td width="100" align="center"><a href="newProducts.xhtml">新品速递</a></td>
</tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" id="menu1_3" style="display:none">
<tr>
<td width="100" align="center" class="bgRightLine"><a href="show.xhtml?id=91">代理商网点</a></td>
<td width="100" align="center" class="bgRightLine"><a href="map.html">销售网络</a></td>
<td width="100" align="center" class="bgRightLine"><a href="#">电子商务</a></td>
<td width="100" align="center" class="bgRightLine"><a href="show.xhtml?id=75">服务承诺</a></td>
<td width="100" align="center" class="bgRightLine"><a href="show.xhtml?id=74">服务流程</a></td>
</tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" id="menu1_1" style="display:none">
<tr>
<td width="100" align="center" class="bgRightLine"><a href="show.xhtml?id=414">企业简介</a></td>
<td width="100" align="center" class="bgRightLine"><a href="show.xhtml?id=66">领导致词</a></td>
<td width="100" align="center" class="bgRightLine"><a href="list.xhtml?id=11">企业文化</a></td>
<td width="100" align="center" class="bgRightLine"><a href="show.xhtml?id=22">资质荣誉</a></td>
<td width="100" align="center" class="bgRightLine"><a href="show.xhtml?id=118">企业框架</a></td>
<td width="100" align="center" class="bgRightLine"><a href="show.xhtml?id=480">环境信息</a></td>
</tr>
</table> </td>
</tr>
</table>
- <table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="220" valign="top">
- <HtmlRemote id="j_id11" include="authenticator" rendered="true" transient="false"/>
- <script language="javascript">
<!--
Seam.Remoting.loadingMessage = "正在登录,请稍后......"
function doLogin(){
var username = document.getElementById("username").value;
var password = document.getElementById("passwd").value;
var yzm = document.getElementById("validateCode").value;
//callback(true)
Seam.Component.getInstance("authenticator").login(username, password, yzm, 'customer', callback);
}
function callback(result){
if( result ){
//window.location.href="admin";
document.getElementById("loginSuccess").style.display='block'
document.getElementById("loginForm").style.display='none'
document.getElementById("passwd").value=''
}else{
alert("用户/密码或验证码不正确");
document.getElementById("yzmimg").src="validateCode.jpg?now=" + Math.random();
}
}
function logout(){
document.getElementById('loginForm').style.display='block';
document.getElementById('loginSuccess').style.display='none'
document.getElementById("yzmimg").src="validateCode.jpg?now=" + Math.random();
}
-->
</script>
<table width="220" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3"><img src="images/6.gif" width="3" height="3"/></td>
<td width="214" style="background:url(images/30.gif) repeat-x top"/>
<td width="3"><img src="images/7.gif" width="3" height="3"/></td>
</tr>
<tr>
<td style="background:url(images/30.gif) repeat-y left"/>
<td height="135">
<div style="display:#{identity.hasRole('customer')?'none':'block'}" id="loginForm">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<!--ajaxSubmit="true" ajaxSingle="true" reRender="loginSuccess" limitToList="true"-->
<input type="hidden" name="type" value="customer"/>
<tr>
<td width="57%" height="27" style="color:#F03800; font-size:14px; font-weight:700">用户登陆</td>
<td width="43%" align="center"> <a href="register.xhtml"><img src="images/11.gif" width="58" height="19" border="0"/></a></td>
</tr>
<tr>
<td height="27" colspan="2">用户名:
- <HtmlInputText disabled="false" id="username" immediate="false" localValueSet="false" maxlength="20" readonly="false" rendered="true" required="false" size="10" style="height:14px; width:80px; border:1px solid #CFCECA; background:#F5F4F0" transient="false" valid="true"/>
- </td>
</tr>
<tr>
<td height="27" colspan="2">密 码:
- <HtmlInputSecret disabled="false" id="passwd" immediate="false" localValueSet="false" maxlength="20" readonly="false" redisplay="false" rendered="true" required="false" size="16" style="height:14px; width:80px; border:1px solid #CFCECA; background:#F5F4F0" transient="false" valid="true"/>
- <a href="#">忘记密码</a></td>
</tr>
<tr>
<td rowspan="2"><span><img src="validateCode.jpg" alt="验证码,看不清楚?请点击刷新验证码" border="0" style="cursor:pointer;" id="yzmimg" width="113" height="50" onclick="this.src='validateCode.jpg?rd='+Math.random()"/></span></td>
<td height="27"> 验证码:
- <HtmlInputText disabled="false" id="validateCode" immediate="false" localValueSet="false" maxlength="10" readonly="false" rendered="true" required="false" size="10" style="height:14px; width:35px; border:1px solid #CFCECA; background:#F5F4F0" transient="false" valid="true"/>
- </td>
</tr>
<tr>
<td height="27" align="center"><input type="image" src="images/10.gif" onclick="doLogin();"/></td>
</tr>
</table>
</div>
<div style="display:#{identity.hasRole('customer')?'block':'none'}" id="loginSuccess">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr height="30"><td>欢迎${username}</td>
<td>
- <HtmlForm enctype="application/x-www-form-urlencoded" id="j_id16" prependId="true" rendered="true" submitted="false" transient="false">
- <HtmlAjaxCommandLink action="#{util.does(identity.unAuthenticate(),events.raiseEvent('org.jboss.seam.security.loggedOut'))}" actionExpression="#{util.does(identity.unAuthenticate(),events.raiseEvent('org.jboss.seam.security.loggedOut'))}" ajaxSingle="true" bypassUpdates="false" disabled="false" id="j_id17" ignoreDupResponses="false" immediate="false" limitToList="false" oncomplete="logout()" rendered="true" requestDelay="-2147483648" timeout="-2147483648" transient="false" value="退出"/>
- </HtmlForm>
- </td>
</tr>
<tr height="30"><td><a href="customerPasswd.xhtml">密码修改</a></td>
<td><a href="customerEdit.xhtml">注册信息修改</a></td>
<td><a href="order.xhtml">产品购物车</a></td>
</tr>
<!--tr height="30">
<td colspan="2"><a href="barcode.xhtml">产品条形码查询</a></td>
</tr-->
</table>
</div>
</td>
<td style="background:url(images/30.gif) repeat-y right"/>
</tr>
<tr>
<td><img src="images/8.gif" width="3" height="3"/></td>
<td style="background:url(images/30.gif) repeat-x bottom"/>
<td><img src="images/9.gif" width="3" height="3"/></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="27%" height="26"><img src="images/16.gif" width="54" height="24"/></td>
<td width="73%" align="center" style="background:url(images/31.gif) no-repeat center; font-size:12px; color:#7d5416; font-weight:bold"><a href="#" target="_blank" class="a2">成都分公司</a></td>
</tr>
<tr>
<td height="26"><img src="images/17.gif" width="54" height="24"/></td>
<td align="center" style="background:url(images/31.gif) no-repeat center; font-size:12px; color:#7d5416; font-weight:bold"><a href="#" target="_blank" class="a2">硬面材料公司</a></td>
</tr>
<tr>
<td height="26"><img src="images/18.gif" width="54" height="24"/></td>
<td align="center" style="background:url(images/31.gif) no-repeat center; font-size:12px; color:#7d5416; font-weight:bold"><a href="#" target="_blank" class="a2">亚西泰克公司</a></td>
</tr>
<tr>
<td height="26"><img src="images/19.gif" width="54" height="24"/></td>
<td align="center" style="background:url(images/31.gif) no-repeat center; font-size:12px; color:#7d5416; font-weight:bold"><a href="#" target="_blank" class="a2">成都格润特分公司</a></td>
</tr>
<tr>
<td height="26"><img src="images/17.gif" width="54" height="24"/></td>
<td align="center" style="background:url(images/31.gif) no-repeat center; font-size:12px; color:#7d5416; font-weight:bold"><a href="#" target="_blank" class="a2">科瑞德公司</a></td>
</tr>
</table><table width="100%" border="0" cellspacing="0" cellpadding="0" style="background:#fff9fa; border:1px solid #e0c9ca; margin:5px 0 0 0">
<tr>
<td width="12%" height="20" align="center"><img src="images/21.gif" width="11" height="11"/></td>
<td width="88%" height="30" style="font-weight:700">营销中心</td>
</tr>
<tr>
<td colspan="2">
<a href="map.html"><img src="mapImages/0.gif" width="213" height="152" border="0"/></a> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background:#fff9fa; border:1px solid #e0c9ca; margin:5px 0 0 0">
<tr>
<td width="12%" height="20" align="center"><img src="images/21.gif" width="11" height="11"/></td>
<td width="88%" height="30" style="font-weight:700">代理营销网络</td>
</tr>
<tr>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" align="center" style="background:url(images/24.gif) no-repeat center"><a href="show.xhtml?id=68" target="_blank" style="color:#7d5416; font-size:14px; font-weight:700">华北</a></td>
<td align="center" style="background:url(images/24.gif) no-repeat center"><a href="show.xhtml?id=69" target="_blank" style="color:#7d5416; font-size:14px; font-weight:700">东北</a></td>
</tr>
<tr>
<td height="30" align="center" style="background:url(images/24.gif) no-repeat center"><a href="show.xhtml?id=70" target="_blank" style="color:#7d5416; font-size:14px; font-weight:700">西南</a></td>
<td align="center" style="background:url(images/24.gif) no-repeat center"><a href="show.xhtml?id=71" target="_blank" style="color:#7d5416; font-size:14px; font-weight:700">西北</a></td>
</tr>
<tr>
<td height="30" align="center" style="background:url(images/24.gif) no-repeat center"><a href="show.xhtml?id=72" target="_blank" style="color:#7d5416; font-size:14px; font-weight:700">华东</a></td>
<td align="center" style="background:url(images/24.gif) no-repeat center"><a href="show.xhtml?id=73" target="_blank" style="color:#7d5416; font-size:14px; font-weight:700">华中</a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background:#fff9fa; border:1px solid #e0c9ca; margin:5px 0 0 0">
<tr>
<td width="12%" height="20" align="center"><img src="images/21.gif" width="11" height="11"/></td>
<td width="88%" height="30" style="font-weight:700">客户服务</td>
</tr>
<tr>
<td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-weight:bold">
<tr>
<td height="26" align="center"><a href="show.xhtml?id=74" target="_blank">- 服务流程</a></td>
<td align="center"><a href="show.xhtml?id=75" target="_blank">- 服务承诺</a></td>
</tr>
<tr>
<td height="26" align="center"><a href="#" target="_blank">- 电子商务</a></td>
<td align="center"><a href="barcode.xhtml" target="_blank">- 防伪查询</a></td>
</tr>
<tr>
<td height="26" align="center"><a href="#" target="_blank">- 客户投诉</a></td>
<td align="center"><a href="#" target="_blank">- 用户留言</a></td>
</tr>
</table></td>
</tr>
</table>
- </td>
<td valign="top"><table width="94%" height="452" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="border-bottom:1px solid #C3D3DE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5%" height="23" align="center"><img src="images/12.gif" width="8" height="8"/></td>
<td width="81%" style="font-size:14px; font-weight:700; color:#012D6F"><a href="." style="color:#012D6F">首页</a> >> <a href="#" style="color:#012D6F">${product.category.name}</a></td>
<td width="14%">
- <HtmlForm enctype="application/x-www-form-urlencoded" id="j_id20" prependId="true" rendered="true" submitted="false" transient="false">
- <HtmlAjaxCommandLink ajaxSingle="true" bypassUpdates="false" data="false" disabled="false" id="j_id21" ignoreDupResponses="false" immediate="false" limitToList="false" oncomplete="toOrder(data)" rendered="true" requestDelay="-2147483648" timeout="-2147483648" transient="false">
- 订购
- </HtmlAjaxCommandLink>
- </HtmlForm>
- </td>
</tr>
</table></td>
</tr>
<tr>
<td height="40" align="center" style="font-size:20px; color:red; font-weight:bold; ">${product.name}</td>
</tr>
- <ComponentRef id="j_id24" rendered="true" transient="false">
- <tr>
<td align="center" valign="top" colspan="10" style=" padding:10px; line-height:20px;">
<div><img id="img1" src="product/${product.picture}" onload="if(this.width>200) this.style.width=200;"/></div>
<br/>
${product.picDesc}</td>
</tr>
- </ComponentRef>
- <ComponentRef id="j_id26" rendered="true" transient="false">
- <tr>
<td align="center" valign="top" colspan="10" style=" padding:10px; line-height:20px;">
<div><img id="img2" src="product/${product.picture2}" onload="if(this.width>500) this.style.width=500;"/></div>
</td>
</tr>
- </ComponentRef>
- <tr>
<td height="263" valign="top" style="line-height:20px;">
- <HtmlOutputText escape="false" id="j_id29" rendered="true" transient="false" value=""/>
- </td>
</tr>
</table></td>
</tr>
</table>
<script language="javascript">
<!--
function toOrder(isLoggin){
//alert(isLoggin);
if(isLoggin) window.location.href='order.xhtml?code=${product.code}'
else alert('请先登录')
}
-->
</script>
- <table width="940" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px; border-top:1px solid #E1DED4">
<tr>
<td height="80" align="center" style="background:url(images/4.gif) no-repeat ; background-position:30px 10px; line-height:20px;">Copyright 2005 自贡硬质合金有限责任公司 备案序号:蜀ICP备05012790号
</td>
</tr>
</table>
- </body>
</html>
- </AjaxViewRoot>
| Name | Value |
|---|---|
| code | CNMG-ZM |
| Name | Value |
|---|---|
| REMOTE_SCRIPT | true |
| ajaxContext | org.ajax4jsf.context.AjaxContextImpl@1474ca1 |
| product | zgdx.carbide764.entity.Product@fdfe05 |
| productServ | zgdx.carbide764.business.ProductService@1f7f74d |
| Name | Value |
|---|---|
| None | |
| Name | Value |
|---|---|
| ejbUtils | zgdx.Utils@90b8b9 |
| securityRules | org.jboss.seam.drools.RuleBase@1a40dee |
| webdir | D:\jboss-4.2.3\jboss-4.2.3.GA-jdk6\jboss-4.2.3.GA\server\default\.\deploy\carbide764.ear\carbide764.war\ |