Rev 4563 | Rev 11219 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2071 | zjchen | 1 | !! +exec+ +html+ |
2 | $lst_tit formselect$lst_titend$type_exec |
||
4563 | bpr | 3 | $lst_alias htmlselect |
2071 | zjchen | 4 | $(lst_syntax)formselect $emph name$emphend from $emph n1$emphend |
5766 | bpr | 5 | to $emph n2$emphend prompt $emph promptlist $emphend<br/> |
6 | </tt>或<tt> <br/> |
||
2071 | zjchen | 7 | $!formselect $emph name$emphend list |
8 | $emph selectlist$emphend prompt $emph promptlist$emphend |
||
4563 | bpr | 9 | </tt> |
5766 | bpr | 10 | $lst_mean 在前面定义的html表单下创建一个选择菜单.<br/> |
2071 | zjchen | 11 | 这个命令能加速选择菜单的创建, 也能简化源文件. |
12 | 在参数中, $emph name$emphend 定义了菜单的名称, |
||
13 | 对第一句的格式, 菜单的值是从 $emph n1$emphend 到 $emph n2$emphend 的整数, |
||
5766 | bpr | 14 | 对第二句的格式, 菜单的值是表 $emph selectlist$emphend 里的项. <br/> |
2071 | zjchen | 15 | 可选参数 $emph promptlist$emphend 用于生成每个选项的提示. |
16 | 当 $emph promptlist$emphend 为空或少于 $emph selectlist$emphend 时, |
||
5766 | bpr | 17 | 未定义的提示将用值来代替. 如果太长, 则超过部分被舍弃. <br/> |
2071 | zjchen | 18 | 菜单的默认值是变量 $emph $$name$emphend 的当前值. |
19 | 变量 $emph wims_formselect_switch$emphend 可用来建立开关, |
||
20 | 例如让 <tt>wims_formselect_switch=multiple</tt>, 就是多重选择. |
||
21 |