FoundSet List from Advanced Renders

Forum to discuss the Web client version of Servoy.

FoundSet List from Advanced Renders

Postby patrick1645350822 » Tue Apr 25, 2023 5:13 pm

Hi,

I am using the component FoundSet List. And this works fine. I can manipulatie the data and the screen is updated fine.
For some reason (I just found out) when going to another form and then switching back Nothing is shown anymore? No matter what I try.

Is this a known issue?
As an work around: Is there maybe an option to 'kill' the form so that is is always the first time the screen is loaded?
Greetings,

Patrick Marelis
Sileram BV
https://sileram.nl
patrick1645350822
 
Posts: 37
Joined: Sun Feb 20, 2022 11:53 am

Re: FoundSet List from Advanced Renders

Postby mboegem » Wed Apr 26, 2023 11:25 am

patrick1645350822 wrote:As an work around: Is there maybe an option to 'kill' the form so that is is always the first time the screen is loaded?


Hi Patrick,

when you remove the form from Servoy's history stack, the form will be unloaded and re-initialised the next time you visit it.
Code: Select all
history.removeForm(formName)


To me this seems a bit of an overkill and it should be possible to do without.
Could it be that you're setting some properties onLoad / onShow(first), which should actually be executed on every show?
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1817
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: FoundSet List from Advanced Renders

Postby patrick1645350822 » Wed Apr 26, 2023 12:01 pm

Hi Marc,

Thanks for the response. Your solution does work!

I totally agree with you that this is not the solution but a good workaround until we fix this in a proper matter.
And no it has nothin to do with onLoad / onShow. They are not used is is only a basic form with an FoundSet List on it and some styling. That makes it so strange.
Greetings,

Patrick Marelis
Sileram BV
https://sileram.nl
patrick1645350822
 
Posts: 37
Joined: Sun Feb 20, 2022 11:53 am

Re: FoundSet List from Advanced Renders

Postby patrick1645350822 » Wed Apr 26, 2023 9:33 pm

Just made a ticket to the Servoy Support team.

I now know for sure that screens that were working without a change of my code stoped working (on a second view).
I did do an upgrade to the lates Servoy Version: 2023.3.0.3842. So I think thats contains the issue.
Greetings,

Patrick Marelis
Sileram BV
https://sileram.nl
patrick1645350822
 
Posts: 37
Joined: Sun Feb 20, 2022 11:53 am


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 0 guests

cron