a very good idea, but i would like to have a more general approach

instead of listening to each radiobutton,

maybe we can listen to the whole group, then create an instance of the corresponding class and set the value in the target

with this approach we would have to do either:

write a class for every option of os (even when no setting is set different from the base class)

or

check if the class exists and instancing it or the base class

i would be in favor of the first option, because we then will
reminded if we add a new option that we maybe want to set
a default value for something

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to