1:<!-- ==================== EXTERNTEST ======================
  2:Common:   Configurationfile for tsl.jartifex.JArtifex
  3:Comment:  a sample to see the functionality of the spread
  4:                    , the dialog and the work with your own classes
  5:Author:   Thomas Schneider
  6:Date:     15.07.2001
  7:JDK:      1.2
  8:Call:     java -jar tsl.jar externtest
  9:======================================================= -->
 10:<JArtifex.externtest>
 11:        <group.common>
 12:                extern      = "_ExternControllerTest"
 13:                devidesign  = ","
 14:        </group.common>
 15:        <group.swing>
 16:                <Edit   name    = "medRowText"
 17:                                title   = "Col1:"
 18:                                type    = "char(256)"
 19:                                command = "Col1">
 20:                </Edit>
 21:                <Edit   name    = "medRowText2"
 22:                                title   = "Col2:"
 23:                                type    = "char(256)"
 24:                                command = "Col2">
 25:                </Edit>
 26:           <Spread name = "sprTable"
 27:                           command = "Col1-Name,Co2-Name"
 28:                                editable = "col= 1"
 29:                                link    = "actionExecute1, actionExecute2">
 30:           </Spread>
 31:                <Button name    = "actionExecute1"
 32:                        command = "[sprTable(col= 0)]"
 33:                        visible = "off"
 34:                        link    = "medRowText">
 35:                </Button>
 36:                <Button name    = "actionExecute2"
 37:                        command = "[sprTable(col= 1)]"
 38:                        link    = "medRowText2"
 39:                        visible = "off">
 40:                </Button>
 41:           <Button name = "bnOpen"
 42:                           title = "fill the table through the extern controllerclass (_ExternControllerTest.getData())"
 43:                           cmdtype = "CLS"
 44:                           command = "@extern getData"
 45:                           link  = "sprTable">
 46:           </Button>
 47:           <Button name = "bnNewRow"
 48:                           title = "append new row to the table"
 49:                           cmdtype = "APPEND"
 50:                           command = "[medRowText],[medRowText2]"
 51:                           link  = "sprTable">
 52:           </Button>
 53:           <Button name = "bnDeleteRow"
 54:                           title = "delete selected row from table"
 55:                           cmdtype = "DELETEROW"
 56:                           command = "sprTable">
 57:           </Button>
 58:           <Button name = "bnShow"
 59:                           title = "Show Dialog"
 60:                           cmdtype = "SHOW"
 61:                           command = "dlgTest">
 62:           </Button>
 63:           <Dialog name = "dlgTest"
 64:                                title = "MeinDialog"
 65:                                xsize = "200"
 66:                                ysize = "80">
 67:                   <Button name = "bnShow2"
 68:                                   title = "Show Dialog2"
 69:                                   cmdtype = "SHOW"
 70:                                   command = "dlgTest2">
 71:                   </Button>
 72:                   <Button name = "bnClose"
 73:                                   title = "Close"
 74:                                   cmdtype = "CLOSE"
 75:                                   command = "dlgTest">
 76:                   </Button>
 77:                </Dialog>
 78:           <Dialog name = "dlgTest2"
 79:                                title = "ExternTest-Dialog: Date in the past"
 80:                                modal = "yes"
 81:                                xsize = "300"
 82:                                ysize = "80">
 83:                        <Edit   name    = "medDlgDate"
 84:                                        title   = "Please input a date before today:"
 85:                                        tooltip = "Please input a date before today:"
 86:                                        type    = "date(##.##.####)"
 87:                                        command = "01.01.2010">
 88:                        </Edit>
 89:                        <Button name    = "bnExampleOk"
 90:                                        title   = "Ok"
 91:                                        cmdtype = "CLS"
 92:                                        command = "@extern validDate [medDlgDate]"
 93:                                        link    = "NOTNULL:medRowText,NOTNULL:bnExampleCancel">
 94:                        </Button>
 95:                        <Button name    = "bnExampleCancel"
 96:                                        title   = "Cancel"
 97:                                        cmdtype = "Close"
 98:                                        command = "dlgTest2"
 99:                                        position= "right">
100:                        </Button>
101:                </Dialog>
102:        </group.swing>
103:</JArtifex.externtest>
104:
1