On Apr 3, 2007, at 3:49 PM, Chuck Hill wrote:

Maybe post some of the HTML and WOD files.

Okay, here you go:

WOD:

BOMCFixedScrap: WOTextField {
        size = 8;
        value = aRequestedBillOfMaterialBillOfMaterialComponent.scrapFixed;
        numberformat = "#,##0.000000";
        class = "small";
}

BOMCQuantity: WOTextField {
        size = 8;
        value = aRequestedBillOfMaterialBillOfMaterialComponent.partQuantity;
        numberformat = "#,##0.000000";
        class = "small";
}

BOMCScrapPercent: WOTextField {
        size = 6;
        value = aRequestedBillOfMaterialBillOfMaterialComponent.scrapPercent;
        numberformat = "#,##0.0000";
        class = "small";
}

BillOfMaterialComponentRepetition: WORepetition {
        item = aRequestedBillOfMaterialBillOfMaterialComponent;
list = aRequestedBillOfMaterialRoutingStep.billOfMaterialComponentsDefaultOrder ing;
}

PopUpButtonBOMCParts: WOPopUpButton {
        class = "small";
        displayString = aRequestedBOMComponentPart.partDescription;
        item = aRequestedBOMComponentPart;
        list = requestedBOMComponentParts;
        selection = selectedRequestedBOMComponentPart;
}

PopUpButtonBOMCUnitsOfMeasure: WOPopUpButton {
        displayString = aRequestedBOMRSComponentUnitOfMeasure.uomNamePlural;
        item = aRequestedBOMRSComponentUnitOfMeasure;
        list = requestedBOMRSComponentUnitOfMeasure;
        selection = selectedRequestedBOMRSComponentUnitOfMeasure;
}

PopUpButtonBillOfMaterialParts: WOPopUpButton {
        displayString = aRequestedBillOfMaterialPart.partDescription;
        item = aRequestedBillOfMaterialPart;
        list = requestedBillOfMaterialParts;
        selection = selectedRequestedBillOfMaterialPart;
}

PopUpButtonBillOfMaterialToolConfigurations: WOPopUpButton {
        class = "small";
displayString = aPossibleBillOfMaterialToolConfiguration.configurationDescription;
        item = aPossibleBillOfMaterialToolConfiguration;
        list = possibleBillOfMaterialToolConfigurations;
        selection = selectedPossibleBillOfMaterialToolConfiguration;
}

PopUpButtonBillOfMaterialTools: WOPopUpButton {
        displayString = aRequestedBillOfMaterialTool.toolName;
        item = aRequestedBillOfMaterialTool;
        list = requestedBillOfMaterialTools;
        selection = selectedRequestedBillOfMaterialTool;
}

PopUpButtonBillOfMaterialTypes: WOPopUpButton {
        displayString = aRequestedBillOfMaterialBillOfMaterialType.typeName;
        item = aRequestedBillOfMaterialBillOfMaterialType;
        list = requestedBillOfMaterialBillOfMaterialTypes;
        selection = selectedBillOfMaterialBillOfMaterialType;
}

PopUpButtonBillOfMaterialUnitsOfMeasure: WOPopUpButton {
        displayString = aRequestedBillOfMaterialUnitOfMeasure.uomNamePlural;
        item = aRequestedBillOfMaterialUnitOfMeasure;
        list = requestedBillOfMaterialUnitsOfMeasure;
        selection = selectedRequestedBillOfMaterialUnitOfMeasure;
}

PopUpButtonRoutingStepTools: WOPopUpButton {
        item = aRequestedBOMRoutingStepTool;
        list = requestedBOMRoutingStepTools;
        selection = selectedRequestedBOMRoutingStepTool;
        displayString = aRequestedBOMRoutingStepTool.toolName;
}

RadioButtonIsActiveNo: WORadioButton {
        name = "isActive";
        selection = selectedRequestedBillOfMaterialIsActive;
        value = zero;
}

RadioButtonIsActiveYes: WORadioButton {
        name = "isActive";
        selection = selectedRequestedBillOfMaterialIsActive;
        value = one;
}

RadioButtonIsDefaultNo: WORadioButton {
        name = "isDefault";
        selection = selectedRequestedBillOfMaterialIsDefault;
        value = zero;
}

RadioButtonIsDefaultYes: WORadioButton {
        name = "isDefault";
        selection = selectedRequestedBillOfMaterialIsDefault;
        value = one;
}

Repetition1: WORepetition {
        list = requestedBillOfMaterialToolConfigurations;
        item = aRequestedBillOfMaterialToolConfiguration;
}

RoutingStepRepetition: WORepetition {
        item = aRequestedBillOfMaterialRoutingStep;
        list = requestedBillOfMaterial.routingStepsDefaultOrdering;
}

SubmitButtonApply: WOSubmitButton {
        action = applyChangesToRequestedBillOfMaterial;
        value = "Apply";
}

TextField2: WOTextField {
        numberformat = "#,##0";
        size = 3;
        value = requestedBillOfMaterial.partQuantity;
}

billOfMaterialForm: WOForm {
}

billOfMaterialToolConfiguration: WOString {
value = aRequestedBillOfMaterialToolConfiguration.configurationDescription;
}

cloneLink: WOHyperlink {
        action = cloneBillOfMaterial;
}

lineNumber: WOTextField {
        class = "small";
        size = 2;
        value = aRequestedBillOfMaterialBillOfMaterialComponent.lineNumber;
}

routingDescription: WOString {
        value = requestedBillOfMaterial.routingDescription;
}

routingStepDescription: WOTextField {
        class = "small";
        size = 20;
        value = aRequestedBillOfMaterialRoutingStep.routingStepName;
}

