Page 2 of 2

Re: Servoy 2020.06 release candidate 2

PostPosted: Tue Jun 30, 2020 2:28 pm
by sean
Hi Rafi,

Well if you are starting "clean", then it will already be using only modern components, and the legacy will not be avaialable.
It's more a question about migration; taking an older solution and dealing with legacy components.
In that case, you can go form-by-form.

Re: Servoy 2020.06 release candidate 2

PostPosted: Tue Jun 30, 2020 2:34 pm
by rafig
sean wrote:Hi Rafi,
Well if you are starting "clean", then it will already be using only modern components, and the legacy will not be avaialable.
It's more a question about migration; taking an older solution and dealing with legacy components.
In that case, you can go form-by-form.

I would, of course, keep new solutions 'clean', but it was really for taking my 'older' NG solutions & cleaning them up...
I guess I will do it form by form ;-)
Thx

Re: Servoy 2020.06 release candidate 2

PostPosted: Tue Jun 30, 2020 2:54 pm
by sean
There is no quick fix for this (especially for grids / legacy "table-view" forms)
However, it's conceivable that you could automate some of it with solution model if you make some assumptions. For example, if you created a mapping from legacy to modern component types; button:button, field:[text-box,type-ahead,combobox, etc(depending on input type)]
...after which, you call ServoyDeveloper.save() then persist your changes (only after you are satisfied with the runtime result)

That could get you a good part of the way...

Re: Servoy 2020.06 release candidate 2

PostPosted: Tue Jun 30, 2020 3:47 pm
by rafig
Thanks Sean