Error the first time a form is shown

Forum to discuss the new web client version of Servoy.

Error the first time a form is shown

Postby steve1376656734 » Mon Sep 18, 2017 11:59 am

I am getting an error in developer the first time I show a particular form and I cannot find how to trap and locate it:

Code: Select all
WARN org.sablo.websocket.WebsocketEndpoint - Warning: Access to component caseList property lastSelectionFirstElement denied (visible). Warning was caused by: Access to component xpCaseList_dtl property null denied (visible)

Can anyone give me some pointers please?

Thanks
Steve
Steve
SAN Developer
steve1376656734
 
Posts: 180
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Error the first time a form is shown

Postby Andrei Costescu » Mon Sep 18, 2017 1:35 pm

If you can reproduce this with a small sample you should create a case and give a link to this discussion in it as well.
Servoy-extra table component is trying to change the value of a property in it's model (used in it's internal impl.) - both on client and server, but that change is denied on server because the form seems to be hidden or not yet visible.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 907
Joined: Tue Jun 26, 2007 3:14 pm

Re: Error the first time a form is shown

Postby rafig » Mon Sep 18, 2017 1:52 pm

I think I had something similar to this because I was trying to do something with a component in my 'onLoad' method, but the item wasn't 'visible' so I moved the code to 'onShow' and it didn't show the error.
See if that helps.

Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 481
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 1 guest

cron