Allow to override string of fields

review597005
This commit is contained in:
Nicolas Évrard committed 2013-03-21 13:51:04 +01:00
1 parent 9af0cc3039
commit 26eb243b63
3 files changed
+8

No files matched your search

+2
View File
@@ -191,6 +191,8 @@ Display a field of the object with the value of the current record.
* ``name``: The name of the field.
* ``string``: The string that will be displayed for the widget.
* ``widget``: The widget that must be used instead of the default one.
* ``help``: The string that will be displayed when the cursor stays over the
+1
View File
@@ -104,6 +104,7 @@ attlist.field &=
attlist.field &= [a:defaultValue = "0"] attribute pre_validate { "0" | "1" }?
attlist.field &= attribute icon { text }?
attlist.field &= [a:defaultValue = "1"] attribute completion { "0" | "1" }?
attlist.field &= attribute string { text }?
image = element image { attlist.image, empty }
attlist.image &= attribute name { text }
attlist.image &= [ a:defaultValue = "1" ] attribute colspan { text }?
+5
View File
@@ -379,6 +379,11 @@
</attribute>
</optional>
</define>
<define name="attlist.field" combine="interleave">
<optional>
<attribute name="string"/>
</optional>
</define>
<define name="image">
<element name="image">
<ref name="attlist.image"/>