Visibility webcomponent

Forum to discuss the new web client version of Servoy.

Visibility webcomponent

Postby vantesterwalter » Tue Apr 11, 2017 9:17 am

Hi

I have made a component in the NG client.
When I run the smart client or web client, I can see this following line: 'WebComponent 'tester' placeholder'.

Is it possible to remove this line from the smart client and web client without deleting the component for the NG client?
elements.tester.visibility = false doesn't exist.

Thanks,
Walter
vantesterwalter
 
Posts: 16
Joined: Wed Mar 29, 2017 9:46 am

Re: Visibility webcomponent

Postby patrick » Tue Apr 11, 2017 9:41 am

I'm not sure you can currently do that. Since a web component is not understood by smart and web client, their visibility property wouldn't be as well.

What sense does it make to have a form with a web component on it and show that in smart client?

You could create a form with the component and put that on a tab panel in your current form. Then hide that tab panel for example. Or remove the component using the solutionModel when your solution starts.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 3 guests