With Widget container, you can define a new service in the service repository, which is composed of several widget instance definitions. Then web user can use the composite service and completes several operations in a single little window.
BTT Web2.0 provides three kinds of widget container:
Parameter | Value |
---|---|
name | Widget name, mandatory |
type | Border, Tab, Accordion |
region | Top, Bottom, Left, Center, Right |
xweight | Sub widget height, support two modes: pix and %, such as: 100px, 30% |
xheight | Sub widget width, support two modes: pix and %, such as 100px, 30% |
splitter | A split handler to adjust the sub widget size. Default value is false. |
Following is a snippet of widget container example:
<Widget name="BTTContainer"type="Border"> <children> <Widget name="simpleHTMLWgt" region="top" xheight="80%"splitter="true"> <attribute name="url" value="http://www.google.com"/> <attribute name="height" value="100%"/> </Widget> <Widget name="event_transfertoWgt" region="center"></Widget> <Widget name="event_transferfromWgt" region="left" splitter="true" xwidth="100px"></Widget> </children> </Widget>