home *** CD-ROM | disk | FTP | other *** search
- /*
- * Main.wod
- *
- * You may freely copy, distribute and reuse the code in this example.
- * NeXT disclaims any warranty of any kind, expressed or implied, as to
- * its fitness for any particular use.
- *
- * This is the declarations file for the Main (first) page of the
- * TimeOff application.
- *
- */
-
-
- NAME:WOTextField {
- value = name;
- };
-
- PASSWORD:WOPasswordField {
- value = password;
- };
-
- SUBMIT:WOSubmitButton {
- action = recordTimeOff;
- value = "Record";
- };
-
- /*
- * In the following declarations, callBack is a WOAction object that has
- * an associated method, mainPage. mainPage is invoked whenever the
- * callBack object receives an invoke message. For more information, see
- * the comments in Main.wos and Calendar.wos.
- */
- START:Calendar {
- selectedDate = startDate;
- callBack = mainPage;
- };
-
- END:Calendar {
- selectedDate = endDate;
- callBack = mainPage;
- };
-
-