Am 25.11.21 um 21:44 schrieb Vladimir Sitnikov:
> By the way, in order to make enabled/disabled state dynamic, TreeCloner
> should
> automatically convert "enabled expressions" into
> IfController(condition="enabled expression") { originalComponent(...) }
>
> Then we won't need to touch executor logic, and we would get automatic
> support for all the plugins.
> WDYT?

I have no idea, how TreeCloner works, so maybe a good idea (maybe not
:)). Are we doing such stuff already?

Felix

>
> ----
>
>> How would you trigger those modes? Another checkbox?
> It could be a checkbox in the menu.
> Here's one of the discussions on that:
> https://lists.apache.org/thread/lzdoljpwr9kzm4kqns9cyz1v45ppo19d
>
>> I think it is important to have the two boolean states plus a third form
>> to be able to convert older checkboxes to such a new ui element without
>> breaking the old save format.
> If checkbox + edit is UI only feature, then
> "boolProp" => boolean value
> string "true" => true
> string "false" => false
> else => treat as expression (third state)
>
> So far it looks ok. We should be able to read old files, and as we save we
> could save it as "stringProp" always.
>
> Vladimir
>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to