jdharsha
asked on
web app
I have a JSP on which the "endorsement limit" is being rendered as 2.00 . I want it in percentage(2%). How do i do that? I am sending the source.
thanks
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM Software Development Platform">
<META http-equiv="Content-Style- Type" content="text/css">
<LINK rel="stylesheet" type="text/css" href="../../../../theme/Ma ster.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="../../../../theme/st ylesheet.c ss" title="Style">
<LINK rel="stylesheet" type="text/css" href="/styles/default.css" title="Style">
<LINK rel="stylesheet" type="text/css" href="../../../../styles/N ewQuotes.c ss" title="Style">
<TITLE>SaveNRate.jsp</TITL E>
<SCRIPT type="text/javascript">
function func_1(thisObj, thisEvent) {
//use 'thisObj' to refer directly to this component instead of keyword 'this'
//use 'thisEvent' to refer to the event generated instead of keyword 'event'
window.print();
}
</SCRIPT></HEAD>
<style type="text/css">
.errors {
font-size: 12pt;
color: red;
}
</style>
<BODY onload="document.body.styl e.cursor = 'default';">
<center><TABLE class="pageheaderstyle" width="100%"><TR><TD align=center colspan=3><IMG src="../../../../images/Lo goOnlyMedi umColor.gi f" width=255 height=110 border=0></TD></TR><TR><TD align=center colspan=3><IMG src="../../../../images/aa s.gif"></T D></TR><TR ><TD width="30%" align=center></TD><TD width="40%" align=center><HR>This information is for use by authorized personnel only.<HR></TD><TD width="30%" align=center></TD></TR></T ABLE><SPAN class="headerPageTitle">Ho meowners Quote</SPAN></center>
<table class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="quoteMessages"></table ></td>
</tr>
</tbody>
</table>
<table id="grid6" class="panelGrid" width="100%">
<tbody>
<tr>
<td><span id="txtPrepFor" class="printText" style="font-size: 14pt; font-weight: bold"> Quote Prepared for red das</span></td>
</tr>
<tr>
<td><span id="txtEffectiveDate" class="printText">Quote Effective 08/01/2007</span></td>
</tr>
<tr>
<td><span id="txtAgency" class="printText">Quote Prepared by ravindranath of American Farmers & Ranchers Gen. Agy Inc #0</span></td>
</tr>
<tr>
<td><span id="text4" class="printText" style="text-align: right">Printed on 08/01/2007</span></td>
</tr>
</tbody>
</table>
<table id="grid5" class="panelGrid" width="100%">
<tbody>
<tr>
<td><span id="txtAgency5" class="outputText" style="color:blue">QuoteNu mber 20070801103112 last updated on 08/01/2007 at 10:31:11</span></td>
</tr>
</tbody>
</table>
<table id="grid4head" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="Cov4Head" class="sectionhead">Quote Data</span></td>
</tr>
</tbody>
</table>
<table id="gridinp" class="panelGrid" width="100%">
<tbody>
<tr>
<td><span id="txtPrepFor5" class="printText">Form 1 - Basic </span></td>
</tr>
<tr>
<td><span id="text1" class="printText">Construc tion Code - Brick on Frame</span></td>
</tr>
<tr>
<td><span id="text3" class="printText">Protecti on Class 1</span></td>
</tr>
<tr>
<td><span id="text14" class="printText">Risk Zip Code 12345 </span></td>
</tr>
</tbody>
</table>
<table id="grid5head" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="CovHead" class="sectionhead">Covera ges and Premiums</span></td>
</tr>
</tbody>
</table>
<table id="grid3" class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="table2" class="dataTable" border="2" cellpadding="0" cellspacing="0" width="100%">
<thead>
<tr>
<th class="headerClass" width="50%" scope="col"><span id="table2:text33" class="outputText" style="font-family: Arial; font-size: 10pt">Coverages</span></th >
<th class="headerClass" width="10%" scope="col"><span id="table2:text33p1" class="outputText" style="font-family: Arial; font-size: 10pt">Limits</span></th>
<th class="headerClass" width="10%" scope="col"><span id="table2:textcol2" class="outputText" style="font-family: Arial; font-size: 10pt">Deductible $500</span></th>
<th class="headerClass" width="10%" scope="col"><span id="table2:textcol3" class="outputText" style="font-family: Arial; font-size: 10pt">Deductible $1000</span></th>
<th class="headerClass" width="10%" scope="col"><span id="table2:textcol4" class="outputText" style="font-family: Arial; font-size: 10pt">Deductible $2500</span></th>
</tr>
</thead>
<tbody>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:0:text34" class="outputText" style="font-family: Arial; font-size: 9pt">Coverage A- Dwelling </span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:0:text34p1" class="outputText" style="font-family: Arial; font-size: 9pt">100,000.00</span></td >
<td width="10%" align="right" class="columnClass1"><span id="table2:0:textcol2data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">820.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:0:textcol3data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">728.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:0:textcol4data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">601.00</span></td>
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:1:text34" class="outputText" style="font-family: Arial; font-size: 9pt">Coverage B- Other Structures </span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:1:text34p1" class="outputText" style="font-family: Arial; font-size: 9pt">10,000.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:1:textcol2data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:1:textcol3data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:1:textcol4data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:2:text34" class="outputText" style="font-family: Arial; font-size: 9pt">Coverage C- Personal Property </span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:2:text34p1" class="outputText" style="font-family: Arial; font-size: 9pt">50,000.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:2:textcol2data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:2:textcol3data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:2:textcol4data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:3:text34" class="outputText" style="font-family: Arial; font-size: 9pt">Coverage D- Loss of Use </span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:3:text34p1" class="outputText" style="font-family: Arial; font-size: 9pt">10,000.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:3:textcol2data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:3:textcol3data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:3:textcol4data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:4:text34" class="outputText" style="font-family: Arial; font-size: 9pt">Coverage L- Liability </span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:4:text34p1" class="outputText" style="font-family: Arial; font-size: 9pt">25,000.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:4:textcol2data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:4:textcol3data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:4:textcol4data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:5:text34" class="outputText" style="font-family: Arial; font-size: 9pt">Coverage M- Medical </span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2:5:text34p1" class="outputText" style="font-family: Arial; font-size: 9pt">500.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:5:textcol2data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:5:textcol3data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2:5:textcol4data" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- c:if test="${sessionScope.Quote .numSelect edEndorsem ents > 0}"-->
<table id="grid5headE" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="HeadE" class="sectionhead">Endors ements</sp an></td>
</tr>
</tbody>
</table>
<table id="grid3E" class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="table2E" class="dataTable" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2E:0:text34E" class="outputText" style="font-family: Arial; font-size: 9pt">Main Dwelling</span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2E:0:text34Ep1" class="outputText" style="font-family: Arial; font-size: 9pt">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2E:0:textcol2data E" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">---</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2E:0:textcol3data E" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">---</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2E:0:textcol4data E" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">---</span></td>
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2E:1:text34E" class="outputText" style="font-family: Arial; font-size: 9pt">-----Endorsement ML-405B: Windstorm and Hail deductible (1%, 2%, 5%)</span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2E:1:text34Ep1" class="outputText" style="font-family: Arial; font-size: 9pt">2.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2E:1:textcol2data E" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">-109.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2E:1:textcol3data E" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">-72.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2E:1:textcol4data E" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!--/c:if-->
<!--c:if test="${sessionScope.quote Object.num SelectedDi scounts > 0}"-->
<table id="grid5headD" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="HeadD" class="sectionhead">Discou nts & Surcharges</span></td>
</tr>
</tbody>
</table>
<table id="grid3D" class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="table2D" class="dataTable" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!--/c:if-->
<table id="grid5headS" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="HeadS" class="sectionhead">SUMMAR Y</span></ td>
</tr>
</tbody>
</table>
<table id="grid3S" class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="table2S" class="dataTable" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2S:0:text34S" class="outputText" style="font-family: Arial; font-size: 9pt">Total Endorsements</span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2S:0:text34Sp1" class="outputText" style="font-family: Arial; font-size: 9pt">N/A </span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:0:textcol2data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">-109.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:0:textcol3data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">-72.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:0:textcol4data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2S:1:text34S" class="outputText" style="font-family: Arial; font-size: 9pt">Total Discounts & Surcharges</span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2S:1:text34Sp1" class="outputText" style="font-family: Arial; font-size: 9pt">N/A </span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:1:textcol2data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:1:textcol3data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:1:textcol4data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">0.00</span></td>
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2S:2:text34S" class="outputText" style="font-family: Arial; font-size: 9pt">Membership</span></td >
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2S:2:text34Sp1" class="outputText" style="font-family: Arial; font-size: 9pt">N/A </span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:2:textcol2data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">15.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:2:textcol3data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">15.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:2:textcol4data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">15.00</span></td>
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span id="table2S:3:text34S" class="outputText" style="font-family: Arial; font-size: 9pt">Total Premium</span></td>
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span id="table2S:3:text34Sp1" class="outputText" style="font-family: Arial; font-size: 9pt">N/A </span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:3:textcol2data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">726.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:3:textcol3data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">671.00</span></td>
<td width="10%" align="right" class="columnClass1"><span id="table2S:3:textcol4data S" class="outputText" style="font-family: Arial; font-size: 9pt; text-align: right">616.00</span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table id="grid1" class="panelGrid">
<tbody>
<tr>
<td><span id="txtDisclaimer" class="outputText" style="color: blue">OFU DISCLAIMER: This quoted premium is only an estimate based upon the information provided by you. Additional information obtained by the company may increase or decrease this quoted price. </span></td>
</tr>
</tbody>
</table>
<form id="form1" method="post" action="/quote/faces/quote s/property /ho_webser vices/jsps /SaveNRate .jsp" class="form" enctype="application/x-www -form-urle ncoded">
<!-- beta lookup -->
<!-- ho -->
<!-- quotenumber check -->
<table id="form1:grid2" class="panelGrid" width="100%">
<tbody>
<tr>
<td><input type="submit" value="Edit Quote" name="form1:btnEditQuote" id="form1:btnEditQuote" onclick="document.body.sty le.cursor = 'wait';" class="core-button" /></td>
<td><input type="submit" value="Back To Search Results" name="form1:btnBackToSearc hResults" id="form1:btnBackToSearchR esults" onclick="document.body.sty le.cursor = 'wait';" class="core-button" /></td>
<td><input type="submit" value="Back To Search" name="form1:btnBackToSearc h" id="form1:btnBackToSearch" onclick="document.body.sty le.cursor = 'wait';" class="core-button" /></td>
<td><input type="submit" value="Home" name="form1:btnHome" id="form1:btnHome" class="core-button" /></td>
<td><input type="submit" value="Print" name="form1:btnPrint" id="form1:btnPrint" onclick="return func_1(this, event);" class="core-button" /></td>
<td><input type="submit" value="Create / Edit Application" name="form1:btnCreateEditA pp" id="form1:btnCreateEditApp " onclick="document.body.sty le.cursor = 'wait';" class="core-button" /></td>
</tr>
</tbody>
</table>
<hr />
<table id="form1:deleteGrid" class="panelGrid" width="100%">
<tbody>
<tr>
<td><input type="submit" value="Delete" name="form1:btnDelete" id="form1:btnDelete" onclick="return confirm('This will delete the quote as well as the in-progress application (if it exists). Press the Ok button to continue.'); document.body.style.cursor ='wait';" style="color: red;" class="core-button" /></td>
</tr>
</tbody>
</table>
<input type="hidden" name="form1" value="form1" /></form>
</BODY>
</HTML>
thanks
--------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM Software Development Platform">
<META http-equiv="Content-Style-
<LINK rel="stylesheet" type="text/css" href="../../../../theme/Ma
<LINK rel="stylesheet" type="text/css" href="../../../../theme/st
<LINK rel="stylesheet" type="text/css" href="/styles/default.css"
<LINK rel="stylesheet" type="text/css" href="../../../../styles/N
<TITLE>SaveNRate.jsp</TITL
<SCRIPT type="text/javascript">
function func_1(thisObj, thisEvent) {
//use 'thisObj' to refer directly to this component instead of keyword 'this'
//use 'thisEvent' to refer to the event generated instead of keyword 'event'
window.print();
}
</SCRIPT></HEAD>
<style type="text/css">
.errors {
font-size: 12pt;
color: red;
}
</style>
<BODY onload="document.body.styl
<center><TABLE class="pageheaderstyle" width="100%"><TR><TD align=center colspan=3><IMG src="../../../../images/Lo
<table class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="quoteMessages"></table
</tr>
</tbody>
</table>
<table id="grid6" class="panelGrid" width="100%">
<tbody>
<tr>
<td><span id="txtPrepFor" class="printText" style="font-size: 14pt; font-weight: bold"> Quote Prepared for red das</span></td>
</tr>
<tr>
<td><span id="txtEffectiveDate" class="printText">Quote Effective 08/01/2007</span></td>
</tr>
<tr>
<td><span id="txtAgency" class="printText">Quote Prepared by ravindranath of American Farmers & Ranchers Gen. Agy Inc #0</span></td>
</tr>
<tr>
<td><span id="text4" class="printText" style="text-align: right">Printed on 08/01/2007</span></td>
</tr>
</tbody>
</table>
<table id="grid5" class="panelGrid" width="100%">
<tbody>
<tr>
<td><span id="txtAgency5" class="outputText" style="color:blue">QuoteNu
</tr>
</tbody>
</table>
<table id="grid4head" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="Cov4Head" class="sectionhead">Quote Data</span></td>
</tr>
</tbody>
</table>
<table id="gridinp" class="panelGrid" width="100%">
<tbody>
<tr>
<td><span id="txtPrepFor5" class="printText">Form 1 - Basic </span></td>
</tr>
<tr>
<td><span id="text1" class="printText">Construc
</tr>
<tr>
<td><span id="text3" class="printText">Protecti
</tr>
<tr>
<td><span id="text14" class="printText">Risk Zip Code 12345 </span></td>
</tr>
</tbody>
</table>
<table id="grid5head" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="CovHead" class="sectionhead">Covera
</tr>
</tbody>
</table>
<table id="grid3" class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="table2" class="dataTable" border="2" cellpadding="0" cellspacing="0" width="100%">
<thead>
<tr>
<th class="headerClass" width="50%" scope="col"><span id="table2:text33" class="outputText" style="font-family: Arial; font-size: 10pt">Coverages</span></th
<th class="headerClass" width="10%" scope="col"><span id="table2:text33p1" class="outputText" style="font-family: Arial; font-size: 10pt">Limits</span></th>
<th class="headerClass" width="10%" scope="col"><span id="table2:textcol2" class="outputText" style="font-family: Arial; font-size: 10pt">Deductible $500</span></th>
<th class="headerClass" width="10%" scope="col"><span id="table2:textcol3" class="outputText" style="font-family: Arial; font-size: 10pt">Deductible $1000</span></th>
<th class="headerClass" width="10%" scope="col"><span id="table2:textcol4" class="outputText" style="font-family: Arial; font-size: 10pt">Deductible $2500</span></th>
</tr>
</thead>
<tbody>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- c:if test="${sessionScope.Quote
<table id="grid5headE" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="HeadE" class="sectionhead">Endors
</tr>
</tbody>
</table>
<table id="grid3E" class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="table2E" class="dataTable" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!--/c:if-->
<!--c:if test="${sessionScope.quote
<table id="grid5headD" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="HeadD" class="sectionhead">Discou
</tr>
</tbody>
</table>
<table id="grid3D" class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="table2D" class="dataTable" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!--/c:if-->
<table id="grid5headS" class="panelGridhead" width="100%">
<tbody>
<tr>
<td><span id="HeadS" class="sectionhead">SUMMAR
</tr>
</tbody>
</table>
<table id="grid3S" class="panelGrid" width="100%">
<tbody>
<tr>
<td><table id="table2S" class="dataTable" border="2" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
<tr class="rowClass1">
<td width="50%" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
<td width="10%" align="right" class="columnClass1"><span
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table id="grid1" class="panelGrid">
<tbody>
<tr>
<td><span id="txtDisclaimer" class="outputText" style="color: blue">OFU DISCLAIMER: This quoted premium is only an estimate based upon the information provided by you. Additional information obtained by the company may increase or decrease this quoted price. </span></td>
</tr>
</tbody>
</table>
<form id="form1" method="post" action="/quote/faces/quote
<!-- beta lookup -->
<!-- ho -->
<!-- quotenumber check -->
<table id="form1:grid2" class="panelGrid" width="100%">
<tbody>
<tr>
<td><input type="submit" value="Edit Quote" name="form1:btnEditQuote" id="form1:btnEditQuote" onclick="document.body.sty
<td><input type="submit" value="Back To Search Results" name="form1:btnBackToSearc
<td><input type="submit" value="Back To Search" name="form1:btnBackToSearc
<td><input type="submit" value="Home" name="form1:btnHome" id="form1:btnHome" class="core-button" /></td>
<td><input type="submit" value="Print" name="form1:btnPrint" id="form1:btnPrint" onclick="return func_1(this, event);" class="core-button" /></td>
<td><input type="submit" value="Create / Edit Application" name="form1:btnCreateEditA
</tr>
</tbody>
</table>
<hr />
<table id="form1:deleteGrid" class="panelGrid" width="100%">
<tbody>
<tr>
<td><input type="submit" value="Delete" name="form1:btnDelete" id="form1:btnDelete" onclick="return confirm('This will delete the quote as well as the in-progress application (if it exists). Press the Ok button to continue.'); document.body.style.cursor
</tr>
</tbody>
</table>
<input type="hidden" name="form1" value="form1" /></form>
</BODY>
</HTML>
ASKER
This is the code that creates that page. Can u still help where to look at?
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%-- jsf:pagecode language="java" location="/JavaSource/page code/quote s/property /ho_webser vices/jsps /QuoteCont roller.jav a" --%><%-- /jsf:pagecode --%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<HTML>
<HEAD>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"% >
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<META name="GENERATOR" content="IBM Software Development Platform" />
<META http-equiv="Content-Style- Type" content="text/css" />
<LINK rel="stylesheet" type="text/css"
href="../../../../theme/Ma ster.css" title="Style" />
<LINK rel="stylesheet" type="text/css"
href="../../../../theme/st ylesheet.c ss" title="Style" />
<LINK rel="stylesheet" type="text/css"
href="../../../../styles/d efault.css " title="Style" />
<LINK rel="stylesheet" type="text/css"
href="../../../../styles/N ewQuotes.c ss" title="Style" />
<LINK href="/styles/sliding_door s_v1.css" rel="stylesheet"
type="text/css" />
<TITLE>EditQuote.jsp</TITL E>
<%@ taglib uri="/WEB-INF/tlds/PageHea der.tld" prefix="ph"%>
<script src="../../../../js/utilit ies.js"></ script>
</HEAD>
<f:view>
<BODY onload="document.body.styl e.cursor = 'default'; toggleSubmit=true;">
<hx:scriptCollector id="scriptCollector1"
preRender="#{pc_QuoteContr oller.onPa geLoadBegi n}"
decode="#{pc_QuoteControll er.onPageP ost}">
<h:form styleClass="form" id="form1" onsubmit="return maybeSubmit();">
<c:if test="${sessionScope.quote type=='HO' }">
<ph:PageHeader pageTitle="Homeowners Quote Data"
imageDirectory="../../../. ./images" />
</c:if>
<c:if test="${sessionScope.quote type=='FO' }">
<ph:PageHeader pageTitle="Farmowners Quote Data"
imageDirectory="../../../. ./images" />
<DIV id="header">
<UL>
<LI id="current"><h:commandLin k styleClass="commandLink"
id="lnkMainDwellingF"
action="#{pc_QuoteControll er.mainDwe llingTab}" >
<h:outputText id="text24MDF" styleClass="outputText"
value="Main Dwelling">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkPolicy"
action="#{pc_QuoteControll er.policyT ab}">
<h:outputText id="text24Policy" styleClass="outputText"
value="Policy">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkBarn"
action="#{pc_QuoteControll er.barnTab }">
<h:outputText id="text24" styleClass="outputText"
value="Add / Delete Barns...">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkSFPP"
action="#{pc_QuoteControll er.secured PropertyTa b}">
<h:outputText id="text25" styleClass="outputText"
value="Add / Delete Scheduled Farm Personal Property...">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkLiability"
action="#{pc_QuoteControll er.liabili tyTab}">
<h:outputText id="text26" styleClass="outputText"
value="Add / Delete Liability...">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkUFPP"
action="#{pc_QuoteControll er.unsecur edProperty Tab}">
<h:outputText id="text27" styleClass="outputText"
value="Add / Delete Unscheduled Farm Personal Property">
</h:outputText>
</h:commandLink></LI>
</UL>
</DIV>
</c:if>
<c:if test="${sessionScope.Quote .numberDat e >0}">
<h:panelGrid styleClass="panelGrid">
<h:outputText styleClass="outputText" id="text17"
value="Quote #{sessionScope.Quote.numbe rDate}#{se ssionScope .Quote.num berTime} Created by #{sessionScope.Quote.creat edByUser} at #{sessionScope.Quote.creat eTimeStamp } on #{sessionScope.Quote.creat eDateStamp }, Last Updated by #{sessionScope.Quote.updat eByUser} at #{sessionScope.Quote.updat eTimeStamp } on #{sessionScope.Quote.updat eDateStamp }"
style="color: blue;"/>
</h:panelGrid>
</c:if>
<c:if test="${sessionScope.Quote .numberDat e=='0'}">
<h:panelGrid styleClass="panelGrid" columns="2">
<h:outputText styleClass="outputLabel" id="lblAgency" value="Agency"/>
<h:selectOneMenu styleClass="selectOneMenu" id="cmbAgency"
value="#{sessionScope.Quot e.agencyNu mber}">
<f:selectItems
value="#{sessionScope.agen cybean.age ncyListSpe cific}" />
</h:selectOneMenu>
</h:panelGrid>
</c:if>
<c:if test="${sessionScope.inval idAgency == '1'}">
<h:panelGrid styleClass="panelGrid" columns="2">
<h:outputText styleClass="outputLabel" value="Agency"/>
<h:selectOneMenu styleClass="selectOneMenu" id="cmbAgencyInactive"
value="#{sessionScope.Quot e.agencyNu mber}">
<f:selectItems value="#{sessionScope.agen cybean.age ncyListSpe cific}" />
</h:selectOneMenu>
</h:panelGrid>
</c:if>
<TABLE width="100%">
<TR>
<TD>
<h:outputText styleClass="outputLabel" id="text1"
value="Prepared By:"/>
<h:inputText id="txtPrepByName"
value="#{sessionScope.Quot e.prepared ByName}"
styleClass="inputText"/>
</TD>
<TD colspan="2">
<h:outputText styleClass="outputLabel" id="text2"
value="Quote Effective Date (mm/dd/yyyy):"/>
<h:inputText id="txtEffDate"
value="#{sessionScope.Quot e.effectiv eDate}"
styleClass="inputText"
size="10"
onkeypress="return formatDateOnTheFly(this, event)"/>
</TD>
</TR>
<TR>
<TD>
<h:outputText styleClass="outputLabel" id="text3"
value="First Name of Person Prepared For:"/>
<h:inputText id="txtPrepForFname"
value="#{sessionScope.Quot e.prepared ForFName}"
styleClass="inputText"/>
</TD>
<TD>
<h:outputText styleClass="outputLabel" id="text4"
value="Last Name of Person Prepared
For:"/>
<h:inputText id="txtPrepForLname"
value="#{sessionScope.Quot e.prepared ForLName}"
styleClass="inputText"/>
</TD>
<TD>
<h:outputText styleClass="outputLabel" value="Apply Membership Dues"/>
<h:selectBooleanCheckbox styleClass="selectBooleanC heckbox"
value="#{sessionScope.Quot e.applyMem bership}"/ >
</TD>
</TR>
</TABLE>
<h:panelGrid styleClass="panelGridhead" id="grid2" columns="1"
width="100%">
<h:outputText id="text5"
value="#{sessionScope.quot etype} Quote Data Unit #{sessionScope.Quote.curre ntUnit.des cription}"
styleClass="sectionhead">
</h:outputText>
</h:panelGrid>
<TABLE width="100%">
<TR>
<TD><h:outputText styleClass="outputLabel" id="text6"
value="#{sessionScope.quot etype} Form Type">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbForm" value="#{pc_QuoteControlle r.form}">
<f:selectItems value="#{sessionScope.Look up.formsLi st}" />
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text7"
value="Construction Type">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbConstCode" value="#{pc_QuoteControlle r.constCod e}">
<f:selectItems value="#{sessionScope.Look up.constTy peList}" />
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text8"
value="Protection Class">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbProtectClass" value="#{sessionScope.Quot e.protectC lass}">
<f:selectItems value="#{sessionScope.Look up.protect ClassList} " />
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text9"
value="County">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbTerrCode" value="#{sessionScope.Quot e.terrCode }">
<f:selectItems value="#{sessionScope.Look up.countyL ist}" />
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text9a"
value="Risk Zip">
</h:outputText>
<h:inputText id="txtRiskZipCode"
value="#{sessionScope.Quot e.riskZipC ode}"
styleClass="inputText" size="5"
onkeypress="return numbersonly(this, event);"/></TD>
</TR>
<c:if test="${sessionScope.quote type=='XX' }">
<tr>
<td>
<h:outputText styleClass="outputLabel" id="text10"
value="Coverage A Acres"></h:outputText>
<h:inputText id="txtCovAAcres"
value="#{sessionScope.Quot e.covAAcre s}"
styleClass="inputText" style="font-family: Arial; font-size: 9pt"
size="6"></h:inputText>
</td>
</tr>
</c:if>
</TABLE>
<h:panelGrid styleClass="panelGridhead" id="grid4" columns="1"
width="100%">
<h:outputText styleClass="sectionhead" id="text11"
value="#{sessionScope.quot etype} Limits">
</h:outputText>
</h:panelGrid>
<TABLE width="100%">
<TR>
<TD>
<h:outputText styleClass="outputLabel" id="text12"
value="Coverage A/C Limit">
</h:outputText>
<h:inputText id="txtCovALimit"
value="#{sessionScope.Quot e.covALimi t}"
styleClass="inputText" size="6"
onkeypress="return numbersonly(this, event);">
</h:inputText>
</TD>
<TD><h:outputText styleClass="outputLabel" id="text13"
value="Coverage L Limit">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbCovLLimit" value="#{sessionScope.Quot e.covLLimi t}">
<f:selectItems value="#{sessionScope.Look up.covLLim itsList}" />
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text14"
value="Coverage M Limit">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbCovMLimit" value="#{sessionScope.Quot e.covMLimi t}">
<f:selectItems value="#{sessionScope.Look up.covMLim itsList}" />
</h:selectOneMenu></TD>
</TR>
</TABLE>
<h:panelGrid styleClass="panelGridhead" id="deductiblesheading"
columns="1" width="100%">
<h:outputText styleClass="sectionhead" id="dedlablhdg"
value="#{sessionScope.quot etype} Deductibles (A/C)">
</h:outputText>
</h:panelGrid>
<h:panelGrid styleClass="panelGrid" id="gridDeductibles" columns="4"
width="100%">
<h:outputText styleClass="outputLabel" id="dedlabl3"
value="Deductibles">
</h:outputText>
<h:selectOneMenu styleClass="selectOneMenu" id="cmbDed1"
value="#{sessionScope.Quot e.deductib les[0]}">
<f:selectItems value="#{sessionScope.Look up.deducti bleList}" />
</h:selectOneMenu>
<h:selectOneMenu styleClass="selectOneMenu" id="cmbDed2"
value="#{sessionScope.Quot e.deductib les[1]}">
<f:selectItems value="#{sessionScope.Look up.deducti bleList}" />
</h:selectOneMenu>
<h:selectOneMenu styleClass="selectOneMenu" id="cmbDed3"
value="#{sessionScope.Quot e.deductib les[2]}">
<f:selectItems value="#{sessionScope.Look up.deducti bleList}" />
</h:selectOneMenu>
</h:panelGrid>
<h:panelGrid styleClass="panelGridhead" id="discountheading"
columns="1" width="100%">
<h:outputText styleClass="sectionhead" id="textdisc15"
value="#{sessionScope.quot etype} Surcharges/Discounts ([CTRL] click to select multiple discounts and click Add Surcharges/Discounts)">
</h:outputText>
</h:panelGrid>
<h:panelGrid styleClass="panelGrid" id="griddisc" columns="3"
width="65%">
<h:selectManyListbox styleClass="selectManyList box" id="msRemEndSR"
size="10">
<f:selectItems
value="#{sessionScope.Quot e.remainin gEndorseme nts_SR}" />
</h:selectManyListbox>
<hx:commandExButton type="submit" value="Add Surcharges/Discounts"
styleClass="core-button" id="btnAddEndSR"
action="#{pc_QuoteControll er.addSREn dorsement} "
onclick="document.body.sty le.cursor = 'wait';">
</hx:commandExButton>
<hx:outputLinkEx styleClass="outputLinkEx"
value="http://www2.cplink2.com" id="linkEx1" target="_blank">
<h:outputText id="text28" styleClass="outputText"
value="Link to ChoicePoint">
</h:outputText>
</hx:outputLinkEx>
</h:panelGrid>
<h:panelGrid styleClass="panelGridhead" id="endorsementheadin"
columns="1" width="100%">
<h:outputText styleClass="sectionhead" id="text15"
value="#{sessionScope.quot etype} Endorsements ([CTRL] click to select multiple endorsements and click Add Endorsements)">
</h:outputText>
</h:panelGrid>
<h:panelGrid styleClass="panelGrid" id="gridends" columns="3"
width="60%">
<h:outputText styleClass="outputLabel" id="text22" value="Liability">
</h:outputText>
<h:outputText styleClass="outputLabel" id="text18"
value="Physical Damage / Inland Marine">
</h:outputText>
<h:outputText styleClass="outputText" id="text23" value=" "></h:outputText>
<h:selectManyListbox styleClass="selectManyList box" id="msRemEndL"
size="10">
<f:selectItems
value="#{sessionScope.Quot e.remainin gEndorseme nts_L}" />
</h:selectManyListbox>
<h:selectManyListbox styleClass="selectManyList box" id="msRemEndDI"
size="10">
<f:selectItems
value="#{sessionScope.Quot e.remainin gEndorseme nts_DI}" />
</h:selectManyListbox>
<hx:commandExButton type="submit" value="Add Endorsements"
styleClass="core-button" id="btnAddEndDI"
action="#{pc_QuoteControll er.addLiab ilityDamag eEndorseme nt}"
onclick="document.body.sty le.cursor = 'wait';">
</hx:commandExButton>
</h:panelGrid>
<h:panelGrid styleClass="panelGrid" id="endorsements" columns="1"
width="75%">
<c:if test="${pc_QuoteController .selectedE ndorsement sSize > 0}">
<h:dataTable id="tblSelEndorsements"
value="#{pc_QuoteControlle r.selected Endorsemen ts}"
var="varselectedEndorsemen ts" styleClass="dataTable"
headerClass="headerClass" footerClass="footerClass"
rowClasses="rowClass1" columnClasses="columnClass 1" border="1"
cellpadding="2" cellspacing="0" rows="10" width="100%">
<h:column id="column3">
<f:facet name="header">
<h:outputText styleClass="outputLabel"
value="Selected Endorsements" id="text19">
</h:outputText>
</f:facet>
<h:outputText id="text20"
value="#{varselectedEndors ements.nam e} = #{varselectedEndorsements. descriptio n}"
styleClass="outputLabel">
</h:outputText>
<f:attribute value="40%" name="width" />
</h:column>
<h:column id="column4">
<f:facet name="header">
<h:outputText styleClass="outputLabel" value="Limit" id="text21">
</h:outputText>
</f:facet>
<h:inputText id="txtEndLimit"
value="#{varselectedEndors ements.lim it}" styleClass="inputText"
onkeypress="return numbersonly(this, event)">
</h:inputText>
<f:attribute value="10%" name="width" />
</h:column>
<h:column id="column5">
<f:facet name="header">
<h:outputText styleClass="outputLabel" value="Message"
id="text19e">
</h:outputText>
</f:facet>
<h:outputText id="txtEndError"
value="#{varselectedEndors ements.err orMessage} "
styleClass="outputText"
style="color:
red">
</h:outputText>
<f:attribute value="40%" name="width" />
</h:column>
<h:column id="columnend6e">
<f:facet name="header">
<h:outputText styleClass="outputLabel" value=""
id="text20delete">
</h:outputText>
</f:facet>
<h:commandLink styleClass="commandLink" id="lnkDeleteEndorsement"
action="#{pc_QuoteControll er.deleteE ndorsement }">
<h:outputText id="text20e" value="Delete Endorsement"
styleClass="outputText">
</h:outputText>
</h:commandLink>
<f:attribute value="40%" name="width" />
</h:column>
<f:facet name="footer">
<hx:panelBox styleClass="panelBox" id="box2">
<hx:pagerDeluxe styleClass="pagerDeluxe" id="deluxe2"
srcFirst="/quote/.ibmjsfre s/img/data grid_pager _first.gif "
srcLast="/quote/.ibmjsfres /img/datag rid_pager_ last.gif"
srcPrevious="/quote/.ibmjs fres/img/d atagrid_pa ger_previo us.gif"
srcNext="/quote/.ibmjsfres /img/datag rid_pager_ next.gif" />
</hx:panelBox>
</f:facet>
</h:dataTable>
</c:if>
</h:panelGrid>
<h:messages styleClass="messages" id="messages1"
style="color: red; font-family: Arial; font-size: 11pt"
layout="table"
showDetail="true"
showSummary="true"
tooltip="true" />
<BR>
<h:panelGrid styleClass="panelGrid" id="grid6" width="100%"
columns="5">
<c:if test="${sessionScope.quote type=='HO' }">
<c:if test="${sessionScope.readO nly=='fals e'}">
<hx:commandExButton id="cmdSaveNRateHO" styleClass="core-button"
type="submit" value="Save and Rate"
action="#{pc_QuoteControll er.saveNRa teHO}"
onclick="document.body.sty le.cursor = 'wait';">
</hx:commandExButton>
</c:if>
</c:if>
<c:if test="${sessionScope.quote type=='FO' }">
<c:if test="${sessionScope.readO nly=='fals e'}">
<hx:commandExButton type="submit" value="FO Save and Rate"
styleClass="core-button" id="cmdSaveNRateFO"
action="#{pc_QuoteControll er.saveNRa teFO}"
onclick="document.body.sty le.cursor = 'wait';">
</hx:commandExButton>
</c:if>
</c:if>
<hx:commandExButton type="submit" value="Back to Search Results"
styleClass="core-button" id="btnBackToSearchResults "
action="#{pc_QuoteControll er.backToS earchResul ts}"
onclick="document.body.sty le.cursor = 'wait';">
</hx:commandExButton>
<hx:commandExButton type="submit" value="Back To Search"
styleClass="core-button" id="btnBackToSearch"
action="#{pc_QuoteControll er.backToS earch}"
onclick="document.body.sty le.cursor = 'wait';">
</hx:commandExButton>
<hx:commandExButton type="submit" value="Home"
styleClass="core-button" id="btnHome"
action="#{pc_QuoteControll er.home}">
</hx:commandExButton>
</h:panelGrid>
</h:form>
</hx:scriptCollector>
</BODY>
</f:view>
</HTML>
--------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%-- jsf:pagecode language="java" location="/JavaSource/page
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<HTML>
<HEAD>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<META name="GENERATOR" content="IBM Software Development Platform" />
<META http-equiv="Content-Style-
<LINK rel="stylesheet" type="text/css"
href="../../../../theme/Ma
<LINK rel="stylesheet" type="text/css"
href="../../../../theme/st
<LINK rel="stylesheet" type="text/css"
href="../../../../styles/d
<LINK rel="stylesheet" type="text/css"
href="../../../../styles/N
<LINK href="/styles/sliding_door
type="text/css" />
<TITLE>EditQuote.jsp</TITL
<%@ taglib uri="/WEB-INF/tlds/PageHea
<script src="../../../../js/utilit
</HEAD>
<f:view>
<BODY onload="document.body.styl
<hx:scriptCollector id="scriptCollector1"
preRender="#{pc_QuoteContr
decode="#{pc_QuoteControll
<h:form styleClass="form" id="form1" onsubmit="return maybeSubmit();">
<c:if test="${sessionScope.quote
<ph:PageHeader pageTitle="Homeowners Quote Data"
imageDirectory="../../../.
</c:if>
<c:if test="${sessionScope.quote
<ph:PageHeader pageTitle="Farmowners Quote Data"
imageDirectory="../../../.
<DIV id="header">
<UL>
<LI id="current"><h:commandLin
id="lnkMainDwellingF"
action="#{pc_QuoteControll
<h:outputText id="text24MDF" styleClass="outputText"
value="Main Dwelling">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkPolicy"
action="#{pc_QuoteControll
<h:outputText id="text24Policy" styleClass="outputText"
value="Policy">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkBarn"
action="#{pc_QuoteControll
<h:outputText id="text24" styleClass="outputText"
value="Add / Delete Barns...">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkSFPP"
action="#{pc_QuoteControll
<h:outputText id="text25" styleClass="outputText"
value="Add / Delete Scheduled Farm Personal Property...">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkLiability"
action="#{pc_QuoteControll
<h:outputText id="text26" styleClass="outputText"
value="Add / Delete Liability...">
</h:outputText>
</h:commandLink></LI>
<LI><h:commandLink styleClass="commandLink" id="lnkUFPP"
action="#{pc_QuoteControll
<h:outputText id="text27" styleClass="outputText"
value="Add / Delete Unscheduled Farm Personal Property">
</h:outputText>
</h:commandLink></LI>
</UL>
</DIV>
</c:if>
<c:if test="${sessionScope.Quote
<h:panelGrid styleClass="panelGrid">
<h:outputText styleClass="outputText" id="text17"
value="Quote #{sessionScope.Quote.numbe
style="color: blue;"/>
</h:panelGrid>
</c:if>
<c:if test="${sessionScope.Quote
<h:panelGrid styleClass="panelGrid" columns="2">
<h:outputText styleClass="outputLabel" id="lblAgency" value="Agency"/>
<h:selectOneMenu styleClass="selectOneMenu"
value="#{sessionScope.Quot
<f:selectItems
value="#{sessionScope.agen
</h:selectOneMenu>
</h:panelGrid>
</c:if>
<c:if test="${sessionScope.inval
<h:panelGrid styleClass="panelGrid" columns="2">
<h:outputText styleClass="outputLabel" value="Agency"/>
<h:selectOneMenu styleClass="selectOneMenu"
value="#{sessionScope.Quot
<f:selectItems value="#{sessionScope.agen
</h:selectOneMenu>
</h:panelGrid>
</c:if>
<TABLE width="100%">
<TR>
<TD>
<h:outputText styleClass="outputLabel" id="text1"
value="Prepared By:"/>
<h:inputText id="txtPrepByName"
value="#{sessionScope.Quot
styleClass="inputText"/>
</TD>
<TD colspan="2">
<h:outputText styleClass="outputLabel" id="text2"
value="Quote Effective Date (mm/dd/yyyy):"/>
<h:inputText id="txtEffDate"
value="#{sessionScope.Quot
styleClass="inputText"
size="10"
onkeypress="return formatDateOnTheFly(this, event)"/>
</TD>
</TR>
<TR>
<TD>
<h:outputText styleClass="outputLabel" id="text3"
value="First Name of Person Prepared For:"/>
<h:inputText id="txtPrepForFname"
value="#{sessionScope.Quot
styleClass="inputText"/>
</TD>
<TD>
<h:outputText styleClass="outputLabel" id="text4"
value="Last Name of Person Prepared
For:"/>
<h:inputText id="txtPrepForLname"
value="#{sessionScope.Quot
styleClass="inputText"/>
</TD>
<TD>
<h:outputText styleClass="outputLabel" value="Apply Membership Dues"/>
<h:selectBooleanCheckbox styleClass="selectBooleanC
value="#{sessionScope.Quot
</TD>
</TR>
</TABLE>
<h:panelGrid styleClass="panelGridhead"
width="100%">
<h:outputText id="text5"
value="#{sessionScope.quot
styleClass="sectionhead">
</h:outputText>
</h:panelGrid>
<TABLE width="100%">
<TR>
<TD><h:outputText styleClass="outputLabel" id="text6"
value="#{sessionScope.quot
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbForm" value="#{pc_QuoteControlle
<f:selectItems value="#{sessionScope.Look
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text7"
value="Construction Type">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbConstCode" value="#{pc_QuoteControlle
<f:selectItems value="#{sessionScope.Look
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text8"
value="Protection Class">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbProtectClass" value="#{sessionScope.Quot
<f:selectItems value="#{sessionScope.Look
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text9"
value="County">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbTerrCode" value="#{sessionScope.Quot
<f:selectItems value="#{sessionScope.Look
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text9a"
value="Risk Zip">
</h:outputText>
<h:inputText id="txtRiskZipCode"
value="#{sessionScope.Quot
styleClass="inputText" size="5"
onkeypress="return numbersonly(this, event);"/></TD>
</TR>
<c:if test="${sessionScope.quote
<tr>
<td>
<h:outputText styleClass="outputLabel" id="text10"
value="Coverage A Acres"></h:outputText>
<h:inputText id="txtCovAAcres"
value="#{sessionScope.Quot
styleClass="inputText" style="font-family: Arial; font-size: 9pt"
size="6"></h:inputText>
</td>
</tr>
</c:if>
</TABLE>
<h:panelGrid styleClass="panelGridhead"
width="100%">
<h:outputText styleClass="sectionhead" id="text11"
value="#{sessionScope.quot
</h:outputText>
</h:panelGrid>
<TABLE width="100%">
<TR>
<TD>
<h:outputText styleClass="outputLabel" id="text12"
value="Coverage A/C Limit">
</h:outputText>
<h:inputText id="txtCovALimit"
value="#{sessionScope.Quot
styleClass="inputText" size="6"
onkeypress="return numbersonly(this, event);">
</h:inputText>
</TD>
<TD><h:outputText styleClass="outputLabel" id="text13"
value="Coverage L Limit">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbCovLLimit" value="#{sessionScope.Quot
<f:selectItems value="#{sessionScope.Look
</h:selectOneMenu></TD>
<TD><h:outputText styleClass="outputLabel" id="text14"
value="Coverage M Limit">
</h:outputText> <h:selectOneMenu styleClass="selectOneMenu"
id="cmbCovMLimit" value="#{sessionScope.Quot
<f:selectItems value="#{sessionScope.Look
</h:selectOneMenu></TD>
</TR>
</TABLE>
<h:panelGrid styleClass="panelGridhead"
columns="1" width="100%">
<h:outputText styleClass="sectionhead" id="dedlablhdg"
value="#{sessionScope.quot
</h:outputText>
</h:panelGrid>
<h:panelGrid styleClass="panelGrid" id="gridDeductibles" columns="4"
width="100%">
<h:outputText styleClass="outputLabel" id="dedlabl3"
value="Deductibles">
</h:outputText>
<h:selectOneMenu styleClass="selectOneMenu"
value="#{sessionScope.Quot
<f:selectItems value="#{sessionScope.Look
</h:selectOneMenu>
<h:selectOneMenu styleClass="selectOneMenu"
value="#{sessionScope.Quot
<f:selectItems value="#{sessionScope.Look
</h:selectOneMenu>
<h:selectOneMenu styleClass="selectOneMenu"
value="#{sessionScope.Quot
<f:selectItems value="#{sessionScope.Look
</h:selectOneMenu>
</h:panelGrid>
<h:panelGrid styleClass="panelGridhead"
columns="1" width="100%">
<h:outputText styleClass="sectionhead" id="textdisc15"
value="#{sessionScope.quot
</h:outputText>
</h:panelGrid>
<h:panelGrid styleClass="panelGrid" id="griddisc" columns="3"
width="65%">
<h:selectManyListbox styleClass="selectManyList
size="10">
<f:selectItems
value="#{sessionScope.Quot
</h:selectManyListbox>
<hx:commandExButton type="submit" value="Add Surcharges/Discounts"
styleClass="core-button" id="btnAddEndSR"
action="#{pc_QuoteControll
onclick="document.body.sty
</hx:commandExButton>
<hx:outputLinkEx styleClass="outputLinkEx"
value="http://www2.cplink2.com" id="linkEx1" target="_blank">
<h:outputText id="text28" styleClass="outputText"
value="Link to ChoicePoint">
</h:outputText>
</hx:outputLinkEx>
</h:panelGrid>
<h:panelGrid styleClass="panelGridhead"
columns="1" width="100%">
<h:outputText styleClass="sectionhead" id="text15"
value="#{sessionScope.quot
</h:outputText>
</h:panelGrid>
<h:panelGrid styleClass="panelGrid" id="gridends" columns="3"
width="60%">
<h:outputText styleClass="outputLabel" id="text22" value="Liability">
</h:outputText>
<h:outputText styleClass="outputLabel" id="text18"
value="Physical Damage / Inland Marine">
</h:outputText>
<h:outputText styleClass="outputText" id="text23" value=" "></h:outputText>
<h:selectManyListbox styleClass="selectManyList
size="10">
<f:selectItems
value="#{sessionScope.Quot
</h:selectManyListbox>
<h:selectManyListbox styleClass="selectManyList
size="10">
<f:selectItems
value="#{sessionScope.Quot
</h:selectManyListbox>
<hx:commandExButton type="submit" value="Add Endorsements"
styleClass="core-button" id="btnAddEndDI"
action="#{pc_QuoteControll
onclick="document.body.sty
</hx:commandExButton>
</h:panelGrid>
<h:panelGrid styleClass="panelGrid" id="endorsements" columns="1"
width="75%">
<c:if test="${pc_QuoteController
<h:dataTable id="tblSelEndorsements"
value="#{pc_QuoteControlle
var="varselectedEndorsemen
headerClass="headerClass" footerClass="footerClass"
rowClasses="rowClass1" columnClasses="columnClass
cellpadding="2" cellspacing="0" rows="10" width="100%">
<h:column id="column3">
<f:facet name="header">
<h:outputText styleClass="outputLabel"
value="Selected Endorsements" id="text19">
</h:outputText>
</f:facet>
<h:outputText id="text20"
value="#{varselectedEndors
styleClass="outputLabel">
</h:outputText>
<f:attribute value="40%" name="width" />
</h:column>
<h:column id="column4">
<f:facet name="header">
<h:outputText styleClass="outputLabel" value="Limit" id="text21">
</h:outputText>
</f:facet>
<h:inputText id="txtEndLimit"
value="#{varselectedEndors
onkeypress="return numbersonly(this, event)">
</h:inputText>
<f:attribute value="10%" name="width" />
</h:column>
<h:column id="column5">
<f:facet name="header">
<h:outputText styleClass="outputLabel" value="Message"
id="text19e">
</h:outputText>
</f:facet>
<h:outputText id="txtEndError"
value="#{varselectedEndors
styleClass="outputText"
style="color:
red">
</h:outputText>
<f:attribute value="40%" name="width" />
</h:column>
<h:column id="columnend6e">
<f:facet name="header">
<h:outputText styleClass="outputLabel" value=""
id="text20delete">
</h:outputText>
</f:facet>
<h:commandLink styleClass="commandLink" id="lnkDeleteEndorsement"
action="#{pc_QuoteControll
<h:outputText id="text20e" value="Delete Endorsement"
styleClass="outputText">
</h:outputText>
</h:commandLink>
<f:attribute value="40%" name="width" />
</h:column>
<f:facet name="footer">
<hx:panelBox styleClass="panelBox" id="box2">
<hx:pagerDeluxe styleClass="pagerDeluxe" id="deluxe2"
srcFirst="/quote/.ibmjsfre
srcLast="/quote/.ibmjsfres
srcPrevious="/quote/.ibmjs
srcNext="/quote/.ibmjsfres
</hx:panelBox>
</f:facet>
</h:dataTable>
</c:if>
</h:panelGrid>
<h:messages styleClass="messages" id="messages1"
style="color: red; font-family: Arial; font-size: 11pt"
layout="table"
showDetail="true"
showSummary="true"
tooltip="true" />
<BR>
<h:panelGrid styleClass="panelGrid" id="grid6" width="100%"
columns="5">
<c:if test="${sessionScope.quote
<c:if test="${sessionScope.readO
<hx:commandExButton id="cmdSaveNRateHO" styleClass="core-button"
type="submit" value="Save and Rate"
action="#{pc_QuoteControll
onclick="document.body.sty
</hx:commandExButton>
</c:if>
</c:if>
<c:if test="${sessionScope.quote
<c:if test="${sessionScope.readO
<hx:commandExButton type="submit" value="FO Save and Rate"
styleClass="core-button" id="cmdSaveNRateFO"
action="#{pc_QuoteControll
onclick="document.body.sty
</hx:commandExButton>
</c:if>
</c:if>
<hx:commandExButton type="submit" value="Back to Search Results"
styleClass="core-button" id="btnBackToSearchResults
action="#{pc_QuoteControll
onclick="document.body.sty
</hx:commandExButton>
<hx:commandExButton type="submit" value="Back To Search"
styleClass="core-button" id="btnBackToSearch"
action="#{pc_QuoteControll
onclick="document.body.sty
</hx:commandExButton>
<hx:commandExButton type="submit" value="Home"
styleClass="core-button" id="btnHome"
action="#{pc_QuoteControll
</hx:commandExButton>
</h:panelGrid>
</h:form>
</hx:scriptCollector>
</BODY>
</f:view>
</HTML>
This appears to be a page that the... agent maybe... fills in to create/change the quote?? I can see where it is grabbing vaules from somewhere... other than this page. So, this doesn't actually create the other page in questions. From what I can tell, QuoteController.java probably generates the pages and would be where you make the necessary changes.
LTCJ
LTCJ
ASKER
How do i extract " limit" value from here?
<h:column id="column4">
<f:facet name="header">
<h:outputText styleClass="outputLabel" value="Limit" id="text21">
</h:outputText>
</f:facet>
<h:inputText id="txtEndLimit"
value="#{varselectedEndors ements.lim it}" styleClass="inputText"
onkeypress="return numbersonly(this, event)">
</h:inputText>
<h:column id="column4">
<f:facet name="header">
<h:outputText styleClass="outputLabel" value="Limit" id="text21">
</h:outputText>
</f:facet>
<h:inputText id="txtEndLimit"
value="#{varselectedEndors
onkeypress="return numbersonly(this, event)">
</h:inputText>
ASKER
How does one extract values from a session variable like varselectedEndorsements above?
thanks
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<td width="10%" align="right" bgcolor="#f5f8cb" class="columnClass1"><span
Change '2.00' to '2%' without quotes.
If this is not a static page, then it's almost as simple, but would need to be changed in the actual code that creates this page.
LTCJ