But I want to display 'no
Element' if the String is empty and otherwise 'Element' +
{createOrganisationMB.selectedOrgaElement} + 'further Informations'
No need to concatenate. Do this:
<h:outputText value="#{(createOrganisationMB.selectedOrgaElement == '') ?'no Element':'Element'} #{createOrganisationMB.selectedOrgaElement} further Informations}"/>
2005/9/6, Felix Japs <[EMAIL PROTECTED]>:Hi,
I would like to do somethin like this:
<h:outputText value="#{(createOrganisationMB.selectedOrgaElement == '') ?
'no Element':'Element' + {createOrganisationMB.selectedOrgaElement} +
'further Informations'}"/>
Is it possible to concatenate Strings in EL expressions?
bye
Felix

