Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This option provides default input properties for widgets dragged from the Database tree to the Design canvas. By default, the option is set like this:

Code Block
languagejavascript
titleDefault Value
pui["default input properties"] = {
  "field type": "textbox",
  "height": "25px",
  "width": "150px",
  "css class": "blueprint-defaults",
  "css class 2": "blueprint-textbox"
};

The property names can be any valid property name shown in the Properties window. Property names are case-sensitive. Property values should be specified exactly as they would be in the Properties window. The values should always be specified as strings, even if the data represents numeric or boolean values.

For example, to change the default styling from Blueprint to Office Copy:

Code Block
languagejavascript
titleExample: Change Default Styling
 pui["default input properties"] = {
  "field type": "textbox",
  "height": "25px",
  "width": "150px",
  "css class": "office-copy-textbox",
  "css class 2": "office-copy-defaults"
};




Where do you save this configuration option?  Here.