Hello,
Could you please explain how dynamic form value management for form items works ? I tried going through the documentation but could not find a clear explanation how this works.
I've implemented a custom CanvasItem based form item and I'm trying to get the CanvasItem behave correctly in my dynamic form. I managed to get the canvasitem delegate the disabled state correctly to my custom canvas by overriding the "public void setDisabled(Boolean disabled)" method on CanvasItem.
I'm having trouble getting the value from my (datasource bound) dynamic form to be delegated to my custom canvas though. I've tried overriding the "public Object getValue()" and "public void setValue(String value)" methods on my CanvasItem but it seems I'm not getting any calls to these methods at all. Could you please explain the pattern that should be used here to
a) get the value from dynamic form's datasource to be displayed on my custom canvas(item) and
b) deliver the edited value from my custom canvas(item) back to the datasource when the dynamic form submits ?
I'm using the latest smartgwt 2.2 and gwt 2.0.3 on mac.
Thanks in advance,
Marko
Could you please explain how dynamic form value management for form items works ? I tried going through the documentation but could not find a clear explanation how this works.
I've implemented a custom CanvasItem based form item and I'm trying to get the CanvasItem behave correctly in my dynamic form. I managed to get the canvasitem delegate the disabled state correctly to my custom canvas by overriding the "public void setDisabled(Boolean disabled)" method on CanvasItem.
I'm having trouble getting the value from my (datasource bound) dynamic form to be delegated to my custom canvas though. I've tried overriding the "public Object getValue()" and "public void setValue(String value)" methods on my CanvasItem but it seems I'm not getting any calls to these methods at all. Could you please explain the pattern that should be used here to
a) get the value from dynamic form's datasource to be displayed on my custom canvas(item) and
b) deliver the edited value from my custom canvas(item) back to the datasource when the dynamic form submits ?
I'm using the latest smartgwt 2.2 and gwt 2.0.3 on mac.
Thanks in advance,
Marko
Comment