jrenier_47051
Nov 07, 2013Nimbostratus
Solved
Iapp : Redefined symbol
Hi,
I'm trying to do this in the presentation section :
optional ( type_of_deployment.type != "nPath" ) { noyes fastl4noyes }
optional ( type_of_deployment.type == "nPath" ) { yesno fastl4noyes}
But it doesn't like it because there is a duplicate variable... I think it's only the validator that fails, because the logic seem fine... i only want to change the default setting ... Any idea how I can achieve the same result in a valid way ?
thanks
Unfortunately, the default values in APL are not dynamic. It would be nice if they were. As it is, you must declare 2 different variables (e.g. fastl4noyes1 and fastl4noyes2) and track them both through your implementation. I've done this in perhaps 20 iApps. It's painful, but it works.