hasfield

toc
<mm:hasfield>

Checks only whether certain field is available. To make it possible to make more generic code.

(since: MMBase-1.8)
attributes
  • name
    Name of the field.
  • nodetype (since: MMBase-1.8.4)
condition attributes
nodereferrer attributes
contextreader attributes
contextwriter attributes
contextreferrer attributes
example 1
<mm:listnodes type="object">
  <mm:hasfield name="title">
    Title of node <mm:field name="number" /> (<mm:nodeinfo type="type" />): <mm:field name="title" />
  </mm:hasfield>
</mm:listnodes>