Allow to override string of fields
review597005
This commit is contained in:
1 parent
9af0cc3039
commit
26eb243b63
3 files changed
+8
No files matched your search
@@ -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
|
||||
|
||||
@@ -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 }?
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in new issue
Block a user