Strange UI issue.

Forum to discuss the new web client version of Servoy.

Strange UI issue.

Postby ashutoslenka426 » Fri Feb 12, 2016 12:56 pm

Hi All,

I am working in NGClient . There is a form . In this form there are two web components . In one web component dataproviders are set . When I am changing dataprovider field to some other field , It is deleting the other web component from UI . It is quite strange . Please provide some comment on this.
AL
ashutoslenka426
 
Posts: 295
Joined: Thu Jan 26, 2012 3:38 pm

Re: Strange UI issue.

Postby Andrei Costescu » Fri Feb 12, 2016 1:19 pm

It depends a lot on the component(s). For example I saw this happening with components that were loading their template async and then applying it in their link methods. And sometimes - for example when changing form and doing save the template would not get loaded in time and would not show.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Strange UI issue.

Postby ashutoslenka426 » Mon Feb 15, 2016 7:16 am

Hi Andrei,

Thanks for your reply . How can I fix this issue ?.
AL
ashutoslenka426
 
Posts: 295
Joined: Thu Jan 26, 2012 3:38 pm

Re: Strange UI issue.

Postby Andrei Costescu » Mon Feb 15, 2016 8:20 am

You have to find the issue first. You could attach your component for a quick look but the best way is to debug yourself.

When you open a form editor in developer, a line appears in the workspace log file ([your_workspace]/.metadata/.log) containing an URL that you can use to start that editor in any browser. That way you can use the browser debug tools and see what happens when you change that dataprovider. For example check if the link/controller methods of your component get called as a starting point.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Strange UI issue.

Postby ashutoslenka426 » Tue Feb 16, 2016 9:10 am

Hi Andrie,

Thanks for your reply.
AL
ashutoslenka426
 
Posts: 295
Joined: Thu Jan 26, 2012 3:38 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 23 guests