home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-2.iso / Developer / webobjects / extensions / win-nt / WOPerl-lite-10e7.exe / Examples / WOPerl / DodgeLite / Main.wo / Main.wod < prev   
Encoding:
Text File  |  1996-08-09  |  919 b   |  51 lines

  1. /*
  2.  * Main.wod
  3.  *
  4.  * You may freely copy, distribute and reuse the code in this example.
  5.  * NeXT disclaims any warranty of any kind, expressed or implied, as to
  6.  * its fitness for any particular use.
  7.  *
  8.  * This example was written with a Beta version of WebObjects.
  9.  *
  10.  * Written by Jean-Marie Hullot
  11.  *
  12.  */
  13.  
  14. MODEL.NAME:WOBrowser {
  15.     list = models; 
  16.     item = model; 
  17.     value = model.name; 
  18.     selections = selectedModels; 
  19. };
  20.  
  21. PRICE:WOBrowser {
  22.     list = prices; 
  23.     item = price; 
  24.     value = priceFormat;
  25.     selections = selectedPrices; 
  26. };
  27.  
  28. TYPE.NAME:WOBrowser { 
  29.     list = types; 
  30.     item = type; 
  31.     value = type.name; 
  32.     selections = selectedTypes;
  33. };
  34.  
  35. SORTBY:WOPopUpButton {
  36.     list = sortBys; 
  37.     item = sortBy; 
  38.     value = sortBy; 
  39.     selection = selectedSortOrder;
  40. };
  41.  
  42. SUBMIT:WOActiveImage {  
  43.     action = displayCars;
  44. };    
  45.  
  46. RESET:WOHyperLink { 
  47.     action = reset;
  48. };    
  49.  
  50. FOOTER: Footer {};
  51.