Changeset 1311 for EWD


Ignore:
Timestamp:
Dec 8, 2011, 9:15:49 AM (13 years ago)
Author:
Sam Habiel
Message:

DIINQUIRE, now functional

Location:
EWD/ewdapps/DIINQUIRE/pages
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • EWD/ewdapps/DIINQUIRE/pages/index.ewd

    r1308 r1311  
    1 <ewd:config isFirstPage="false" prePageScript="FILES^ewdu">
     1<ewd:config isFirstPage="false" prePageScript="FILES^C0EDIINQUIRE">
    22<html>
    33<head>
    44<title>Inquire into File Entries</title>
     5<script type="text/javascript">
     6    var VISTA = {}; //Mi Casa
     7   
     8    VISTA.getEntries = function(value) {
     9        ewd:ENTRY^C0EDIINQUIRE(value);
     10        document.getElementById('fsEntry').style.visibility = 'visible';
     11    };
     12   
     13    VISTA.showInqOpts = function() {
     14        document.getElementById('fsInqOptions').style.visibility = 'visible';
     15        }
     16</script>
    517</head>
    618<body>
    719<h1>Inquire into File Entries</h1>
    8 <form action="ewd">
    9     <label for="file">File:</label><select name="file"></select>
    10     <input type="submit" value="Submit" name="submitFile" ajax="true" nextpage="entry" targetId="entries" />
    11     <div id="entries"></div>
     20<form method="post" action="ewd">
     21    <fieldset id="fsFile">
     22        <label for="file">File:</label><select name="file" onChange="VISTA.getEntries(this.value)"></select>
     23        <input type="button" value="Select" onClick="VISTA.getEntries(document.getElementById('file').value)">
     24    </fieldset>
     25    <fieldset id="fsEntry" style="visibility: hidden">
     26        <label for="entry">Entry: </label><select name="entry" onChange="VISTA.showInqOpts()"></select>
     27        <input type="button" value="Select" onClick="VISTA.showInqOpts()" />
     28    </fieldset>
     29    <fieldset id="fsInqOptions" style="visibility: hidden">
     30        <p>Inquire Options</p>
     31        <label for="R">Record Number:</label><input id="R" type="checkbox" name="outopt" value="R" /><br />
     32        <label for="C">Computed Fields:</label><input id="C" type="checkbox" name="outopt" value="C" /><br />
     33        <label for="A">Audit: </label><input id="A" type="checkbox" name="outopt" value="A" /><br />
     34        <input type="submit" value="Submit" name="submit" ajax="true" nextpage="outputter" targetId="output" />
     35    </fieldset>
    1236</form>
     37<div id="output" style="font-family: Monospace; left: 10%; white-space: pre">
    1338</div>
    1439</body>
  • EWD/ewdapps/DIINQUIRE/pages/outputter.ewd

    r1306 r1311  
    1 <ewd:config isFirstPage="false" pageType="ajax" prePageScript="INQ^ewdu">
    2 
     1<ewd:config isFirstPage="false" pageType="ajax" prePageScript="INQ^C0EDIINQUIRE">
    32<ewd:forEach sessionName="DIINQUIRE" index="$lineNo" return="$data">
    43    <?= $data ?><br />
Note: See TracChangeset for help on using the changeset viewer.