Forum Discussion
morciani
15 years agoOccasional Contributor
I figured this one out, context.expand('${#PropertyName}') is the syntax I was looking for.
import javax.swing.*
def SignOnRoleCd = context.expand( '${#SignOnRoleCd}' )
if (SignOnRoleCd == "Customer")
{
String PIN = "N0000000"
} else {
String PIN=JOptionPane.showInputDialog("PIN");
}
import javax.swing.*
def SignOnRoleCd = context.expand( '${#SignOnRoleCd}' )
if (SignOnRoleCd == "Customer")
{
String PIN = "N0000000"
} else {
String PIN=JOptionPane.showInputDialog("PIN");
}
Related Content
- 2 months agoSahall0308
Recent Discussions
- 5 days agoemoya