Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

JSP Labels becoming in unreadable format

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

When the JSP's are loaded, our labels in the JSP are shown in unreadable format.
We are using struts1.1 and tested in IE8 and please find the attached screen shot and jsp code.

Please let us know what might be the issue and possible solution.

Any help is highly appreciated.

Thanks,
Venkat.

Please find below code.

<%@ page import="test.Constants,java.util.ArrayList,test.DropDetailsDTO" %>
<%@ page import="test.UserVO" %>
<%@ page import="test.SingleInvoiceDto" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Test</title>
<script type="text/javascript" src="scripts/CBValidation.js"></script>
<script type="text/javascript" src="scripts/ie-select-width-fix.js"></script>
<style type="text/css">
#ExistingCircuit,#EBSMember,#CustomerSLA,#CustomerSLA1,
#pincode,#valueOfN,
#interface3A,#custequipment,#custequipment,
#infc3A,#infc3B,#cust3A,#cust3B,
#pt_A_Interface3,#pt_B_Interface3,#pt_A_Conncetor_Type,#pt_B_Connector_Type,#shiftReqId,#maxBand,
#secondLink,#primLink,#thirdparty_label_b,#thirdparty_label_a,#noOfDropsId,#dropsTableTrId,#dropsHeaderId,#ftp_Details,
#circles_dlc
{display:none}

</style>
<%
UserVO user = (UserVO)request.getSession(false).getAttribute(EmpowerConstants.SESSION_USERVO);
String userId = user.getUserId();
String dropsList = (String)request.getAttribute("dropsList");
String uniqueId="";
uniqueId=(String)request.getAttribute("uniqueId");
uniqueId=uniqueId!=null?uniqueId:"";

SingleInvoiceDto dto=(SingleInvoiceDto)session.getAttribute("invoiceFields");
if(dto==null)
{
dto=new SingleInvoiceDto();
}
%>
<script>
var rootObj;
var jsonArray = <%=dropsList%>;
if(jsonArray != null) {
rootObj =jsonArray.root;
}

//added by Sandhya for FTSP

function showFTSPDetails(obj)
{
if(obj=='YES')
{
document.getElementById("ftp_Details").style.display="block";
}
else
{
document.getElementById("ftsp_a").value="";
document.getElementById("ftsp_b").value="";
document.getElementById("ftp_Details").style.display="none";
}
}

//ended by Sandhya

//added by subha



function validateBw() {
var rate= document.getElementById("calc_Value_Mbps").value;
var units= document.getElementById("bw_units").value;
var slaType=document.getElementById("sla_Type").value;
var actualBwReq=document.getElementById("hiddenBandwidth").value;
var actualBwUnits=document.getElementById("hiddenBw_units").value;
//var actualBwUnits="";
var bwSelected=document.getElementById("BandWidth").value;
if(units!='' && rate!=''){
if(bwSelected=="Other"){
//document.getElementById("calc_Value_Mbps").value=actualBwReq;
//document.getElementById("bw_units").value=actualBwUnits;
//return false;
}
var xmlHttp=createAjaxObject();
var url="nplcUpgrade.do?methodToCall=validateBw&units="+units+"&rate="+rate+"&prdType=DLC"+"&epl=YES"+"&cosType="+slaType;
xmlHttp.onreadystatechange=function()
{
if(xmlHttp.readyState==4)
{
var status = xmlHttp.responseText;
if(status != 'success' ) {
alert(status);
document.getElementById("txtBandwidth").value='';
document.getElementById("txtBanwidthUnits").value='';
document.getElementById("value_Of_n").value='';
document.getElementById("BandWidth").focus();
}
}
}
xmlHttp.open("POST",url,true);
xmlHttp.send(null);
}
}


//ended by subha
function isNumeric(obj)
{
var data=obj.value;
var numString="0123456789";
var flag=false;
for(var i=0;i<data.length;i++)
{
var d=data.charAt(i);
// if(d=='.')
// {
// if(flag==false)
// {
// flag=true;
// }
// else
// {
// //alert('please enter decimal vlaues only');
// obj.value="";
// return false;
// }
// }
if(numString.indexOf(d)==-1)
{
// alert('please enter numeric values only');
obj.value="";
return false;
}

}
return true;
}

function getMarketSegments(obj)
{
document.getElementById('market_Seg').options.length=1;

var xmlHttp=createAjaxObject();
var objTxt = obj.options[obj.selectedIndex].text;
var cmpName = document.getElementById("company_Name").value;
var user = document.getElementById("brmNo").value;
var url="wirelineData.do?methodToCall=getMarketSegmentsOnAjaxCall&company_Catg="+objTxt+"&userId="+user+"&cmpName="+cmpName;

xmlHttp.onreadystatechange=function()
{
if(xmlHttp.readyState==4)
{
var fanList = xmlHttp.responseText.split(";");
for(var i =0;i<fanList.length;i++)
{
var fans=fanList[i].split('#');
if(fans.length != 0 && fans!=""){
AddItem('market_Seg',fans[1],fans[1]);
}
}
}
}
xmlHttp.open("POST",url,true);
xmlHttp.send(null);

if(obj.options[obj.selectedIndex].text == 'Unlisted') {
var markSeg = document.getElementById("market_Seg");
markSeg.value = ' ';
document.getElementById("market_Seg").disabled = true;
}else{
document.getElementById("market_Seg").disabled = false;
}
document.getElementById("acct_Category").value = "";


}

function getAjaxValues() {
displayStan_Prem(document.getElementById("sla_Type"));
}

function showLink() {

if(document.getElementById("link").value == "Primary") {
document.getElementById("primLink").style.display = "none";
}else {
document.getElementById("primLink").style.display = "block";
}
}
// Added By Anil for IN5603 14062011


function displayBandwidth() {

if(document.getElementById("fan_Type").value == 'Leased line-DLC Modification') {

var xmlHttp=createAjaxObject();

var strAct = document.getElementById("activity").options[document.getElementById("activity").selectedIndex].value;
var tmpBandwidth = document.getElementById("hiddenBandwidth").value;
if(tmpBandwidth == '' ) {
tmpBandwidth = document.getElementById("BandWidth").options[document.getElementById("BandWidth").selectedIndex].value;
}
if(strAct != 'Shifting' ) {
document.getElementById("BandWidth").disabled=false;
document.getElementById("BandWidth").options.length=1;
var url="wirelineData.do?methodToCall=getBandwidthDetailsOnAjaxCall&strActivity="+strAct+"&strBandwidth="+tmpBandwidth;
xmlHttp.onreadystatechange=function()
{
if(xmlHttp.readyState==4)
{
var fanList = xmlHttp.responseText.split(";");
for(var i =0;i<fanList.length;i++)
{
var fans=fanList[i].split('#');

if(fans.length != 0 && fans!=""){
AddItem('BandWidth',fans[1],fans[1]);

}
}
}
}
xmlHttp.open("POST",url,true);
xmlHttp.send(null);
}else {
document.getElementById("BandWidth").options.length=1;
AddItem('BandWidth',tmpBandwidth, tmpBandwidth);
document.getElementById("BandWidth").options[document.getElementById("BandWidth").selectedIndex].value = tmpBandwidth;
//document.getElementById("BandWidth").disabled=true;
}

}
}

function validateEbsMember(obj) {


var xmlHttp=createAjaxObject();
var strEbs = document.getElementById("ebs_Member");
var url="wirelineData.do?methodToCall=validateEbsMember&ebsMember="+strEbs.value;

xmlHttp.onreadystatechange=function()
{
if(xmlHttp.readyState==4)
{
var msg = xmlHttp.responseText;
if(msg != '' ) {
strEbs.value = '';
alert(msg);
strEbs.focus();
}
}
}
xmlHttp.open("POST",url,true);
xmlHttp.send(null);

}


function displayShift(obj) {
if(obj.options[obj.selectedIndex].value == 'Shifting' || obj.options[obj.selectedIndex].value == 'Shift+Upgrade' || obj.options[obj.selectedIndex].value == 'Shift+Downgrade' ) {
document.getElementById("shiftReqId").style.display = "block";
}else {
document.getElementById("shiftReqId").style.display = "none";

}
if(obj.options[obj.selectedIndex].value == 'Upgrade' ||
obj.options[obj.selectedIndex].value == 'Downgrade' ||
obj.options[obj.selectedIndex].value == 'Shifting' ||
obj.options[obj.selectedIndex].value == 'Shift+Upgrade' ||
obj.options[obj.selectedIndex].value == 'Shift+Downgrade') {

document.getElementById("service_Sla").disabled = false;
document.getElementById("sla_Type").disabled = false;
document.getElementById("sla_Param").disabled = false;
document.getElementById("cust_Pre_Sla").readOnly = false;
document.getElementById("network_uptime").readOnly = false;
document.getElementById("indicative_latency").readOnly = false;
document.getElementById("packet_droprate").readOnly = false;
document.getElementById("cust_Pre_Sla_yes").readOnly = false;
document.getElementById("cust_Pre_Sla_no").readOnly = false;
document.getElementById("pt_A_Media_Type").disabled = false;
document.getElementById("pt_B_Media_Type").disabled = false;
document.getElementById("pt_A_Interface1").disabled = false;
document.getElementById("pt_B_Interface1").disabled = false;
document.getElementById("pt_A_Interface2").disabled = false;
document.getElementById("pt_B_Interface2").disabled = false;
document.getElementById("infc3A").disabled = false;
document.getElementById("infc3B").disabled = false;
document.getElementById("remarks").readOnly = false;


}
}

