ice Posted November 18, 2016 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 Quote
Administrators Farshad Mohajeri Posted November 18, 2016 Administrators Posted November 18, 2016 GetEventUrl(FEventStore, 'evdata')) Change event name to 'data' instead of 'evdata' Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.