--
JoaoQuintas - 19 Aug 2010
Tool Bar
A Tool Bar is a XVW component that's used to create a Tool Bar inside a viewer. The main purpose to use a Tool Bar is to have a place in the viewer where all buttons can be placed and organized.
ToolBars can also support input components such as text, number and date components.
XML Definition
A Tab is declared as following:
<xvw:toolBar>
DECLARATION OF MENUS (the buttons to be defined)
</xvw:toolBar>
Component from which the Tool Bar Extends
Components that Extend Tool Bar
Tab Properties
Possible Child Components:
<xvw:toolBar>
<xvw:menu text='Menu1'>
<xvw:attributeLabel text='Pesquisa' />
<xvw:attributetext valueExpression="#{viewVean.text}" />
</xvw:toolBar>
In order to be able to save values in an input component, you must create a
getter/setter in the bean of the viewer and associate it with the
valueExpression property
Restricting Menus by Profile
It's also possible to restrict menus in
ToolBars by a certain profile, you just have to declare the
profile property and set it to the name of the profile