Please help me, when i i try to switch from the main view to a secondary view in a multiview where a list control is present the toolbar at the bottom is not visible.
...
function camera_button_next_onclick() {
if (_imageURI != null) { $$('comment_layout').show(); }
}
function comment_button_prev_onclick() {
$$('camera_layout').show();
}
//->
</script>
</head>
<body>
<script type="text/javascript" charset="utf-8">
dhx.ui.fullScreen();
dhx.ui({ id: 'app', view: 'layout', height: 800, width: 1280,
rows: [
{ view: 'layout', type: 'wide',
rows: [
{ view: 'toolbar', type: 'MainBar',
elements: [
{ view: 'label', label: 'PhotoCOP', id: 'application_label', align: 'left'},
{ view: 'imagebutton', label: '', src: './imgs/gps.png', id: 'gps_icon', width: 40, align: 'right'},
{ view: 'imagebutton', label: '', src: './imgs/connection.png', id: 'connection_icon', width: 40, align: 'right'}
], id: 'main_toolbar'
},
{ view: 'multiview', type: 'wide',
cells: [
{ view: 'layout', type: 'wide',
rows: [
{ view: 'imagebutton', label: '', src: './imgs/shutter.jpg', id: 'camera_shutter', align: 'center'},
{ view: 'toolbar', type: 'SubBar',
elements: [
{ view: 'button', label: 'Cattura foto', id: 'camera_button_capture', inputWidth: '200', align: 'right', click: 'capturePhoto'},
{ view: 'button', label: 'Avanti', id: 'camera_button_next', type: 'next', width: 200, inputWidth: '200', align: 'right', click: 'camera_button_next_onclick'}
], id: 'camera_toolbar'
}
], id: 'camera_layout'
},
{ view: 'layout', type: 'wide',
rows: [
{ view: 'list',
type: { width: 'auto', height: 22, padding: 10, align: 'left'}, scroll: true, id: 'comment_list', align: 'left', datatype: 'json', url: './data/comments.json'
},
{ view: 'toolbar', type: 'SubBar',
elements: [
{ view: 'button', label: 'Indietro', id: 'comment_button_prev', type: 'prev', width: 200, align: 'left', click: 'comment_button_prev_onclick'},
{ view: 'button', label: 'Invia', id: 'comment_button_send', width: 200, inputWidth: '200', align: 'right', click: 'postData'}
], id: 'comment_toolbar'
}
], id: 'comment_layout'
}
], id: 'main_multiview'
}
], id: 'main_layout'
}
]
});