routingStepInstructions: WOText {
        class = "small";
        cols = 80;
        rows = 4;
        value = aRequestedBillOfMaterialRoutingStep.instructions;
}

routingStepSequence: WOTextField {
        class = "small";
        size = 2;
        value = aRequestedBillOfMaterialRoutingStep.routingStepSequence;
}

schedulingLink: WOHyperlink {
        action = toSchedulingMain;
}

HTML:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta name="generator" content="WebObjects 5.3.1">
<title>BOM Details</title>
<link href="/resources/bakeryManagement.css" rel="stylesheet" type="text/css">
</head>
<body>
<webobject name="schedulingLink">Scheduling</webobject> <webobject name="billOfMaterialForm">
<table cellspacing="2" cellpadding="1" border="0">
  <tr>
    <td></td>
<td class="small" colspan="2"><webobject name="cloneLink">Clone</ webobject></td>
  </tr>
  <tr>
    <td bgcolor="#CCCCCC" class="smallColumnHeaders">Description</td>
<td class="small" bgcolor="#FFFFCC" colspan="2"><webobject name="routingDescription"></webobject></td>
  </tr>
  <tr>
    <td bgcolor="#CCCCCC" class="smallColumnHeaders">Type</td>
<td class="small" bgcolor="#FFFFCC" colspan="2"><webobject name="PopUpButtonBillOfMaterialTypes"></webobject></td>
  </tr>
  <tr>
    <td bgcolor="#CCCCCC" class="smallColumnHeaders">Active</td>
<td class="small" bgcolor="#FFFFCC" colspan="2"><webobject name="RadioButtonIsActiveYes"></webobject>Yes <webobject name="RadioButtonIsActiveNo"></webobject>No</td>
  </tr>
  <tr>
    <td bgcolor="#CCCCCC" class="smallColumnHeaders">Default</td>
<td class="small" bgcolor="#FFFFCC" colspan="2"><webobject name="RadioButtonIsDefaultYes"></webobject>Yes <webobject name="RadioButtonIsDefaultNo"></webobject>No</td>
  </tr>
  <tr>
    <td bgcolor="#CCCCCC" class="smallColumnHeaders">Work Center</td>
<td class="small" bgcolor="#FFFFCC" colspan="2"><webobject name="PopUpButtonBillOfMaterialTools"></webobject></td>
  </tr>
  <tr>
    <td bgcolor="#CCCCCC" class="smallColumnHeaders">Part</td>
<td class="small" bgcolor="#FFFFCC" colspan="2"><webobject name="PopUpButtonBillOfMaterialParts"></webobject></td>
  </tr>
  <tr>
    <td bgcolor="#CCCCCC" class="smallColumnHeaders">Quantity</td>
<td class="small" bgcolor="#FFFFCC"><webobject name="TextField2"></webobject><webobject name="PopUpButtonBillOfMaterialUnitsOfMeasure"></webobject></td> <td align="right" class="small" bgcolor="#FFFFCC"><webobject name="SubmitButtonApply"></webobject></td>
  </tr>
  <tr>
    <td colspan="3"><table cellspacing="2" cellpadding="1" border="0">
        <tr class="smallColumnHeaders" bgcolor="#CCCCCC">
          <td>Step</td>
          <td>Work&nbsp;Center</td>
          <td>Description</td>
          <td>Cell</td>
        </tr>
        <webobject name="RoutingStepRepetition">
        <tr class="small" bgcolor="#FFFFCC">
<td rowspan="3"><webobject name="routingStepSequence"></ webobject></td> <td><webobject name="PopUpButtonRoutingStepTools"></ webobject></td> <td><webobject name="routingStepDescription"></webobject></ td>
          <td rowspan="3"></td>
        </tr>
        <tr>
<td bgcolor="#FFFFCC" colspan="2"><webobject name="routingStepInstructions"></webobject></td>
        </tr>
        <tr>
<td bgcolor="#FFFFCC" colspan="2"><table cellspacing="2" border="0" width="100%" cellpadding="1">
              <tr class="smallColumnHeaders" bgcolor="#CCCCCC">
                <td>Line</td>
                <td>Part</td>
                <td>Quantity</td>
                <td>Scrap Fixed</td>
                <td>UoM</td>
                <td>Scrap Percent</td>
                <td></td>
              </tr>
              <webobject name="BillOfMaterialComponentRepetition">
              <tr class="small" bgcolor="#FFFFCC">
                <td><webobject name="lineNumber"></webobject></td>
<td width="100%"><webobject name="PopUpButtonBOMCParts"></webobject></td> <td align="right"><webobject name="BOMCQuantity"></ webobject></td> <td align="right"><webobject name="BOMCFixedScrap"></ webobject></td> <td><webobject name="PopUpButtonBOMCUnitsOfMeasure"></webobject></td> <td align="right"><webobject name="BOMCScrapPercent"></webobject></td>
                <td></td>
              </tr>
              </webobject>
            </table></td>
        </tr>
        </webobject>
      </table></td>
  </tr>
  <tr>
    <td colspan="3"><table cellspacing="2" cellpadding="1" border="0">
        <tr class="small">
<td><webobject name="PopUpButtonBillOfMaterialToolConfigurations"></webobject></td>
          <td></td>
        </tr>
        <webobject name="Repetition1">
        <tr class="small" bgcolor="#FFFFCC">
<td><webobject name="billOfMaterialToolConfiguration"></ webobject></td>
          <td>X</td>
        </tr>
        </webobject>
      </table></td>
  </tr>
</table>
</webobject>
</body>
</html>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to