some changes to dtd and added otherwise implemented "readonly" attribute to inputWidget

This commit is contained in:
Ralf Becker 2014-03-07 09:08:47 +00:00
parent 7ad4ebfdea
commit 83b20c2019
2 changed files with 14 additions and 8 deletions

View File

@ -1,4 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
@ -145,7 +145,7 @@
actions CDATA #IMPLIED
no_lang (true|false) "false"
>
<!ELEMENT box EMPTY>
<!ELEMENT box (%Widgets;)*>
<!ATTLIST box
%InheritedAttrs;
statustext CDATA #IMPLIED
@ -567,7 +567,7 @@
id CDATA #IMPLIED
no_lang (true|false) "false"
>
<!ELEMENT groupbox EMPTY>
<!ELEMENT groupbox (%Widgets;)*>
<!ATTLIST groupbox
statustext CDATA #IMPLIED
align CDATA "left"
@ -582,7 +582,7 @@
id CDATA #IMPLIED
no_lang (true|false) "false"
>
<!ELEMENT hbox EMPTY>
<!ELEMENT hbox (%Widgets;)*>
<!ATTLIST hbox
statustext CDATA #IMPLIED
align CDATA "left"
@ -2138,7 +2138,7 @@
id CDATA #IMPLIED
no_lang (true|false) "false"
>
<!ELEMENT vbox EMPTY>
<!ELEMENT vbox (%Widgets;)*>
<!ATTLIST vbox
statustext CDATA #IMPLIED
align CDATA "left"

View File

@ -57,6 +57,12 @@ var et2_inputWidget = et2_valueWidget.extend([et2_IInput,et2_ISubmitListener],
"type": "integer",
"default": et2_no_init,
"description": "Specifies the tab order of a widget when the 'tab' button is used for navigating."
},
readonly: {
name: "readonly",
type: "boolean",
"default": false,
description: "Does NOT allow user to enter data, just displays existing data"
}
},