物料详细信息页:
路径:/OracleEBS/oracle_ebs/product_detail.html
内容:
<html>物料信息修改页:
<HEAD>
<title>Oracle EBS - Product Detail</title>
</HEAD>
<body>
<div width="100%" align="center">
<h1 name="title">Product Detail</h1>
<br />
<table name="data" />
<br />
<span name="back_button" />
<span name="update_button" />
</div>
</body>
</html>
路径:/OracleEBS/oracle_ebs/product_edit.html
内容:
<html>4) 开发数据定义文件
<HEAD>
<title>Oracle EBS - Product Edit</title>
</HEAD>
<body>
<div width="100%" align="center">
<h1 name="title">Product Edit</h1>
<br />
<table cellpadding="0" cellspacing="2">
<form name="input_form" method="POST">
<tr>
<td colspan="2"><table name="input_data" cellspacing="0" cellpadding="3" /></td>
</tr>
<tr>
<td><span name="cancel_button" /><input type="submit" name="submit_button" /></td>
</tr>
<tr><td> </td></tr>
</form>
</table>
</div>
</body>
</html>
本案例中为了规范化数据格式定义,我们采用xml格式表述参数定义,涉及两个文件:
富文本内容约束文件:
路径:/OracleEBS/oracle_ebs/oebs_base_datadef.xml
内容:
<!-- These are some sample data definition types to use as base types with Rich Data Definition -->
<DataDefinitions resources="com.bowstreet.builders.webapp.usertext.messages">
<!-- for variable-length Strings, adds case-insensitive sorting, longer edit, and left alignment-->
<DataDefinition name="oebs_base_String">
<ColumnAlignment>left</ColumnAlignment>
<ColumnSorting>Case Insensitive String</ColumnSorting>
<DataEntryControl>com.bowstreet.builders.webapp.TextInputBuilder</DataEntryControl>
<DataEntryInputs>
<Inputs>
<Input name="HTMLAttributes">
<HTMLAttributes>
<size>35</size>
</HTMLAttributes>
</Input>
</Inputs>
</DataEntryInputs>
</DataDefinition>
</DataDefinitions>