function enableData(obj) {
if(obj.options[obj.selectedIndex].value == 'Point-A') {


document.getElementById("pt_A_Building").disabled = false;
document.getElementById("pt_A_Cust_Addr").readOnly = false;
document.getElementById("pt_A_Address2").readOnly = false;
document.getElementById("pt_A_Address3").readOnly = false;
document.getElementById("request_Typ").disabled = false;
if(document.getElementById("txtPin3DigitA") != undefined) {
document.getElementById("txtPin3DigitA").readOnly = false;
}
if(document.getElementById("pt_A_Pin_Code") != undefined) {
document.getElementById("pt_A_Pin_Code").readOnly = false;
}
document.getElementById("pt_A_Contact_Person").readOnly = false;
document.getElementById("pt_A_Moblie_No").readOnly = false;
document.getElementById("pt_A_Email_Id").readOnly = false;
document.getElementById("pt_A_Conncetor_Type").readOnly = false;
document.getElementById("pt_B_Building").disabled = true;
document.getElementById("pt_B_Cust_Addr").readOnly = true;
document.getElementById("pt_B_Address2").readOnly = true;
document.getElementById("pt_B_Address3").readOnly = true;

if(document.getElementById("txtPin3DigitB") != undefined) {
document.getElementById("txtPin3DigitB").readOnly = true;
}
if(document.getElementById("pt_B_Pin_Code") != undefined) {
document.getElementById("pt_B_Pin_Code").readOnly = true;
}
document.getElementById("pt_B_Conctact_Person").readOnly = true;
document.getElementById("pt_B_Moblie_No").readOnly = true;
document.getElementById("pt_B_Email_Id").readOnly = true;

//added by vasanthi 21062011
document.getElementById("pt_B_Interface1").disabled = true;
document.getElementById("pt_B_Interface2").disabled = true;
document.getElementById("pt_B_Media_Type").disabled = true;
document.getElementById("pt_A_Interface1").disabled = false;
document.getElementById("pt_A_Interface2").disabled = false;
document.getElementById("pt_A_Media_Type").disabled = false;
document.getElementById("pt_A_Interface3").disabled = false;
document.getElementById("pt_A_Conncetor_Type").disabled =false;

//document.getElementById("pt_B_Cust_Addr").options[document.getElementById("pt_B_Cust_Addr").selectedIndex] = 0;

//document.getElementById("pt_B_Address2").value = "";
//document.getElementById("pt_B_Address3").value = "";
//document.getElementById("txtPin3DigitB").value = "";
//document.getElementById("pt_B_Pin_Code").value = "";
//document.getElementById("pt_B_Conctact_Person").value = "";
///document.getElementById("pt_B_Moblie_No").value = "";
//document.getElementById("pt_B_Email_Id").value = "";
//document.getElementById("pt_B_Conncetor_Type").value = "";






}else if(obj.options[obj.selectedIndex].value == 'Point-B') {
document.getElementById("pt_A_Building").disabled = true;
document.getElementById("pt_A_Cust_Addr").readOnly = true;
document.getElementById("pt_A_Address2").readOnly = true;
document.getElementById("pt_A_Address3").readOnly = true;
if(document.getElementById("txtPin3DigitA") != undefined) {
document.getElementById("txtPin3DigitA").readOnly = true;
}
if(document.getElementById("pt_A_Pin_Code") != undefined) {
document.getElementById("pt_A_Pin_Code").readOnly = true;
}
document.getElementById("pt_A_Contact_Person").readOnly = true;
document.getElementById("pt_A_Moblie_No").readOnly = true;
document.getElementById("pt_A_Email_Id").readOnly = true;
document.getElementById("pt_A_Conncetor_Type").readOnly = true;
document.getElementById("pt_B_Building").disabled = false;
document.getElementById("pt_B_Cust_Addr").readOnly = false;
document.getElementById("pt_B_Address2").readOnly = false;
document.getElementById("pt_B_Address3").readOnly = false;
document.getElementById("request_Typ").disabled = false;
if(document.getElementById("txtPin3DigitB") != undefined) {
document.getElementById("txtPin3DigitB").readOnly = false;
}
if(document.getElementById("pt_B_Pin_Code") != undefined) {
document.getElementById("pt_B_Pin_Code").readOnly = false;
}
document.getElementById("pt_B_Conctact_Person").readOnly = false;
document.getElementById("pt_B_Moblie_No").readOnly = false;
document.getElementById("pt_B_Email_Id").readOnly = false;
//added by vasanthi 21062011
document.getElementById("pt_A_Interface1").disabled = true;
document.getElementById("pt_A_Interface2").disabled = true;
document.getElementById("pt_A_Media_Type").disabled = true;
document.getElementById("pt_B_Interface1").disabled = false;
document.getElementById("pt_B_Interface2").disabled = false;
document.getElementById("pt_B_Media_Type").disabled = false;
document.getElementById("pt_B_Interface3").disabled = false;
document.getElementById("pt_B_Conncetor_Type").disabled =false;
//document.getElementById("pt_B_Conncetor_Type").readOnly = false;



}else {
document.getElementById("pt_A_Building").readOnly = true;
document.getElementById("pt_A_Cust_Addr").readOnly = true;
document.getElementById("pt_A_Address2").readOnly = true;
document.getElementById("pt_A_Address3").readOnly = true;
if(document.getElementById("txtPin3DigitA") != undefined) {
document.getElementById("txtPin3DigitA").readOnly = true;
}
if(document.getElementById("pt_A_Pin_Code") != undefined) {
document.getElementById("pt_A_Pin_Code").readOnly = true;
}
document.getElementById("pt_A_Contact_Person").readOnly = true;
document.getElementById("pt_A_Moblie_No").readOnly = true;
document.getElementById("pt_A_Email_Id").readOnly = true;
document.getElementById("pt_A_Conncetor_Type").readOnly = true;
document.getElementById("pt_B_Building").disabled = true;
document.getElementById("pt_B_Cust_Addr").readOnly = true;
document.getElementById("pt_B_Address2").readOnly = true;
document.getElementById("pt_B_Address3").readOnly = true;
document.getElementById("request_Typ").disabled = true;
if(document.getElementById("txtPin3DigitB") != undefined) {
document.getElementById("txtPin3DigitB").readOnly = true;
}
if(document.getElementById("pt_B_Pin_Code") != undefined) {
document.getElementById("pt_B_Pin_Code").readOnly = true;
}
document.getElementById("pt_B_Conctact_Person").readOnly = true;
document.getElementById("pt_B_Moblie_No").readOnly = true;
document.getElementById("pt_B_Email_Id").readOnly = true;
//document.getElementById("pt_B_Conncetor_Type").readOnly = false;
}
}

// Ended by Anil
/* function openFile(index, fileName) {
document.cbForm.methodToCall.value ='openFileAttached';
document.cbForm.fileIndex.value = index;
document.cbForm.hiddenFanNo.value = '<bean:write name="cbFanForm" property="fan_No" />';
document.cbForm.submit();
}*/
//addded by sandhya
function openFile(index,fanNumber, fileName) {
window.open("FanViewAction.do?methodToCall=openFanFileInView&index="+index+"&fanNumber="+fanNumber+"&product=DLC&fileName="+ fileName+"&level=BRM&showPopUp=yes&Mode=Auto","","width=800,height=600,scrollbars=yes,resizable=yes,status=yes,menubar=no,left=10,top=10");
}
//ended by sandhya
function checkRequestType() {
document.getElementsByName('request_Typ')[0].options.length=1;
if((document.getElementsByName('pt_A_Building')[0].value == '') || (document.getElementsByName('pt_B_Building')[0].value == '')) {
AddItem('request_Typ','OFF-NET', 'OFF-NET');
//document.getElementById("sampleAcntId").style.display = 'none';
}
// else if(document.getElementById('no_Links_Req').value != '' && document.getElementById('no_Links_Req').value > 1) {
// AddItem('request_Typ','OFF-NET', 'OFF-NET');
// //document.getElementById("sampleAcntId").style.display = 'none';
// }
else
{
AddItem('request_Typ','ON-NET', 'ON-NET');
//document.getElementById("sampleAcntId").style.display = 'block';
}

if(document.getElementsByName('pt_A_Building')[0].value != '') {
document.getElementById("sitea").value = document.getElementsByName('pt_A_Building')[0].value;
}

if(document.getElementsByName('pt_B_Building')[0].value != '') {
document.getElementById("siteb").value = document.getElementsByName('pt_B_Building')[0].value;
}

document.getElementsByName('request_Typ')[0].selectedIndex = 1;

}


function displayMediaType(obj) {

var xmlHttp=createAjaxObject();

document.getElementById("pt_A_Media_Type").options.length=1;
document.getElementById("pt_B_Media_Type").options.length=1;

var url="wirelineData.do?methodToCall=getMediaTypeOnAjaxCall&lessThanTwo="+obj;
xmlHttp.onreadystatechange=function() {
if(xmlHttp.readyState==4){
var fanList = xmlHttp.responseText.split(";");
for(var i =0;i<fanList.length;i++){
var fans=fanList[i].split('#');
if(fans.length != 0 && fans!=""){
AddItem('pt_A_Media_Type',fans[1],fans[1]);
AddItem('pt_B_Media_Type',fans[1],fans[1]);
}
}
}
}
xmlHttp.open("POST",url,true);
xmlHttp.send(null);



}


function displayCalcValue(obj) {
//alert(obj.value);
var selValue = 0;
var selUnit = '';
//added by sandhya
if(obj.value=='Other')
{

//document.getElementById("txtBandwidth").readOnly=false;
//document.getElementById("txtBanwidthUnits").disabled=false;
document.getElementById("OtherBandwidth").style.display="block";
document.getElementById("valueOfN").style.display = "none";
document.getElementById("value_Of_n").value = '';
}
else{
document.getElementById("txtBandwidth").value='';
document.getElementById("txtBanwidthUnits").value='';
//document.getElementById("txtBandwidth").readOnly=true;
//document.getElementById("txtBanwidthUnits").disabled=true;
document.getElementById("OtherBandwidth").style.display="none";
//ended by sandhya
if(obj.options[obj.selectedIndex].value == '1 Mbps') {
selValue = 1;
selUnit = 'Mbps';
}else if(obj.options[obj.selectedIndex].value == 'E1 - 2 Mbps') {
selValue = 2;
selUnit = 'Mbps';
}else if(obj.options[obj.selectedIndex].value == 'E3 - 34 Mbps') {
selValue = 34;
selUnit = 'Mbps';
}else if(obj.options[obj.selectedIndex].value == 'DS3 - 45 Mbps') {
selValue = 45;
selUnit = 'Mbps';
}else if(obj.options[obj.selectedIndex].value == 'STM 1 - 63 E1s') {
selValue = 155;
selUnit = 'Mbps';
}else if(obj.options[obj.selectedIndex].value == 'STM 4 - 4 * STM 1') {
selValue = 620;
selUnit = 'Mbps';
}else if(obj.options[obj.selectedIndex].value == 'STM 16 - 16 * STM 1') {
selValue = 2480;
selUnit = 'Mbps';
}else if(obj.options[obj.selectedIndex].value == 'Multiple E1s - N * E1s') {
selValue = 2;
selUnit = 'Mbps';
}else if(obj.options[obj.selectedIndex].value.indexOf('128 Kbps') != -1 ) {
selValue = 128;
selUnit = 'Kbps';
}else if(obj.options[obj.selectedIndex].value.indexOf('256 Kbps') != -1 ) {
selValue = 256;
selUnit = 'Kbps';
}else if(obj.options[obj.selectedIndex].value.indexOf('512 Kbps') != -1 ) {
selValue = 512;
selUnit = 'Kbps';
}
else if(obj.options[obj.selectedIndex].value.indexOf('64 Kbps') != -1 ) {
selValue = 64;
selUnit = 'Kbps';
}

document.getElementById("bw_units").value = selUnit;
//document.getElementById("bw_In_Mbps").value = selValue;
document.getElementById("calc_Value_Mbps").value = selValue;
if(obj.options[obj.selectedIndex].text == 'Multiple E1s - N * E1s' ) {
document.getElementById("valueOfN").style.display = "block";
//document.getElementById("bw_In_Mbps").value = "";
//document.getElementById("bwInMbps").style.display = "none";
}else {
document.getElementById("valueOfN").style.display = "none";
document.getElementById("value_Of_n").value = '';
//document.getElementById("bwInMbps").style.display = "block";
}

/* if(selUnit == 'Mbps' || selUnit == 'Kbps') {
if(selUnit == 'Mbps') {
if(parseInt(selValue) < 2 ) {
displayMediaType('Y');
}else {
displayMediaType('N');
}
}else {
displayMediaType('Y');
}
}*/
}
if(obj.value!='Other'){
validateBw();
}
}
//added by sandhya
function displayNetBandwidth()
{
document.getElementById("bw_units").value = document.getElementById("txtBanwidthUnits").value ;
document.getElementById("calc_Value_Mbps").value = document.getElementById("txtBandwidth").value ;
if(document.getElementById("bw_units").value!='' && document.getElementById("calc_Value_Mbps").value!=''){
validateBw();
}
}

//ended by sandhya
function calcOfN() {
if(document.getElementById("value_Of_n").value != '' ) {
//var calcValue = document.getElementById("value_Of_n").value; // document.getElementById("bw_In_Mbps").value * document.getElementById("value_Of_n").value
var calcValue = 2 * document.getElementById("value_Of_n").value;//added by sandhya
document.getElementById("calc_Value_Mbps").value = calcValue ;
validateBw(); // added by sandhya on 30thApril2013
}
}
// Added By Anil #COCC13210
function checkMaxBandwidth() {
if(document.getElementById("bandwidth_on_demand").value == "Yes") {
document.getElementById("maxBand").style.display = "block";
}else {
document.getElementById("maxBand").style.display = "none";
}
}
// Ended by Anil #COCC13210
function submitDraft(frm)
{

if(document.getElementById("fan_Type").selectedIndex == 0 ) {
alert("Please select Fan Type ");
document.getElementById("fan_Type").focus();
return;
}
//modified by Anil 13062011
//if(document.getElementById("pt_A_Location").selectedIndex!=0)
//{
//
////document.getElementById("pt_A_Pin_Code").value = document.getElementById("hiddenPincodeA").value+document.getElementById("txtPin3DigitA").value;
//document.getElementById("pt_A_Pin_Code").value = document.getElementById("txtPin3DigitA").value;
//}
//if(document.getElementById("pt_B_Location").selectedIndex!=0)
//{
////document.getElementById("pt_B_Pin_Code").value = document.getElementById("hiddenPincodeB").value+document.getElementById("txtPin3DigitB").value;
//document.getElementById("pt_B_Pin_Code").value = document.getElementById("txtPin3DigitB").value;
//}
//
// if(document.getElementById("fan_Type").options[document.getElementById("fan_Type").selectedIndex].value == 'Leased line-DLC Modification') {
// isDisabled = false;
//
// if (document.all || document.getElementById) {
// for (i = 0; i < frm.length; i++) {
// var formElement = frm.elements[i];
// if (true) {
// if(formElement.type == 'select-one') {
// formElement.disabled = isDisabled;
// }else {
// formElement.readOnly = isDisabled;
// }
// }
// }
// }
// }
////end by Anil 13062011
document.cbForm.hiddenIsDrafts.value = true;
// if(document.getElementById("existingCircuitId") != undefined ) {
// var cirObj = document.getElementById("existingCircuitId");
// document.cbForm.hiddenCircuitId.value = cirObj.options[cirObj.selectedIndex].text;
// }
//
//document.cbForm.methodToCall.value = 'insertFanDetails';
document.cbForm.action = "wirelineData.do?methodToCall=insertFanDetails";
document.cbForm.submit();
}

function validateCircuitId(obj) {

var xmlHttp=createAjaxObject();
var strEbs = document.getElementById("ebs_Member");
var url="wirelineData.do?methodToCall=validateCircuitId&strCircuitId="+obj.options[obj.selectedIndex].text;

xmlHttp.onreadystatechange=function()
{
if(xmlHttp.readyState==4)
{
var msg = xmlHttp.responseText;
if(msg == '' ) {
populateFanDtls(obj.options[obj.selectedIndex].value)
}else {
alert(msg);
return;
}
}
}
xmlHttp.open("POST",url,true);
xmlHttp.send(null);

}

// Added by Anil for IN5603 07062011
function disableForm(theform) {
var isDisabled = false;
if(document.getElementById("fan_Type").options[document.getElementById("fan_Type").selectedIndex].value == 'Leased line-DLC Modification') {
isDisabled = true;
}else {
isDisabled = false;
}
if (document.all || document.getElementById) {
for (i = 0; i < theform.length; i++) {
var formElement = theform.elements[i];
if (true) {
if(formElement.type == 'select-one') {
formElement.disabled = isDisabled;
}else {
formElement.readOnly = isDisabled;
}
}
}
}
document.getElementById("request_Raised_For").disabled = false;
document.getElementById("ebs_Member").readOnly = false;
document.getElementById("existingCircuitId").disabled = false;
document.getElementById("shiftReqId").readOnly = false;
document.getElementById("shiftRequiredAt").disabled = false;
document.getElementById("value_Of_n").readOnly = false;
document.getElementById("searchType").disabled = false;
document.getElementById("searchResult").readOnly = false;
document.getElementById("BandWidth").disabled = false;
document.getElementById("file1").readOnly = false;
document.getElementById("file2").readOnly = false;
document.getElementById("file3").readOnly = false;
document.getElementById("file4").readOnly = false;
document.getElementById("file5").readOnly = false;
//document.getElementById("amtName").disabled = false;
}
// Ended by Anil
//added by sandhya
function resetCity(obj,point,type)
{
//alert(obj.value+','+point+','+type);
if(point=='A')
{
if(type=='other')
{
if(obj.value!="")
{
document.getElementById("pt_A_Location").value = "";
}
}
else if(type=='main')
{
if(obj.value!="")
{
document.getElementById("pt_A_Other_Cities").value = "";
}
}
}
else if(point=='B')
{
if(type=='other')
{
if(obj.value!="")
{
document.getElementById("pt_B_Location").value = "";
}
}
else if(type=='main')
{
if(obj.value!="")
{
document.getElementById("pt_B_Other_Cities").value = "";
}
}
}
}
//ended by sandhya

//added by subha for single invoice

function enableInfraVendor()
{

if(document.getElementById("fan_shared").value =="Non Shared" && document.getElementById("uniqId").value =="UWL_00001")
{

document.getElementById("infraVend").style.display="";

}
else if(document.getElementById("fan_shared").value !="Non Shared" && document.getElementById("uniqId").value =="UWL_00001")
{

document.getElementById("infraVend").style.display="none";

}


}

function enableOthr()
{

if(document.getElementById("survcSubTyp").value =="Others")
{

document.getElementById("servSubTypOt").style.display="";

}
else
{
document.getElementById("servSubTypOt").style.display="none";

}


}

//ended by subha for single invoice

// added by rachana for 13201_c1
function validateCircle(obj)
{
//alert("in validateCircle");
if(-1 != obj.value.indexOf("MAHARASHTRA"))
{
document.getElementById("circles_dlc").style.display ="block";
document.getElementById("pt_A_Circle").options.value=obj.value;
document.getElementById("pt_B_Building").options.length=0;
document.getElementById("pt_B_Location").options.length=0;
document.getElementById("pt_B_Other_Cities").options.length=0;
document.getElementById("pt_B_Building").options[0] = new Option("--Select--","--Select--");
document.getElementById("pt_B_Location").options[0] = new Option("--Select--","--Select--");
document.getElementById("pt_B_Other_Cities").options[0] = new Option("--Select--","--Select--");
}
else
{
document.getElementById("circles_dlc").style.display = "none";
}
}

// added by rachana for C0CC13201_c1
function validatePointACircle()
{
if((document.getElementById('pt_A_Circle').value == document.getElementById('pt_B_Circle').value ))
{
alert("Point A Circle and Point B Circle cannot be Same");
document.getElementById('pt_A_Circle').value="";//added by sandhya
return;
}

}
//ended by rachana for C0CC13201_c1
</script>


</head>

<body >

<form name="cbForm" action="wirelineData.do" method="post" enctype="multipart/form-data" onsubmit="return false" >

<input type="hidden" name="methodToCall" value=""/>
<input type="hidden" name="hiddenIsDrafts" value=""/>
<input type="hidden" name="hiddenFanNo" value='<bean:write name="cbFanForm" property="fan_No" />'/>
<input type="hidden" name="fileIndex" value=""/>
<input type="hidden" id="hiddenFanType" name="hiddenFanType" value="Leased line-DLC Modification" />
<input type="hidden" id="hiddenPincodeA" name="hiddenPincodeA" value="<bean:write name="cbFanForm" property="pt_A_Pin_Code" />" />
<input type="hidden" id="hiddenPincodeB" name="hiddenPincodeB" value="<bean:write name="cbFanForm" property="pt_B_Pin_Code" />" />
<input type="hidden" id="hiddenBandwidth" name="hiddenBandwidth" value="" />
<input type="hidden" id="hiddenCircuitId" name="hiddenCircuitId" value="" />
<input type="hidden" id="hidSlaExceed" name="hidSlaExceed" value="NO" /><!--added by sandhya -->
<input type="hidden" id="hiddenBw_units" name="hiddenBw_units" value='<bean:write name="cbFanForm" property="bw_units" />' />
<html:hidden name="cwsdForm" property="fileName1" value="" />
<html:hidden name="cwsdForm" property="fileName2" value="" />
<html:hidden name="cwsdForm" property="fileName3" value="" />
<html:hidden name="cwsdForm" property="fileName4" value="" />
<html:hidden name="cwsdForm" property="fileName5" value="" />
<input type="hidden" name="company_Name" value="<bean:write name="cbFanForm" property="company_Name" />" />
<input type="hidden" name="user_Email_Id" value="<bean:write name="cbFanForm" property="user_Email_Id" />" />
<!-- added by sandhya for COCC13201 post production changes -->
<input type="hidden" name="brm" value="<bean:write name="cbFanForm" property="brm_Name" />" />
<input type="hidden" name="brmNo" value="<bean:write name="cbFanForm" property="brm_Emp_No" />" />


<!--Added by subha for single invoice-->

<input type="hidden" name="uniqId" id="uniqId" value="<%=uniqueId%>"/>
<input type="hidden" id="hiddenInvoiceTyp" name="hiddenInvoiceTyp" value="<bean:write name="cbFanForm" property="invoiceTyp" />" />
<input type="hidden" id="hiddenBillFormat" name="hiddenBillFormat" value="<bean:write name="cbFanForm" property="billFormat" />" />

<input type="hidden" name="hiddenFanShared" id="hiddenFanShared" value="<%=dto.getFan_shared()%>"/>
<input type="hidden" name="hiddenFanBSC" id="hiddenFanBSC" value="<%=dto.getFan_bsc_name()%>"/>
<input type="hidden" name="hiddenMOCN" id="hiddenMOCN" value="<%=dto.getFan_mocn_no()%>"/>



<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" >
<tr><td align="center">
<%
String strMsg = (String)request.getAttribute("statusMessage");
if(null == strMsg)
strMsg = "";
%>
<%= strMsg %>
</td></tr>
<tr> <td class="redcolor tright"> * Mandatory Fan No.</td></tr>
<tr>
<td>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td class="tabheading" colspan="4" align="center" >Requestor Section </td>

</tr>
<tr>
<td class="labelbg_space" width="25%"></td>
<td width="25%"><img src="images/blank.gif" width="5" height="3" /></td>
<td class="labelbg_space" width="25%"></td>
<td width="25%"><img src="images/blank.gif" width="5" height="3" /></td>
</tr>
<tr>
<td class="labelstyle" >Company Name :<span class="redcolor">*</td>
<td ><bean:write name="cbFanForm" property="company_Name" /> </td>
<td class="labelstyle" >SOID :</td>
<td>
<bean:write name="cbFanForm" property="soid"/>
</td>
</tr>
<tr>
<td class="labelstyle" >Business Relationship Manager Name :</td>
<td ><bean:write name="cbFanForm" property="brm_Name" /></td>
<td class="labelstyle" >Business Relationship Manager Number :</td>
<td > <bean:write name="cbFanForm" property="brm_Emp_No" /></td>
</tr>
<tr>
<td class="labelstyle" >Invoice Type</td>
<td ><bean:write name="cbFanForm" property="invoiceTyp" /></td>
<td class="labelstyle" >Bill Format</td>
<td > <bean:write name="cbFanForm" property="billFormat" /></td>
</tr>

<tr>

<td class="labelstyle" >Unique Id</td>
<td ><%=uniqueId!=null?uniqueId:"NA"%></td>
<td class="labelstyle"> </td>
</tr>
<tr>
<td class="labelstyle" >Email ID :</td>
<td >
<bean:write name="cbFanForm" property="user_Email_Id" />
</td>
<td class="labelstyle" >Phone Number :<span class="redcolor">*</span></td>
<td ><html:text name="cbFanForm" property="phone_No" maxlength="10" styleClass="inputext" styleId="phone_No" onkeyup="isNumeric(this)" /> </td>

<%-- commented by Anil as part of COCC13201
<td class="labelstyle" >Department :</td>
<td >
<bean:write name="cbFanForm" property="department"/>
</td>
--%>
</tr>
<%-- commented by Anil as part of COCC13201
<tr>
<td class="labelstyle" >Date :</td>
<td > <bean:write name="cbFanForm" property="created_Dt" /></td>
<td class="labelstyle" > </td>
<td > </td>
</tr>
<tr>
<td class="labelstyle" >Grade :</td>
<td ><bean:write name="cbFanForm" property="grade" /></td>
<td class="labelstyle" >Circle :</td>
<td >
<bean:write name="cbFanForm" property="circle" />
</td>
</tr>
<tr>
<td class="labelstyle" >Location :</td>
<td >
<bean:write name="cbFanForm" property="location" />
</td>

<td class="labelstyle" >Phone Number :<span class="redcolor">*</span></td>
<td ><html:text name="cbFanForm" property="phone_No" styleClass="inputext" styleId="phone_No" /> </td>
</tr>
--%>
<tr>
<td class="labelstyle" >Company Category :
<span class="redcolor">*</span></td>
<td >
<html:select name="cbFanForm" property="company_Catg" styleClass="listbox1" styleId="company_Catg" onchange="getMarketSegments(this);">
<option value="Select">-- Select --</option>
<logic:present name="categoryList" scope="request">
<logic:notEmpty name="categoryList" scope="request"/>
<html:options collection="categoryList" labelProperty="desc" property="desc"/>
</logic:present>
</html:select>
</td>
<td class="labelstyle" >Product Type :<span class="redcolor">*</span></td>
<td >
<span class="select-box">
<html:select name="cbFanForm" property="fan_Type" styleId="fan_Type" styleClass="listbox1" onchange="checkType(this); displayL2MulticastBandwidth(this);" > <!-- onchange="disableForm(this.form);getCircuitIdValues();" -->
<html:option value="">-- Select --</html:option>
<html:option value="Leased line-DLC">Leased Line-DLC</html:option>
<html:option value="Leased line-DLC L2 Multicast">Leased line-DLC L2 Multicast</html:option>
</html:select>
</span></td>
</tr>
<%-- commented as part of COCC13201
<tr>
<td class="labelstyle" >FAN Request Raised For : <span class="redcolor">*</span></td>
<td ><html:select name="cbFanForm" styleId="request_Raised_For" property="request_Raised_For" styleClass="listbox1" onchange="displayEBS(this)">
<option >-- Select --</option>
<html:option value="Self">Self</html:option>
<html:option value="Colleague">Colleague</html:option>
</html:select></td>


<td class="labelstyle" >Activity :<span class="redcolor">*</span></td>
<td>
<html:select name="cbFanForm" styleId="activity" property="activity" styleClass="listbox1" onchange="displayShift(this);displayBandwidth();" >
<html:option value="" >-- Select --</html:option>
</html:select>
</td>
--%>
</tr>
<tr id="noOfLinksId">
<td class="labelstyle" >Number of Links required :
<span class="redcolor">*</span></td>
<td >
<html:text property="no_Links_Req" name="cbFanForm" styleId="no_Links_Req" styleClass="inputext" onchange="checkRequestType();" onkeyup="isNumeric(this)"/>
</td>
<td class="labelstyle"> </td>
<td> </td>
</tr>

<tr id="noOfDropsId">
<td class="labelstyle" >Number of Drops :
<span class="redcolor">*</span></td>
<td >
<html:select name="cbFanForm" property="no_of_drops" styleId="no_of_drops" styleClass="listbox1" onchange="addRow('dropsTable', this); " >
<html:option value="0">Select</html:option>
<% for (int i=1; i <=15; i++) { %>
<html:option value="<%=i%>"><%=i%></html:option>
<% } %>
</html:select>
</td>
<td class="labelstyle" > </td>
<td> </td>
</tr>
<tr>
<td class="labelstyle">Purpose/Customer Application Name:
<span class="redcolor">*</span></td>
<td>
<html:text name="cbFanForm" property="cust_App_Name" styleId="cust_App_Name" styleClass="inputext"/>
</td>
<td class="labelstyle" >Market Segment :<span class="redcolor">*</span></td>
<td ><html:select name="cbFanForm" property="market_Seg" styleClass="listbox1" styleId="market_Seg" onchange="showAccntCtgry(this);">
<html:option value="">-- Select --</html:option>
<logic:present name="marketSegmentList" scope="request">
<logic:notEmpty name="marketSegmentList" scope="request"/>
<html:options collection="marketSegmentList" labelProperty="desc" property="desc"/>
</logic:present>
</html:select></td>
</tr>


<tr id="ExistingCircuit">
<td class="labelstyle" >Existing Circuit Id Account No :</td>
<td><html:select name="cbFanForm" property="existingCircuitId" styleClass="listbox1" styleId="existingCircuitId" onchange="validateCircuitId(this);">
<html:option value="">-- Select --</html:option>
<logic:present name="circuitList" scope="request">
<logic:notEmpty name="circuitList" scope="request"/>
<html:options collection="circuitList" labelProperty="desc" property="id"/>
</logic:present>
</html:select></td>
<td class="labelstyle" >
<select name="searchType" class="listbox1" id="searchType" >
<option value="">Select</option>
<option value="Circle">Circle</option>
<option value="AccountNo">MS/Account No</option>
<option value="CompanyName">Company Name</option>
</select>
</td>
<td class="defaultlinks" ><input type="text" name="searchResult" id="searchResult" class="inputtext" />
<a href="javascript: onclick=getCircuitIdValues(); " > Search </a>
</td>

</tr>
<tr id="shiftReqId">
<td class="labelstyle" >Shift Required At</td>
<td >
<select name="shiftRequiredAt" id="shiftRequiredAt" onchange="enableData(this);" >
<option value="Select" >Select</option>
<option value="Point-A" > Point-A </option>
<option value="Point-B" > Point-B </option>
</select>
</td>
<td class="labelstyle" > </td>
<td > </td>
</tr>
<tr id="EBSMember">
<td class="labelstyle" >EBS Member:</td>
<td ><html:text name="cbFanForm" property="ebs_Member" styleId="ebs_Member" styleClass="inputext" onchange="validateEbsMember(this);" />

</td>
<td class="labelstyle" ><span id="ebsId" class="redcolor"></span></td>
<td > </td>
</tr>
</table></td>
</tr>

<tr><td ><table width="100%" border="0" cellspacing="0" cellpadding="0" >
<%-- commented by Anil COCC13201

