Forum Discussion
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.
1 Reply
- Fred_Slater_856Historic F5 Account
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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com