IDEMPIERE-259 Cannot set tab display logic based on specific tab value of field
This commit is contained in:
parent
e7f15a3b49
commit
d5cba25082
|
@ -126,7 +126,7 @@ public class Evaluator
|
||||||
retValue = retValue | temp;
|
retValue = retValue | temp;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
s_log.log(Level.SEVERE, "Logic operant '|' or '&' expected => " + logic);
|
s_log.log(Level.SEVERE, "Logic operand '|' or '&' expected => " + logic);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} // hasMoreTokens
|
} // hasMoreTokens
|
||||||
|
@ -289,6 +289,8 @@ public class Evaluator
|
||||||
// log.fine( variable);
|
// log.fine( variable);
|
||||||
if (variable.startsWith("~"))
|
if (variable.startsWith("~"))
|
||||||
variable = variable.substring(1);
|
variable = variable.substring(1);
|
||||||
|
// strip also @tabno|
|
||||||
|
variable = variable.replaceFirst("[0-9][0-9]*\\|", "");
|
||||||
if (variable.indexOf(".") > 0)
|
if (variable.indexOf(".") > 0)
|
||||||
variable = variable.substring(0, variable.indexOf("."));
|
variable = variable.substring(0, variable.indexOf("."));
|
||||||
list.add(variable);
|
list.add(variable);
|
||||||
|
|
Loading…
Reference in New Issue