Behavior of varf with rhs and on()

Duplicate of Change of sign in linear part of variational problem (varf vs problem).