Actually, I'd expect the following to work, without having actually
testing it:
displayValueOnly="#{!accountBacking.editMode and (accountBacking.account.acctId == acct.acctId)}
Although, in truth, I've found it to be preferable to simply do
displayValueOnly="${accountBaking.displayMe}"
----
in backing bean:
----
public boolean displayMe() {
return (!editMode) && (account.acctId == acct.acctId)
}
You might need to inject the acct object to do that.
Why do I prefer this approach? Less fights with EL, it has proven to make the JSPs more maintainable, and it takes logic off the view and puts it in the controller where it's "supposed" to be (which is probably why I find it more maintainable).
[ August 28, 2006: Message edited by: Tim Holloway ]