Improve values of readonly attribute

This commit is contained in:
Cédric Krier committed 2010-03-25 17:25:54 +01:00
1 parent fef5ee826c
commit bf78a76e5e
4 files changed
+14 -4

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ attlist.field &= [ a:defaultValue = "1" ] attribute xfill { "0" | "1" }?
attlist.field &= attribute help { text }?
attlist.field &= attribute width { text }?
attlist.field &= attribute height { text }?
attlist.field &= attribute readonly { text }?
attlist.field &= attribute readonly { "0" | "1" }?
attlist.field &=
[ a:defaultValue = "0" ] attribute tree_invisible { "0" | "1" }?
attlist.field &= attribute mode { text }?
+6 -1
View File
@@ -346,7 +346,12 @@
</define>
<define name="attlist.field" combine="interleave">
<optional>
<attribute name="readonly"/>
<attribute name="readonly">
<choice>
<value>0</value>
<value>1</value>
</choice>
</attribute>
</optional>
</define>
<define name="attlist.field" combine="interleave">
+1 -1
View File
@@ -16,7 +16,7 @@ attlist.tree &=
[ a:defaultValue = "0" ] attribute toolbar { "0" | "1" }?
field = element field { attlist.field, empty }
attlist.field &= attribute name { text }
attlist.field &= attribute readonly { text }?
attlist.field &= attribute readonly { "0" | "1" }?
attlist.field &=
attribute widget {
"char"
+6 -1
View File
@@ -72,7 +72,12 @@
</define>
<define name="attlist.field" combine="interleave">
<optional>
<attribute name="readonly"/>
<attribute name="readonly">
<choice>
<value>0</value>
<value>1</value>
</choice>
</attribute>
</optional>
</define>
<define name="attlist.field" combine="interleave">