can't use p:value-available in the static context of p:use-when