Академический Документы
Профессиональный Документы
Культура Документы
<body>
<input type=“text”/>
<input type=“checkbox”/>
<input type=“button” value=“Press”/>
</body>
<body>
<table>
<tr>
<td class="oraLabel" oraLabel="approvalProfileBO/approvalProfile"> </td>
</tr>
</table>
The oraLabel class has logic that retrieves the label
</body> Here's the placeholder that
from the element defined in the oraLabel attribute
and formats it using the standard label style (note, will be populated with the
this element's label source is controlled by the label of the approvalProfile
object whose XML is injected into the HTML at run element at run time (based
time, e.g., it probably comes from the meta-data on the user's language)
field that's been set up to hold approval profile code)
• Another <class> …
<body>
<table>
<tr>
<td class="oraLabel" oraLabel="approvalProfileBO/approvalProfile"> </td>
<td><input type="text" class="oraInput" oraField="approvalProfileBO/description"> </td>
</tr>
</table> The oraInput class has logic that retrieves a Here's the placeholder that will
value from the element defined in the oraField be used to display / capture with
</body>
attribute; it also has logic that populates this the value of the description
element when the user continues element at run time
<select>
<option value=" "> </option>
<option value=“CA”>California</option>
<option value=“IL”>Illinois</option>
<option value=“NY”>New York</option>
</select>
</tr> Lookups are just one way, you can use the
tips on the UI map for other ways to
</table>
populate the options values
</body>
<head>
<link rel="stylesheet" type="text/css" href="../cm/myStyle.css">
</head>
• Colors - http://www.visibone.com/colorlab/big.html
• CSS - http://www.blooberry.com/indexdot/css/
• Easy Google Search is “dot css"
• The HTML behind a map zone can come from one of the
following sources:
• The system can render the HTML at run-time using attributes in a
schema (and this can be a BO, service script or business service
schema), OR
• You can set up the HTML in the meta-data by creating a user
interface map (UI map) and then tell the system to retrieve the
HTML from the meta-data
• We’ll describe the run-time rendering first…
Parameter
Parameter
Type When you set up a map zone, you
declare
1) the type of business object that’s
Map Zone Type Customer Map Zone
displayed (bo=) and
UI Map
2) the name of BO’s unique identifier
Object Displayed bo=‘Customer’
on the client (sourceField=)
XML Parm 1 sourceField=PER_ID targetPath=customerId
3) where the BO's unique identifier
XML Parm 2
resides in the bo’s schema
XML Parm 3
(targetPath=)
XML Parm …
IndividualTaxpayer Schema
IndividualTaxpayer Schema
This method is FORBIDDEN Both do the same thing - the right side means that you’ve set up a metadata
in released software; it is field with a type of "money" and a label of "Threshold"; this is more work up
meant for demo's front, but it allows for a multi-lingual and translatable application
IndividualTaxpayer Schema
IndividualTaxpayer Schema
...
...
<custType mapField="ADHOC_CHAR_VAL"
<custType mapField="ADHOC_CHAR_VAL"
dataType="lookup" label="Customer Type"
mdField="CUST_TYPE" >
lookup="CUST_TYPE_FLG" >
<row mapChild="CI_PER_CHAR">
<row mapChild="CI_PER_CHAR">
<CHAR_TYPE_CD is="CUSTTYPE" />
<CHAR_TYPE_CD is="CUSTTYPE" />
<EFFDT default="%CurrentDate" />
<EFFDT default="%CurrentDate" />
</row>
</row>
</custType>
</custType>
...
...
Again, this method is Both do the same thing - the right side means that
FORBIDDEN in released you’ve set a field up front to define the lookup value
software; it is meant for demo's
This will cause the SA's context menu and info string
to be displayed
The style
"oraSectionHeader"
formats the HTML
<conservationProgram type="group">
<includeBO name="C1-ConservationProgram"/>
</conservationProgram>
HTML Fragments
Help Text
Consistency
<includeBO name="Account"/>
<includeBO name="Person"/>
<includeBO name="Premise"/>
You’ll be using two commands: In this example, the script will return
Step 1) Read BO information about 3 BO’s (that are
2) Move coincidentally named like their MO’s –
this is just coincidence)