<tr>
<td class="tabheading" colspan="4" align="center">Customer Information </td>
</tr>
--%>
<tr>
<td class="labelbg_space" width="25%"></td>
<td width="25%"><img src="images/blank.gif" width="5" height="2" /></td>
<td class="labelbg_space" width="25%"></td>
<td width="25%"><img src="images/blank.gif" width="5" height="2" /></td>
</tr>
<tr>
<td class="labelstyle">
Billing Circle :
<span class="redcolor">*</span> </td>
<td>
<html:select name="cbFanForm" styleClass="listbox1" styleId="billingCircle" property="billingCircle" onchange="getCities(this); populateBuildingNames(); getOtherCities(this); populateDropDetails(this); getDropCities(this); validateCircle(this);">
<html:option value="">-- Select --</html:option>
<logic:present name="circlesLst" scope="request">
<logic:notEmpty name="circlesLst" scope="request"/>
<html:options collection="circlesLst" labelProperty="desc" property="desc"/>
</logic:present>
</html:select>
</td>
<td class="labelstyle">Account Category : </td>
<td><html:text name="cbFanForm" property="acct_Category" styleId="acct_Category" styleClass="inputext" readonly="true" /></td>
</tr>
<tr>
<td class="labelstyle">Bandwidth Required :
<span class="redcolor">*</span>
</td>
<td>
<html:select property="bandwidth_Req" name="cbFanForm" styleClass="listbox1" styleId="BandWidth" onchange="displayCalcValue(this);">
<html:option value="">-- Select --</html:option>
<logic:present name="bandwidthList" scope="request">
<logic:notEmpty name="bandwidthList" scope="request"/>
<html:options collection="bandwidthList" labelProperty="desc" property="desc"/>
</logic:present>
<%--<html:option value="Multiple E1s - N * E1s">Multiple E1s - N * E1s</html:option>--%>
<html:option value="Other">Other</html:option><!-- added by sandhya-->
</html:select>
</td>
<!-- added by sandhya-->
<td class="labelstyle"> Bandwidth :</td>
<td id="OtherBandwidth">
<input type="TEXT" name="txtBandwidth" id="txtBandwidth" class="inputext" onkeyup="isNumeric(this);displayNetBandwidth()" />
<select name="txtBanwidthUnits" id="txtBanwidthUnits" onchange="displayNetBandwidth()">
<option value="">select</option>
<option value="Kbps">Kbps</option>
<option value="Mbps">Mbps</option>
</select>
</td>

<tr>
<td class="labelstyle">Enter value of N:</td>
<td><div id="valueOfN"><html:text name="cbFanForm" property="value_Of_n" styleId="value_Of_n" styleClass="inputext" onblur="calcOfN();"/></div></td>
<!-- ended by sandhya-->
<td class="labelstyle">Email ID :
<span class="redcolor">*</span></td>
<td>
<html:text name="cbFanForm" property="cust_Email_Id" styleId="cust_Email_Id" styleClass="inputext" onblur="javascript:return validateEmail(this)"/>
</td>

</tr>
<%-- commented by Anil as part of COCC13201 changes
<tr>
<td class="labelstyle">Connectivity Type :<span class="redcolor">*</span></td>
<td>
<logic:notEqual name="cbFanForm" property="company_Name" value="TATA COMMUNICATIONS LTD" >
<html:select name="cbFanForm" property="conn_Type" styleId="conn_Type" styleClass="listbox1">
<html:option value="" >-- Select --</html:option>
<html:option value="Wireline">Wireline</html:option>
<html:option value="Backhaul">Backhaul</html:option>
</html:select>
</logic:notEqual>
</td>
<td class="labelstyle"></td>
<td>

</td>
</tr>
--%>

<td class="labelstyle">
<span class="redcolor">*</span>Link Category
</td>
<td>
<html:select property="link_category" name="cbFanForm" styleClass="listbox1" styleId="link" onchange="showLink();">
<html:option value="">-- Select --</html:option>
<html:option value="Primary">Primary</html:option>
<html:option value="Secondary">Secondary</html:option>
</html:select>
</td>

<td class="labelstyle">Net Bandwidth Required :</td>
<td>
<html:text name="cbFanForm" property="calc_Value_Mbps" styleId="calc_Value_Mbps" readonly="true" styleClass="inputext"/>
<html:text name="cbFanForm" property="bw_units" styleId="bw_units" size="4" readonly="true" />
</td>

</tr>
<%--
<tr>
<td class="labelstyle">City :<span class="redcolor">*</span></td>
<td>

<html:select name="cbFanForm" property="city" styleClass="listbox1" onchange="populateBuildingNames();">
<html:option value="" >-- Select --</html:option>
<logic:present name="citiesList" scope="request">
<logic:notEmpty name="citiesList" scope="request"/>
<html:options name="citiesList" />
</logic:present>
</html:select></td>
<td class="labelstyle">Contact Details :<span class="redcolor">*</span></td>
<td><html:text property="contact_dtls" name="cbFanForm" styleId="contact_dtls" styleClass="inputext" /></td>
</tr>
--%>
<%-- commented as part of COCC13201 changes
<tr>
<td class="labelstyle">Bandwidth on Demand</td>
<td>
<html:select name="cbFanForm" property="bandwidth_on_demand" styleClass="listbox1" styleId="bandwidth_on_demand" onchange="checkMaxBandwidth();" >
<html:option value="">--Select--</html:option>
<html:option value="Yes">Yes</html:option>
<html:option value="No">No</html:option>
</html:select>
</td>
<td class="labelstyle">Max Bandwidth :<span class="redcolor">*</span></td>
<td>
<div id="maxBand">
<html:select property="max_bandwidth" name="cbFanForm" styleClass="listbox1" styleId="max_bandwidth" >
<html:option value="" >-- Select --</html:option>
<logic:present name="bandwidthList" scope="request">
<logic:notEmpty name="bandwidthList" scope="request"/>
<html:options collection="bandwidthList" labelProperty="desc" property="desc"/>
</logic:present>
</html:select>
</div>
</td>
</tr>
--%>
<%-- Commented by Anil as part of COCC13201 changes
<tr>
<td class="labelstyle">Bandwidth (in MBPS) :</td>
<td>
<div id="bwInMbps">
<html:text name="cbFanForm" property="bw_In_Mbps" styleId="bw_In_Mbps" styleClass="inputext" readonly="true"/>
</div>
</td>
<td class="labelstyle">Enter Value of N :</td>
<td><div id="valueOfN"><html:text name="cbFanForm" property="value_Of_n" styleId="value_Of_n" styleClass="inputext" onblur="calcOfN();"/></div></td>
</tr>
--%>
<tr>
<td class="labelstyle">

<span class="redcolor">*</span> Primary Link:</td>
<td><span id="primLink" ><html:text name="cbFanForm" property="primary_link" styleClass="inputext" styleId="primary_link" onchange="javascript:return validatePrimaryLink(this)" /></span>
</td>
<td class="labelstyle"> SLA Measurement Parameter :<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="sla_Param" styleClass="listbox1" styleId="sla_Param" >
<html:option value="">-- Select --</html:option>
<html:option value="Monthly">Monthly</html:option>
<html:option value="Quarterly">Quarterly</html:option>
<html:option value="Annually">Annually</html:option>

</html:select></td>
</tr>
<%--
<tr>
<td class="labelstyle">Customer Request Date
<span class="redtxt">*</span>
</td>
<td>
<html:text name="cbFanForm" property="customerReqDate" styleClass="datepicker inputext_date"/>
</td>--%>
<tr>


<td class="labelstyle">Service SLA Type :<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="sla_Type" styleId="sla_Type" styleClass="listbox1" onchange="displayStan_Prem(this)">
<html:option value="">-- Select --</html:option>
<html:option value="Standard">Standard</html:option>
<html:option value="Premium">Premium</html:option>
<html:option value="Custom">Custom</html:option>
</html:select></td>


<td class="labelstyle">Link Type :</td>
<td><html:select name="cbFanForm" property="link_Type" styleClass="inputext" styleId="link_Type" >
<html:option value="">select </html:option>
<html:option value="Normal">Normal</html:option>
<html:option value="Regularization">Regularization</html:option>
<html:option value="Meta to Empower Migration">Meta to Empower Migration</html:option>
<html:option value="DLC Backhaul">DLC Backhaul</html:option>
<html:option value="DLC POI-NNI">DLC POI-NNI</html:option>
</html:select>
</td>
</tr>
<%-- added by sandhya for FTSP --%>
<tr>
<td class="labelstyle" >Fast Track Sales Process(FTSP) :<span class="redcolor">*</span></td>
<td ><table cellpadding="0" cellspacing="0" width="100%"><tr>
<td><html:radio name="cbFanForm" property="ftsp" styleId="ftsp_Y" value="YES" onclick="showFTSPDetails(this.value)" /> YES </td>
<td> </td></tr>
<tr>
<td><html:radio name="cbFanForm" property="ftsp" styleId="ftsp_N" value="NO" onclick="showFTSPDetails(this.value)" /> NO</td>
</tr></table> </td>
<td class="labelstyle" > </td>
<td>  </td>
</tr>
<tr id="ftp_Details">
<td class="labelstyle">Last Mile Connectivity Type(end A):<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="ftsp_a" styleId="ftsp_a" styleClass="listbox1" >
<html:option value="">-- Select --</html:option>
<html:option value="On-Net">On-Net</html:option>
<html:option value="Near-Net">Near-Net</html:option>
<html:option value="Far-Net">Far-Net</html:option>
</html:select></td>

<td class="labelstyle">Last Mile Connectivity Type(end B):<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="ftsp_b" styleId="ftsp_b" styleClass="listbox1" >
<html:option value="">-- Select --</html:option>
<html:option value="On-Net">On-Net</html:option>
<html:option value="Near-Net">Near-Net</html:option>
<html:option value="Far-Net">Far-Net</html:option>
</html:select></td>
</tr>

<%-- ended by sandhya --%>
<%-- commented by Anil as part of COCC13201
<td class="labelstyle">Service SLA :<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="sla_Type" styleId="sla_Type" styleClass="listbox1" onchange="displayStan_Prem(this)">
<html:option value="">-- Select --</html:option>
<html:option value="Standard">Standard</html:option>
<html:option value="Premium">Premium</html:option>
</html:select></td>

<tr>
<td class="labelstyle"> SLA Parameters :<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="sla_Param" styleClass="listbox1" styleId="sla_Param" >
<html:option value="">-- Select --</html:option>
<html:option value="Annually">Annually</html:option>
<html:option value="Quarterly">Quarterly</html:option>
<html:option value="Monthly">Monthly</html:option>
</html:select></td>

<td class="labelstyle">Is Customer OK with Predefined SLAs? :<span class="redcolor">*</span></td>
<td><html:radio name="cbFanForm" property="cust_Pre_Sla" styleId="cust_Pre_Sla_yes" styleClass="chkbox" value="Yes" onclick="displayCustomerSLA(this)" />  YES  
<html:radio name="cbFanForm" property="cust_Pre_Sla" styleId="cust_Pre_Sla_no" styleClass="chkbox" value="No" onclick="displayCustomerSLA(this)"/>   NO</td>

<td class="labelstyle"></td>
<td></td>
</tr>
--%>

