Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here is example that extends product view with some fields and add some ribbon items:
//

productRibbonExtension.xml

Code Block
languagexml
themeEclipse
linenumberstrue
<ribbonExtension xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schema.qcadoo.org/modules/ribbonExtension" 
	xsi:schemaLocation="http://schema.qcadoo.org/modules/ribbonExtension http://schema.qcadoo.org/modules/ribbonExtension.xsd" 
	plugin="basic"
	view="product">

     <group name="export">
          <bigButton name="exportProduct" action="#{form}.fireEvent(exportProduct);" />
     </group>
</ribbonExtension>

//

productViewTabExtension.xml

...