Updated: Related tab-panel and create/edit records

First of all, it is important to know we have autosave set to false (and we are developing for the webclient).

We have 2 tables: order and orderitem
One form is based on ‘order’ (order_frm) and contains a tabpanel which displays the orderitems.
Th tabpanel contains a table-view form, based on ‘orderitem’ and the tabpanel is placed over the relation ‘order_to_orderitem’.

We also have an popup form, based on ‘orderitem’, (orderitem_input_frm) which is used to input new orderitems for an order. If the user clicks on one
of the orderitems on the table-view or clicks the ‘new’ button on the ‘order’ form, this orderitem input form is shown.

In Servoy 5(.2.11), we did the following to create a new orderitem:

var vRecord = forms.orderitem_input_frm.foundset.getRecord(forms.orderitem_input_frm.foundset.newRecord());
vRecord.order_id = forms.order_frm.order_id;
application.showFormInDialog(orderitem_input_frm, ....);

In Servoy 5.2.11, when the user clicks the save button on the ‘orderitem_input_frm’ the new order item appears immediately in
the list on the order form.
However, in Servoy 6(.0.5), it can take up to 5 seconds (data broadcasting time?) until the record appears in the list.

When we create a new orderitem over the related foundset like this (in S5 & S6):

var vRecord = forms.order_frm.order_to_orderitem.getRecord(forms.order_frm.order_to_orderitem.newRecord());
application.showFormInDialog(orderitem_input_frm, ....);

the new record appears immediately in the list (as we see the record appear on the table view behind our input form), but in this
case the orderitem_input_frm does not show the correct (new) record. We cannot use loadRecords([…]) on the orderitem_input_frm
as the pk of the new record is not yet determined (autosave=false).

So, my question is: what is the preferred way to create related records, so they will appear in the table-view instantly (both in Servoy 5 and 6),
having a modal dialog to modify the related record before saving?

update 02-02-2012
We tracked down the problem. It looks like changes to a related dataset are pushed to the UI on the data broadcast frequency. If we set the
data broadcast frequency to 30s and we change something in a related dataset, it takes 20-30s before the field value is shown in the
browser. In Servoy 5, the changes are shown instantly. Is there a setting we missed in Servoy 6? I know that the data broadcast frequency is
used to broadcast data to other webclient, but I thought changes in a local client were not dependent of the broadcast frequency?