</table> </td></tr>
<tr><td> </td></tr>
<tr><td><table width="100%" border="0" align="left" class="gridstyle" cellpadding="0" cellspacing="0" >
<tr>
<th width="25%" >Variant </th>
<th width="25%">Network Uptime </th>
<th width="25%">Indicative Latency</th>
<th width="25%">Packet Drop Rate</th>
</tr>
<tr id="Standard">
<td class="tcenter labelstyle">Standard</td>
<td class="tcenter">>99.5% </td>
<td class="tcenter"><= 100ms</td>
<td class="tcenter"><=2.00%</td>
</tr>
<tr id="Premium">
<td class="tcenter labelstyle">Premium </td>
<td class="tcenter">>99.9% </td>
<td class="tcenter"><= 35ms</td>
<td class="tcenter"><=1.00%</td>
</tr>
<tr id="CustomerSLA">
<td class="tcenter labelstyle">Customer defined SLA </td>
<td class="tcenter"> <= <html:text name="cbFanForm" property="network_uptime" styleId="network_uptime" styleClass="inputext" /></td>
<td class="tcenter"> <= <html:text name="cbFanForm" property="indicative_latency" styleId="indicative_latency" styleClass="inputext" /></td>
<td class="tcenter"> <= <html:text name="cbFanForm" property="packet_droprate" styleId="packet_droprate" styleClass="inputext" /></td>
</tr>
<tr id="CustomerSLA1">
<td class="tcenter labelstyle">Sample Customer defined SLA </td>
<td class="tcenter"><=90%</td>
<td class="tcenter"><=90ms</td>
<td class="tcenter"><=3.00%</td>
</tr>

</table></td></tr>
<tr><td> </td></tr>
<tr>
<td class="tabheading" id="dropsHeaderId" colspan="3" align="center">Drops Details
</td>
</tr>
<tr id="dropsTableTrId"><td><table width="100%" border="0" align="left" class="gridstyle" cellpadding="0" cellspacing="0" id="dropsTable" >

<tr>
<th width="25%" >Circle </th>
<th width="25%">City </th>
<th width="25%">Address Line1</th>
<th width="25%">Address Line2</th>
<th width="25%">Address Line3</th>
<th width="25%">Pincode</th>
</tr>

</table></td></tr>
<tr><td> </td></tr>
<tr><td ><table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr>
<td class="tabheading" colspan="4" align="center">Installation Address<bean:write name="cbFanForm" property="pt_B_Location" /> </td>
</tr>
<tr>
<td class="tabheading" colspan="2" align="center">Point A </td>
<td class="tabheading" colspan="2" align="center">Point B </td>
</tr>
<tr>
<td class="labelbg_space" width="25%"></td>
<td width="25%"><img src="images/blank.gif" width="5" height="2" /></td>
<td class="labelbg_space" width="25%"></td>
<td width="25%"><img src="images/blank.gif" width="5" height="2" /></td>
</tr>
<!-- added by rachaan for 13201_c1-->
<tr id="circles_dlc">
<td class="labelstyle">A Circle : <span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" styleClass="listbox1" styleId="pt_A_Circle" property="pt_A_Circle" onchange = "populateBuildingNames_dlc(this,'A');getCities_dlc(this,'A');getOtherCities_dlc(this,'A');">
<html:option value="" >-- Select --</html:option>
<html:option value="MAHARASHTRA" >MAHARASHTRA</html:option>
<html:option value="REST OF MAHARASHTRA" >REST OF MAHARASHTRA</html:option>
</html:select></td>
<td class="labelstyle">B Circle : <span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" styleClass="listbox1" styleId="pt_B_Circle" property="pt_B_Circle" onchange = "populateBuildingNames_dlc(this,'B');getCities_dlc(this,'B');getOtherCities_dlc(this,'B');">
<html:option value="" >-- Select --</html:option>
<html:option value="MAHARASHTRA" >MAHARASHTRA</html:option>
<html:option value="REST OF MAHARASHTRA" >REST OF MAHARASHTRA</html:option>
</logic:present>
</html:select></td>
</tr>
<!-- ended by rachana for 13201_c1-->
<tr >
<td class="labelstyle" >A Building Name :</td>
<td>
<html:select name="cbFanForm" property="pt_A_Building" tabindex="1" styleId="pt_A_Building" styleClass="inputext" onchange="checkRequestType();" >
<html:option value="" >-- Select --</html:option>
<logic:present name="buildingList" scope="request">
<logic:notEmpty name="buildingList" scope="request"/>
<html:options collection="buildingList" labelProperty="desc" property="desc"/>
</logic:present>
</html:select>
</td>
<td class="labelstyle">B Building Name : </td>
<td><html:select name="cbFanForm" property="pt_B_Building" tabindex="19" styleId="pt_B_Building" styleClass="inputext" onchange="checkRequestType();" >
<html:option value="" >-- Select --</html:option>
<logic:present name = "DLCBillingCircle" scope= "request">
<logic:match name = "DLCBillingCircle" value = "MAHARASHTRA">
<logic:present name="buildingList_B" scope="request">
<logic:notEmpty name="buildingList_B" scope="request"/>
<html:options collection="buildingList_B" labelProperty="desc" property="desc"/>
</logic:present>
</logic:match>
</logic:present>
<logic:notPresent name = "DLCBillingCircle" scope= "request">
<logic:present name="buildingList" scope="request">
<logic:notEmpty name="buildingList" scope="request"/>
<<html:options collection="buildingList" labelProperty="desc" property="desc"/>
</logic:present>
</logic:notPresent>
</html:select>
</td>
</tr>

<tr >
<td class="labelstyle" >Customer Site Address A :</td>
<td>
<textarea name="sitea" id="sitea" value="" readonly="true" class="txtarea " cols="45" rows="5" />
</textarea>
</td>
<td class="labelstyle">Customer Site Address A : </td>
<td>
<textarea name="siteb" id="siteb" value="" readonly="true" class="txtarea " cols="45" rows="5" />
</textarea>


</td>
</tr>
<%--
<tr>
<td class="labelstyle">NLD A Building Name :</td>
<td><html:text name="cbFanForm" property="nld_A_Building" styleClass="inputext" /></td>
<td class="labelstyle">NLD B Building Name :</td>
<td><html:text name="cbFanForm" property="nld_B_Building" styleClass="inputext" /></td>
</tr>
--%>
<tr>
<td class="labelstyle">Request Type :</td>
<td><html:select property="request_Typ" name="cbFanForm" tabindex="2" styleClass="listbox1" styleId="request_Typ" >
<html:option value="">-- Select --</html:option>
</html:select></td>
<td class="labelstyle"></td>
<td>
</td>
</tr>

<!-- Added by Anil #COCC13201 -->
<tr id="sampleAcntId">
<td class="labelstyle">Sample Account Number/Reference Circuit ID</td>
<td><html:text name="cbFanForm" property="sampleAcntNumber" onkeyup="isNumeric(this)" tabindex="3" styleClass="inputext" styleId="sampleAcntNumber" value="" /></td>
<td class="labelstyle"><%--Is TCL Feasible<span class="redcolor">*</span> </td>
<td>
<html:select name="cbFanForm" property="is_tcl_ready" tabindex="20" styleId="is_tcl_ready">
<html:option value="">Select</html:option>
<html:option value="Yes">Yes</html:option>
<html:option value="No">No</html:option>
<html:option value="Do Not Know">Do Not Know</html:option>
</html:select>--%>
 
</td>
</tr>
<!-- Ended by Anil #COCC13201 -->
<tr>
<td class="labelstyle">Customer Origination Address (Point-A)<span class="redcolor">*</span> <br/>(Excluding Circle, City and Pin code) :</td>
<td><html:text name="cbFanForm" tabindex="4" property="pt_A_Cust_Addr" styleId="pt_A_Cust_Addr" styleClass="inputext" onblur="validateAddress(this)"/></td>
<td class="labelstyle">Customer Termination Address (Point-B)<span class="redcolor">*</span> <br/>(Excluding Circle, City and Pin code) :</td>
<td><html:text name="cbFanForm" tabindex="21" property="pt_B_Cust_Addr" styleId="pt_B_Cust_Addr" styleClass="inputext" onblur="validateAddress(this)"/></td>
</tr>
<tr>
<td class="labelstyle">Floor: <span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" tabindex="5" property="pt_A_floor" styleId="pt_A_floor" maxlength="2" styleClass="inputext" onkeyup="isNumeric(this)" /> floor</td>
<td class="labelstyle">Floor: <span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" tabindex="22" property="pt_B_floor" styleId="pt_B_floor" maxlength="2" styleClass="inputext" onkeyup="isNumeric(this)" /> floor</td>
</tr>

<tr>
<td class="labelstyle">Address 2:</td>
<td><html:text name="cbFanForm" tabindex="6" property="pt_A_Address2" styleId="pt_A_Address2" styleClass="inputext" onblur="validateAddress(this)" /></td>
<td class="labelstyle">Address 2:</td>
<td><html:text name="cbFanForm" tabindex="23" property="pt_B_Address2" styleId="pt_B_Address2" styleClass="inputext" onblur="validateAddress(this)"/></td>
</tr>
<tr>
<td class="labelstyle">Address 3 :</td>
<td><html:text name="cbFanForm" tabindex="7" property="pt_A_Address3" styleId="pt_A_Address3" styleClass="inputext" onblur="validateAddress(this)"/></td>
<td class="labelstyle">Address 3 :</td>
<td><html:text name="cbFanForm" tabindex="24" property="pt_B_Address3" styleId="pt_B_Address3" styleClass="inputext" onblur="validateAddress(this)"/></td>
</tr>
<tr id="installCities">
<td class="labelstyle">City : <span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" tabindex="8" property="pt_A_Location" styleId="pt_A_Location" styleClass="listbox1" onchange="getPincode(this, 'A');resetCity(this,'A','main');">
<html:option value="" >-- Select --</html:option>
<logic:present name="citiesList" scope="request">
<logic:notEmpty name="citiesList" scope="request"/>
<html:options name="citiesList" />
</logic:present>
</html:select></td>
<td class="labelstyle">City : <span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" tabindex="25" property="pt_B_Location" styleId="pt_B_Location" styleClass="listbox1" onchange="getPincode(this, 'B');resetCity(this,'B','main');">
<html:option value="" >-- Select --</html:option>
<logic:present name = "DLCBillingCircle" scope= "request">
<logic:match name = "DLCBillingCircle" value = "MAHARASHTRA">
<logic:present name="citiesList_B" scope="request">
<logic:notEmpty name="citiesList_B" scope="request"/>
<html:options name="citiesList_B" />
</logic:present>
</logic:match>
</logic:present>
<logic:notPresent name = "DLCBillingCircle" scope= "request">
<logic:present name="citiesList" scope="request">
<logic:notEmpty name="citiesList" scope="request"/>
<html:options name="citiesList" />
</logic:present>
</logic:notPresent>
</html:select></td>
</tr>
<tr id="othercities">
<td class="labelstyle">Other Cities():</td>
<td><html:select name="cbFanForm" tabindex="9" property="pt_A_Other_Cities" styleId="pt_A_Other_Cities" styleClass="listbox1" onchange="getPincode(this, 'A');resetCity(this,'A','other');" >
<html:option value="" >-- Select --</html:option>
<logic:present name="otherCitiesList" scope="request">
<logic:notEmpty name="otherCitiesList" scope="request"/>
<html:options name="otherCitiesList" />
</logic:present>
</html:select></td>
<td class="labelstyle">Other Cities(B) :</td>
<td><html:select name="cbFanForm" tabindex="26" property="pt_B_Other_Cities" styleId="pt_B_Other_Cities" styleClass="listbox1" onchange="getPincode(this, 'B');resetCity(this,'B','other');" >
<html:option value="" >-- Select --</html:option>
<logic:present name="otherCitiesList" scope="request">
<logic:notEmpty name="otherCitiesList" scope="request"/>
<html:options name="otherCitiesList" />
</logic:present>
</html:select></td>
</tr>
<tr id="pincode_3digit">
<td class="labelstyle">Pin Code :</td>
<td><html:select name="cbFanForm" tabindex="10" property="pt_A_Pin_Code" styleClass="listbox1" styleId="pt_A_Pin_Code" >
<html:option value="" >-- Select --</html:option>
</html:select>
</td>
<td class="labelstyle">Pin Code :</td>
<td>
<html:select name="cbFanForm" tabindex="27" property="pt_B_Pin_Code" styleClass="listbox1" styleId="pt_B_Pin_Code" >
<html:option value="" >-- Select --</html:option>
</html:select>
</td>
</tr>

