I have a problem with Firefox in compiled mode.
Hosted mode and also IE(compiled mode) work well in this case, SmartClient Developer Console does not show any error.
I have a
o Data source
-- client-only
-- with some data bound fields
o ValuesManager
-- representing several forms (as TabSet)
o The forms
-- which use form.setFields to select the databound fields to show on each form.
After creating the widget, I hook a callback for to do some further initialization after the fetched data is available:
The two variables vmValue and also formValue are both null in Firefox (compiled mode), but are available in IE(compiled mode) and also in Hosted Mode.
The call
reaches the data source
with fetch
There, in the data source, all data is available. In fact the data source returns a
containing all data.
Interesting is, that the data itself seems to be bound to the fields, but is not selected. My text field "myFieldName" is visually empty, but I also have some fields of type DataSourceEnumField which are visualized by a SelectItem. Those contain the bound data, but nothing is selected.
So everything works fine but for Firefox compiled mode. Any ideas? Can I help with further investigation?
Hosted mode and also IE(compiled mode) work well in this case, SmartClient Developer Console does not show any error.
I have a
o Data source
-- client-only
-- with some data bound fields
o ValuesManager
-- representing several forms (as TabSet)
o The forms
-- which use form.setFields to select the databound fields to show on each form.
After creating the widget, I hook a callback for to do some further initialization after the fetched data is available:
Code:
// widget creation... ValuesManager vm ...; vm.fetchData(null, new DSCallback() { public void execute(DSResponse response, Object rawData, DSRequest request) { String vmValue = vm.getValueAsString("myFieldName"); // cross check, where's the problem? String formValue = formMode.getValueAsString("myFieldName)); // some more initialization work ... } });
The call
Code:
ValuesManager.fetch(...)
Code:
DataSource->protected Object transformRequest(DSRequest dsRequest)
Code:
dsRequest.getOperationType() == DSOperationType.FETCH
Code:
(ListGridRecord)data[0]
Interesting is, that the data itself seems to be bound to the fields, but is not selected. My text field "myFieldName" is visually empty, but I also have some fields of type DataSourceEnumField which are visualized by a SelectItem. Those contain the bound data, but nothing is selected.
So everything works fine but for Firefox compiled mode. Any ideas? Can I help with further investigation?
Comment