ice Posted November 18, 2016 Share Posted November 18, 2016 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: http://localhost:8077/HandleEvent?IsEvent=1&Obj=O38&Evt=evdata&_S_ID=NFEkWMTQNQFE77BC87&_dc=1479475366413&page=1&start=0&limit=25&_seq_=3 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 More sharing options...
Administrators Farshad Mohajeri Posted November 18, 2016 Administrators Share Posted November 18, 2016 GetEventUrl(FEventStore, 'evdata')) Change event name to 'data' instead of 'evdata' Link to comment Share on other sites More sharing options...
ice Posted November 18, 2016 Author Share Posted November 18, 2016 Work's Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now