Element display type "form"

Help
mu
2011-10-26
2013-05-01
  • mu

    mu - 2011-10-26

    In the configuration file, I have defined the root element as display type "form". So when someone creates a new file, they see text fields etc. instead of tags. I think "form" somehow overrides the display types for the child elements? For example, if I set a display type for a string element to empty, it still shows as a text field in the form.

    What I wanted to know is, if I create a new Jaxe element (display type: plugin) will it work inside a form? Or will the root element display type override it.

     
  • Damien Guillaume

    Yes, "form" overrides all display types for children, so it is not possible to use a plugin inside a form.

     
  • mu

    mu - 2011-10-26

    OK. On this page:
    http://jaxe.sourceforge.net/en/pages_doc-config-editor/display-types.html

    There is a screenshot on form. It shows some custom elements, like a checkbox. I assumed they used plugins to create them. So just wondering how they could do it inside a form.

     
  • Damien Guillaume

    This is based on the schema, it is not customizable. For instance an element with the type xs:boolean will be displayed as a checkbox.

     

Log in to post a comment.