Jump to content

Problen with JSONDirect()


ice

Recommended Posts

I create a component with a store and proxy.
 
 JSConfigObject('proxy',
                  [
                      'type', 'ajax',
                      'url', JSStatement(GetEventUrl(FEventStore, 'evdata')),
                      'reader', JSObject(['type', 'json','root','Event']),
                      'timeout', UniServerInstance.AjaxTimeout
                  ],
              FEventStore);
 
 JSConfig('autoLoad',['true'],FEventStore);

.
procedure TMyComponent.EventHandleDatasource();
var
 strevent : string;
begin
 . . .
 UniSession.JSONDirect(strevent);
 . . .
end;

it work's.
 
 
Now I connected uniDBEdit to Datasource.
No work.
 
I found in Browser:
 
 
With UniDBEdit callback:
{metaData:[....
.........
.....]}

O49.stateValue="06000000A42FEE0375010000";
_sfv_(O49,0,"28.01.2016 07:00:00");
 
Object O49 is UniDBEdit.
 
 
 
Without UniDBEdit callback:
 
{metaData:[....
.........
.....]}
 
 
 
Thank's
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...