Hi,
I'm trying to create a
JSF 1.1 app on WebLogic 9.2.2. I'm want to set the initial value for a managed bean's property ...
<managed-property>
<property-name>spID</property-name>
<value>#{NPSAppConfig.selectedBillSet != null && NPSAppConfig.selectedBillSet.featServiceProfiles != null ? NPSAppConfig.selectedBillSet.featServiceProfiles[0].spID : ''}</value>
</managed-property>
but this doesn't seem to be working (I get errors upon deploying). What is the proper way in EL to say "if conditions A and B are met, use this value, otherwise use this one"?
Thanks, - Dave