There's more...

Use the btn-primary CSS classes to render a button that is highlighted and btn-default to render a normal button. This is commonly used for cancel buttons in wizards or to offer secondary actions in a visually unobtrusive way. Setting the oe_link class causes the button to look like a link.

A call with a button of the object type can return a dictionary that describes an action, which will then be executed on the client side. This way, you can implement multiscreen wizards or just open another record. Note that clicking on a button always causes the client to issue a write or create call before running the method.

You can also have content within the button tag by replacing the string attribute. This is commonly used in button boxes, as described in the Document style forms recipe.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset