posted 9 years ago
My application uses a .form file. I have code that is generated from this file. Here is part of that file:
As you can see, my .form file has this line of code:
<Property name="text" type="java.lang.String" value="test"/>
It is setting the value of a label called "Selected System Name." According to the code above, value="test" means that the Selected System Name is "test." How can I set the Selected System Name to whichever environment the user is logged on to? For example, if the user is logged on to the production environment, I would like "value" to be equal to "prod." If the user is logged on to the development environment, I would like "value" to be equal to "dev" and so on.