<tr>
<td class="labelstyle"> Contact Person (A) :<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" tabindex="11" property="pt_A_Contact_Person" styleId="pt_A_Contact_Person" styleClass="inputext" /></td>
<td class="labelstyle">Contact Person (B) :<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" tabindex="28" property="pt_B_Conctact_Person" styleId="pt_B_Conctact_Person" styleClass="inputext" /></td>
</tr>
<tr>
<td class="labelstyle"> Telephone/Mobile No :<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" maxlength="10" tabindex="12" property="pt_A_Moblie_No" styleId="pt_A_Moblie_No" styleClass="inputext" onkeyup="isNumeric(this)" /></td>
<td class="labelstyle">Telephone/Mobile No :<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" maxlength="10" tabindex="29" property="pt_B_Moblie_No" styleId="pt_B_Moblie_No" styleClass="inputext" onkeyup="isNumeric(this)" /></td>
</tr>
<tr>
<td class="labelstyle"> Email ID :<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" tabindex="13" property="pt_A_Email_Id" styleId="pt_A_Email_Id" styleClass="inputext" onblur="javascript:return validateEmail(this)"/></td>
<td class="labelstyle">Email ID :<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" tabindex="30" property="pt_B_Email_Id" styleId="pt_B_Email_Id" styleClass="inputext" onblur="javascript:return validateEmail(this)"/></td>
</tr>
<%-- commented by Anil as part of COCC13201
<tr>
<td class="labelstyle"> Link located at TTSL NLD POP A:<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="pt_A_Link_Located" styleClass="listbox1" styleId="pt_A_Link_Located" >
<html:option value="" >-- Select --</html:option>
<html:option value="Yes">Yes</html:option>
<html:option value="No">No</html:option>
</html:select></td>
<td class="labelstyle">Link located at TTSL NLD POP B :<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="pt_B_Link_Located" styleClass="listbox1" styleId="pt_B_Link_Located" >
<html:option value="" >-- Select --</html:option>
<html:option value="Yes">Yes</html:option>
<html:option value="No">No</html:option>
</html:select></td>
</tr>
--%>
<tr>
<td class="labelstyle">Network Type
<span class="redtxt">*</span></td>
<td class="txtalignmiddle "><span class="select-box">
<html:select name="cbFanForm" property="network_type_A" tabindex="14" styleId="network_type_A" styleClass="listbox1" onchange="enableThirdParty(this,'A');">
<html:option value="">-- Select --</html:option>
<html:option value="Tata Teleservices">Tata Teleservices</html:option>
<html:option value="Third Party">Third Party</html:option>
</html:select></span>
</td>
<td class="labelstyle">Network Type
<span class="redtxt">*</span></td>
<td class="txtalignmiddle "><span class="select-box">
<html:select name="cbFanForm" property="network_type_B" tabindex="31" styleId="network_type_B" styleClass="listbox1" onchange="enableThirdParty(this,'B');" >
<html:option value="">-- Select --</html:option>
<html:option value="Tata Teleservices">Tata Teleservices</html:option>
<html:option value="Third Party">Third Party</html:option>
</html:select></span>
</td>
</tr>
<tr>
<td class="labelstyle">Preferred Media- A End :<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" tabindex="15" property="pt_A_Media_Type" styleClass="listbox1" styleId="pt_A_Media_Type" onchange="validateMediaType(this,'pt_A_Media_Type')" >
<option>-- Select --</option>

<logic:present name="mediaTypeList" scope="request">
<logic:notEmpty name="mediaTypeList" scope="request"/>
<html:options collection="mediaTypeList" labelProperty="desc" property="desc"/>
</logic:present>

</html:select></td>
<td class="labelstyle">Preferred Media- B End :<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" tabindex="32" property="pt_B_Media_Type" styleClass="listbox1" styleId="pt_B_Media_Type" onchange="validateMediaType(this,'pt_B_Media_Type')" >
<option>-- Select --</option>

<logic:present name="mediaTypeList" scope="request">
<logic:notEmpty name="mediaTypeList" scope="request"/>
<html:options collection="mediaTypeList" labelProperty="desc" property="desc"/>
</logic:present>

</html:select></td>
</tr>


<!--added by vasanthi-->
<tr >
<td class="labelstyle">ThirdPartyException(A) :</td>
<td ><span id="thirdparty_label_a"><html:text name="cbFanForm" tabindex="16" property="thirdparty_a" styleId="thirdparty_a" styleClass="inputext" /></span></td>
<td class="labelstyle" >ThirdPartyException(B) :<span class="redcolor">*</span></td>
<td ><span id="thirdparty_label_b"><html:text name="cbFanForm" tabindex="33" property="thirdparty_b" styleId="thirdparty_b" styleClass="inputext" /></span></td>
</tr>

<!--ended by vasanthi-->

<tr>
<td class="labelstyle">Interface1 @A-End :<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="pt_A_Interface1" tabindex="17" styleClass="listbox1" styleId="pt_A_Interface1" >
<html:option value="" >-- Select --</html:option>
<html:option value="Optical">Optical</html:option>
<html:option value="Electrical">Electrical</html:option>
</html:select></td>
<td class="labelstyle">Interface1 @B-End:<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="pt_B_Interface1" tabindex="34" styleClass="listbox1" styleId="pt_B_Interface1" >
<html:option value="" >-- Select --</html:option>
<html:option value="Optical">Optical</html:option>
<html:option value="Electrical">Electrical</html:option>
</html:select></td>
</tr>
<tr>
<td class="labelstyle">Interface2 @A-End :<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="pt_A_Interface2" tabindex="18" styleClass="listbox1" onchange="displayInterface3(this.value, 'A')" styleId="pt_A_Interface2" >
<html:option value="" >-- Select --</html:option>
<html:option value="G.703">G.703</html:option>
<html:option value="V3.5">V3.5</html:option>
<html:option value="GIG Electrical">GIG Electrical</html:option>
<html:option value="GIG Optical">GIG Optical</html:option>
<html:option value="Electrical">Electrical</html:option>
<html:option value="Optical">Optical</html:option>
<html:option value="Ethernet">Ethernet</html:option>
<html:option value="BNC">BNC</html:option>

</html:select></td>
<td class="labelstyle">Interface2 @B-End:<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="pt_B_Interface2" tabindex="35" styleClass="listbox1" onchange="displayInterface3(this.value, 'B')" styleId="pt_B_Interface2" >
<html:option value="" >-- Select --</html:option>
<html:option value="G.703">G.703</html:option>
<html:option value="V3.5">V3.5</html:option>
<html:option value="GIG Electrical">GIG Electrical</html:option>
<html:option value="GIG Optical">GIG Optical</html:option>
<html:option value="Electrical">Electrical</html:option>
<html:option value="Optical">Optical</html:option>
<html:option value="Ethernet">Ethernet</html:option>
<html:option value="BNC">BNC</html:option>
</html:select></td>
</tr>

<tr id="interface3A">
<td class="labelstyle"><div id="infc3A">Interface3 @A-End :<span class="redcolor">*</span></div></td>
<td><html:select name="cbFanForm" property="pt_A_Interface3" tabindex="19" styleClass="listbox1" styleId="infc3A" >
<html:option value="">-- Select --</html:option>
<html:option value="P2P">P2P</html:option>
<html:option value="P2M">P2M</html:option>
</html:select></td>
<td class="labelstyle"><div id="infc3B">Interface3 @B-End:<span class="redcolor">*</span></div></td>
<td><html:select name="cbFanForm" tabindex="36" property="pt_B_Interface3" styleClass="listbox1" styleId="infc3B" >
<html:option value="">-- Select --</html:option>
<html:option value="P2P">P2P</html:option>
<html:option value="P2M">P2M</html:option>
</html:select></td>
</tr>

<tr id="custequipment">
<td class="labelstyle"><div id="cust3A">Connection Type on Customer Equipment</div></td>
<td><html:text name="cbFanForm" property="pt_A_Conncetor_Type" tabindex="20" styleId="pt_A_Connector_Type" styleClass="inputext" value="" /></td>
<td class="labelstyle"><div id="cust3B">Connection Type on Customer Equipment</div></td>
<td><html:text name="cbFanForm" property="pt_B_Connector_Type" tabindex="37" styleId="pt_B_Connector_Type" styleClass="inputext" value="" /></td>
</tr>

<% if (dto!=null && "Y".equalsIgnoreCase(dto.getFan_shared()))
{
%>
<tr>
<td class="labelstyle">Scope<span class="redcolor">*</span></td>
<td><html:select name="cbFanForm" property="fan_shared" tabindex="35" styleClass="listbox1" onchange="enableInfraVendor();" >
<html:option value="" >-- Select --</html:option>
<html:option value="Shared">Shared</html:option>
<html:option value="Non Shared">Non Shared</html:option>
</html:select></td>
</tr>
<%}%>

