📄 6_0.rc
字号:
## This is a Template-File for WWWdb#### --- Description of the data to access -----------------------------------------[Data]Table =Order =UpdFields =QryFields =# Buttons for all states# please note that "-" deactivates a Button[State All]BtnCancel = -BtnHelp = -BtnExit = -# This is the state when the form is called the first time, or the Back-button# is pressed[State Init]BtnNew = -BtnQry = -Header = <B>WWWdb</B> Help - Overview (Part VI)[Layout Label top_nav_prev]Pos = +1.0.0Align = leftText = "Previous"Ref = wwwdb://WWWdb:Help:Overview:5_0[Layout Label top_nav_up]Pos = +0.1+1.0Align = centerText = "Up"Ref = wwwdb://WWWdb:Help:Index[Layout Label top_nav_next]Pos = +0.4.0Align = rightText = "Next"Ref = wwwdb://WWWdb:Help:Overview:7_0[Layout Label nav_top_hl]Pos = +1.+0+4.0Text = <HR>[Layout Label configuration]Pos = +1.+0+4.0Text = <<EOFPlug'n Play<BR><BR>EOFFont = color=blueAlign = center[Layout Label configuration1]Pos = +1.+0+4.0Text = <<EOFOf course you can extend <B>WWWdb</B> with your own functionality. Thereforewe have a concept called Plugins.<BR><BR>Plugins are subprocedures in perl, which allow you to control theapplication-flow. For the communication with <B>WWWdb</B> an API doesexist.<BR><BR>Some Plugins allow a <i>Pre</i>, <i>My</i> and<i>Post</i>-functionality. In detail this means:<ul><li><i>Pre</i> - This plugin is called <i>before</i> the system-defined function</li><li><i>My</i> - This plugin is called <i>instead of</i> the system-defined function</li><li><i>Post</i> - This plugin is called <i>after</i> the system-defined function</li></ul><TABLE BORDER=1> <TR> <TH> Plugin </TH> <TH> Description </TH> <TH> Called ... </TH> </TR> <TR> <TD> PreCreateForm </TD> <TD> Allows you, to do anything, you want, before the HTML-code is generated. Here you can define listboxes dynamically by example. </TD> <TD> ... before generating the HTML-form. </TD> </TR> <TR> <TD> Check_<Table>_EveryField </TD> <TD> For every-input field, this Plugin is called with the actual fieldname. You can put in any validations in here. But in the most times here is the wrong place to put in functionality. </TD> <TD> ... after submission, for every field on the form. </TD> </TR> <TR> <TD> Check_<Table>_<Field> </TD> <TD> For the input-field <Field> of the table <Table> this plugin is called to perform some field-checkings. </TD> <TD> ... after submission, for the input-field <Field> of the table <Table> </TD> </TR> <TR> <TD> Check_<Table> </TD> <TD> With this plugin you can check by example the integrity of the whole dataset. </TD> <TD> ... after submission and all field-checks </TD> </TR> <TR> <TD> (My)<Db-Driver>_<Field-Type>_<Direction> </TD> <TD> Allows you to convert data from the format it is stored in the database to a format, the user accepts (One example is the formatting of date-fields) </TD> <TD> ... after reading the data from the database and before writing data to the database. </TD> </TR> <TR> <TD> (Pre|My|Post)<Btn> </TD> <TD> Actions to do, when the specified button was pressed. </TD> <TD> ... Before, during and / or after a submission of a button has occured. </TD> </TR> <TR> <TD> (Pre|My|Post)FirstColumn </TD> <TD> Allows you to set up the link-column for site-navigation. </TD> <TD> ... during html generation. </TD> </TR></TABLE><BR><BR>EOF[Layout Label configuration2]Pos = +1.+0+4.0Text = "You want an example of this too? You can find it "[Layout Label configuration3]Pos = +0.+0.+1Text = "here"Ref = wwwdb://../../../WWWdb/lib/contacts.pl[Layout Label configuration4]Pos = +0.+0.+1Text = "!"[Layout Label nav_bot_hl]Pos = +1.+0+4.0Text = <HR>[Layout Label bot_nav_prev]Pos = +1.0.0Align = leftText = "Previous"Ref = wwwdb://WWWdb:Help:Overview:5_0[Layout Label bot_nav_up]Pos = +0.1+1.0Align = centerText = "Up"Ref = wwwdb://WWWdb:Help:Index[Layout Label bot_nav_next]Pos = +0.4.0Align = rightText = "Next"Ref = wwwdb://WWWdb:Help:Overview:7_0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -