hello to all,

I'm trying to do something like this

<h:outputLabel for="foo" style="#{someBean.boolean ? 'error' : 'body'}"

The purpose being to make a field label display the error style
or a standard style depending on whether the backing bean has detected an
error.

I've googled around but didn't find any good reference. Can someone help
out?

>From what I've read, style will take an EL as long as it resolves to a
string,
just can't seem to tie that with a test expression.

Thanks for your help in advance.
Tom



 
This message is intended for the recipient only and is not meant to be 
forwarded or distributed in any other format. This communication is for 
informational purposes only.  It is not intended as an offer or solicitation 
for the purchase or sale of any financial instrument, or security, or as an 
official confirmation of any transaction.  Putnam does not accept purchase or 
redemptions of securities, instructions, or authorizations that are sent via 
e-mail.   All market prices, data and other information are not warranted as to 
completeness or accuracy and are subject to change without notice.  Any 
comments or statements made herein do not necessarily reflect those of Putnam, 
LLC (DBA Putnam Investments) and its subsidiaries and affiliates.  If you are 
not the intended recipient of this e-mail, please delete the e-mail.

Reply via email to