문제

I've a sample gwt2 rpc service & i need to set some of it's parameters as out or inout (like out or ref parameter types in microsoft wcf), but i could not find anything about it in gwt documents or related forums :(
Can anybody help me please ?!

도움이 되었습니까?

해결책

I understood that gwt rpc services can't contain any out or inout parameter(even if you use java arrays as method parameters, the data binding would be only one way).
In order to returning more than one value from your methods, you can simply return some complex serializable data structure from your service method(Hashmap or ListArray are good choices)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top