I have the following code:
<%@ taglib uri="/WEB-INF/dbForms.tld" prefix="db" %>
<HTML>
<HEAD>
<db:base/>
<META NAME="GENERATOR" CONTENT="Adobe PageMill 3.0 Mac">
<TITLE>Select Payers</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
<db:errors />
<FORM action="select_payers_worksheet.jsp" method="POST"
onSubmit="select_payers_worksheet.jsp">
<H1>VA Health Care Insurance Verification</H1>
<P><HR ALIGN=LEFT></P>
<P><TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="2">
<%@ include file="navbar.jsp" %>
<H3>Select Payers</H3>
<P>Specify which payers to display in the worksheet.</P>
<table border="1" cellspacing="0" cellpadding="2">
<TR>
<td valign="top">Payer Name:</td>
<td valign="top"><input
name="<%searchFieldNames_PAYER.get("NAME")%>" type="text" size="30"
value="A*"></td>
</TR>
<tr>
<td valign="top">Communications Partner:</td>
<td>
<db:dbform tableName="COMMUNICATIONS_PARTNER" maxRows="*"
followUp="/select_payers_worksheet.jsp" autoUpdate="FALSE">
<db:header>
<select name="myselectname">
</db:header>
<db:body>
<option><db:dataLabel fieldName="SHORT_NAME"/>
</db:body>
<db:footer>
</select>
<tr>
<td>
<db:gotoButton caption="Submit"
destination="select_payers_worksheet.jsp" />
<input value="Search!" type="button"
onClick="javascript:document.dbform.submit();">
<db:gotoButton caption="Cancel" destination="select_payers.jsp" />
</td>
</tr>
</db:footer>
</db:dbform>
</TABLE>
</FORM>
</BODY>
</HTML>
I get the following error:
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors
compiling:E:\orant9i\J2EE\home\application-deployments\default\defaultWebApp
\persistence\_pages\_iiv\_select__payers.java
Line # Error
80 [jsp src:line #:29][NL]Invalid type expression.
searchFieldNames_PAYER.get("NAME")
81 Invalid declaration. __ojsp_s_out.write(__jsp_StaticText.text[5]);
The dbforms documentation talks about how to do a functional search (chapter
9) and then chapter 10 talks about scriptiong variables but I don't know how
to make this work...what am I missing.
Thank you in advance for all your help.
Regards,
Gethsemani Palacios
Computer Specialist
Austin Automation Center
512-326-6708
512-762-7295
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms