Hi ULC Team

 

ULC 6.0.4

Windows XP

Important Issue

 

While upgrading from ULC 6.0.3 to ULC 6.0.4, I had to change the ULCLookupTextField implementation and I would like to understand the underlying reason for the change required.

 

What changed is that

 

…when the client-side adds itself to the session as a pending request owner through

getSession().addPendingRequestsOwner(fPendingRequestsOwner);

 

… and then sends a request to the server-side from within the call-back through

public void addPendingRequests() {

    sendULC(RequestConstants.KEYS_TYPED, new Anything());

}

 

.. the server-side does not have the latest uptodate value anymore when calling getText()

public void handleRequest(String request, Anything args) {

     …

    String text = getText();

     …

 

…with ULC 6.0.4, I now have to pass the text as part of the request through

public void addPendingRequests() {

    sendULC(RequestConstants.KEYS_TYPED, new Anything(getBasicTextComponent().getText()));

}

 

Up to ULC 6.0.3, the server-side had the latest uptodate value when calling getText().

 

Could you please explain in detail what has changed in ULC 6.0.4 that made the behavior change? My understanding has been that by the time handleRequest() gets called on a ULCProxy, all dirty data owners have synchronzied the server-side and hence the ULCProxy can operate on the latest client-side values.

 

Thanks in advance for the clarification!

 

Etienne

 

 

 

 

 

Reply via email to