<% if (dto!=null && "Y".equalsIgnoreCase(dto.getFan_infra_vendor()))
{
%>
<tr id="infraVend">
<td class="labelstyle">Infra Vendor<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" property="fan_infra_vendor" tabindex="20" styleId="fan_infra_vendor" styleClass="inputext" /></td>
</tr>
<%}%>

<% if (dto!=null && "Y".equalsIgnoreCase(dto.getFan_bsc_name()))
{
%>
<tr >
<td class="labelstyle">BSC Name<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" property="fan_bsc_name" tabindex="20" styleId="fan_bsc_name" styleClass="inputext" /></td>
</tr>
<%}%>

<% if (dto!=null && "Y".equalsIgnoreCase(dto.getFan_mocn_no()))
{
%>
<tr >
<td class="labelstyle">MOCN Number<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" property="fan_mocn_no" tabindex="20" styleId="fan_mocn_no" styleClass="inputext" /></td>
</tr>
<%}%>

<% if (dto!=null && "UWL_00001".equalsIgnoreCase(dto.getUniqueId()))
{
%>
<tr >
<td class="labelstyle">Service Sub Type<span class="redcolor">*</span></td>

<td><html:select name="cbFanForm" property="survcSubTyp" tabindex="35" styleClass="listbox1" onchange="enableOthr();" >
<html:option value="" >-- Select --</html:option>
<html:option value="BTS-BSC">BTS-BSC</html:option>
<html:option value="POI">POI</html:option>
<html:option value="Bulk BW">Bulk BW</html:option>
<html:option value="Co-location">Co-location</html:option>
<html:option value="Others">Others</html:option>

</html:select></td>
</tr>
<%}%>
<tr id="servSubTypOt" style="display:none">
<td class="labelstyle">Service Sub Type Other<span class="redcolor">*</span></td>
<td><html:text name="cbFanForm" property="survcSubTypOth" tabindex="20" styleId="survcSubTypOth" styleClass="inputext" /></td>
</tr>

<tr>
<td colspan="4" >
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableborder">
<tr>
<td class="labelstyle" width="25%" >Remarks :</td>
<td style="padding-bottom:5px;" width="75%"><html:textarea name="cbFanForm" property="remarks" tabindex="38" styleClass="txtarea txtarealong" styleId="remarks" cols="45" rows="5"></html:textarea></td></tr>

</table></td></tr>
</table></td></tr>

<tr><td> </td></tr>

<tr><td ><table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
<tr>
<td class="tabheading" colspan="2" align="center">Attachments </td>
</tr>

<tr>
<td class="labelstyle" width="25%">Attachments 1</td>
<logic:notEqual name="cbFanForm" property="fileName1" value="" >
<td width="75%" class="defaultlinks" >
<a href="javascript: onclick=openFile('1','<bean:write name="cbFanForm" property="fan_No" />', '<bean:write name="cbFanForm" property="fileName1" />')" ><bean:write name="cbFanForm" property="fileName1" /></a>
</td>
</logic:notEqual>
<logic:equal name="cbFanForm" property="fileName1" value="" >
<td>
<html:file name="cbFanForm" property="file1" styleClass="listbox2" styleId="file1" />
</td>
</logic:equal>
</tr>
<tr>
<td class="labelstyle">Attachments 2</td>
<logic:notEqual name="cbFanForm" property="fileName2" value="" >
<td width="75%" class="defaultlinks" >
<a href="javascript: onclick=openFile('2','<bean:write name="cbFanForm" property="fan_No" />','<bean:write name="cbFanForm" property="fileName2" />')" ><bean:write name="cbFanForm" property="fileName2" /></a>
</logic:notEqual>
</td>
<logic:equal name="cbFanForm" property="fileName2" value="" >
<td>
<html:file name="cbFanForm" property="file2" styleClass="listbox2" styleId="file2" />
</td>
</logic:equal>
</tr>
<tr>
<td class="labelstyle">Attachments 3</td>
<logic:notEqual name="cbFanForm" property="fileName3" value="" >
<td width="75%" class="defaultlinks" >
<a href="javascript: onclick=openFile('3','<bean:write name="cbFanForm" property="fan_No" />','<bean:write name="cbFanForm" property="fileName3" />')" ><bean:write name="cbFanForm" property="fileName3" /></a>
</td>
</logic:notEqual>
<logic:equal name="cbFanForm" property="fileName3" value="" >
<td>
<html:file name="cbFanForm" property="file3" styleId="file3" styleClass="listbox2" />
</td>
</logic:equal>
</tr>
<tr>
<td class="labelstyle">Attachments 4</td>
<logic:notEqual name="cbFanForm" property="fileName4" value="" >
<td width="75%" class="defaultlinks" >
<a href="javascript: onclick=openFile('4', '<bean:write name="cbFanForm" property="fan_No" />','<bean:write name="cbFanForm" property="fileName4" />')" ><bean:write name="cbFanForm" property="fileName4" /></a>
</td>
</logic:notEqual>
<logic:equal name="cbFanForm" property="fileName4" value="" >
<td>
<html:file name="cbFanForm" property="file4" styleClass="listbox2" styleId="file4" />
</td>
</logic:equal>
</tr>
<tr>
<td class="labelstyle">Attachments 5</td>
<logic:notEqual name="cbFanForm" property="fileName5" value="" >
<td width="75%" class="defaultlinks" >
<a href="javascript: onclick=openFile('5','<bean:write name="cbFanForm" property="fan_No" />','<bean:write name="cbFanForm" property="fileName5" />')" ><bean:write name="cbFanForm" property="fileName5" /></a>
</td>
</logic:notEqual>
<logic:equal name="cbFanForm" property="fileName5" value="" >
<td>
<html:file name="cbFanForm" property="file5" styleClass="listbox2" styleId="file5" />
</td>
</logic:equal>
</tr>
<%-- Commented # COCC13201
<tr >
<td class="labelstyle">AMT Team</td>
<td>
<html:select name="cbFanForm" property="amtName" styleClass="listbox1" styleId="amtName" >
<html:option value="">--Select--</html:option>
<logic:present name="amtList" scope="request">
<logic:notEmpty name="amtList" scope="request">
<html:options collection="amtList" labelProperty="id" property="id"/>
</logic:notEmpty>
</logic:present>

</html:select>
</td>
<td class="labelstyle"> </td>
<td> </td>
</tr>
--%>
<tr >
<td class="tabheading" colspan="2" align="center">Declaration
<input type="checkbox" name="declaration_chk" id="declaration_chk" value="true" checked=checked /></td>
</tr>
<tr>
<td colspan="2"> Kindly note that Sales team holds the responsibility to declare the status and cost of PROW.
</td>
</tr>

</table></td></tr>
<tr> <td> </td> </tr>


<tr>
<td class="tcenter">  
<input type="image" name="imageField3" id="imageField3" src="images/submit_btn.gif" onclick="javascript: validateCBFanForm(this.form, false); return false;" />  
<input type="image" name="imageField" id="imageField" src="images/SaveAsDraft.gif" onclick="javascript: submitDraft(this.form)" />
  
<input type="image" name="imageField2" id="imageField2" src="images/cancel.gif" /></td>
</tr>

</table>

</form>

<script>

checkRequestType();
displayStan_Prem(document.getElementById("sla_Type"));
getPincode(document.getElementById("pt_A_Location"), 'A');
getPincode(document.getElementById("pt_B_Location"), 'B');
showLink();
checkType(document.getElementById("fan_Type"));
addRow('dropsTable', document.getElementById("no_of_drops"));


if("leased line-DLC Modification" == document.getElementById("fan_Type").value) {
disableForm(document.cbForm);
}
// if(document.getElementById("existingCircuitId").selectedIndex != 0 ) {
// document.getElementById("activity").disabled = false;
// }

if(document.getElementById("company_Name").value == 'TATA TELESERVICES LTD' || document.getElementById("company_Name").value == 'TATA TELESERVICES MAHARASHTRA LTD' || document.getElementById("company_Name").value == 'TATA TELESERVICES LIMITED' || document.getElementById("company_Name").value == 'TATA TELESERVICES MAHARASHTRA LIMITED' ) {
setSelectedIndex(document.getElementById("company_Catg"), 'Internal');
document.getElementById("company_Catg").disabled = true;
document.getElementById('market_Seg').options.length=1;
AddItem('market_Seg','Official Connection','Official Connection');
setSelectedIndex(document.getElementById("market_Seg"), 'Official Connection');
document.getElementById("market_Seg").disabled = true;
document.getElementById("acct_Category").value='Tata Teleservieces Corporate';//added by sandhya

}
//added by sandhya
if(document.getElementById("company_Catg").value == 'Unlisted')
{
document.getElementById('market_Seg').options.length=1;
document.getElementById("market_Seg").value= ' ';
document.getElementById("market_Seg").disabled = true;
}
if(document.getElementById("BandWidth").value == 'Other')
{
document.getElementById("txtBanwidthUnits").value = document.getElementById("bw_units").value ;
document.getElementById("txtBandwidth").value = document.getElementById("calc_Value_Mbps").value ;
}
else
{
document.getElementById("OtherBandwidth").style.display="none";
}
enableThirdParty(document.getElementById("network_type_A"),'A');
enableThirdParty(document.getElementById("network_type_B"),'B');
showFTSPDetails('<bean:write property="ftsp" name="cbFanForm"/>');//added by sandhya fro FTSP
//ended by sandhya
// added by rachana for 13201_c1
showCircleDetails('<bean:write name="cbFanForm" property="billingCircle" />');
//added by sandhya on 6th MAY 2013

displayInterface3('<bean:write name="cbFanForm" property="pt_A_Interface2" />', 'A');
displayInterface3('<bean:write name="cbFanForm" property="pt_B_Interface2" />', 'B');
//ended by Sandhya
</script>
<script>$('.datepicker').datepick();
</script>
</body>
</html>

ScreenShot.JPG
[Thumbnail for ScreenShot.JPG]
Screen Shot
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My advice would be to narrow down the problem to a small example. If you can demonstrate the behavior you are seeing in a few dozen lines, you are far more likely to get help (not to mention your boss/employer doesn't want their intellectual property posted in public). Also, please UseCodeTags when posting so your formatting is preserved.
 
venkat gvr
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We are unable to replicate issue, it comes for only one user.
Request you to let us know atleast any hints so that we can debug in those lines.

Any help is highly appreciated.

Thanks,
Venkat.

 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

venkat gvr wrote:Hi,
We are unable to replicate issue, it comes for only one user.



If it only happens for one user, how do you expect us to be able to replicate your problem? You should be asking yourself why it happens for that user (i.e. is his system different from everyone elses, is he using a different browser, does the machine have a virus or a hardware problem, etc.). We really can't help you with that.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic