1 Reply Latest reply on Apr 13, 2009 7:36 PM by nbelaevski

    Problems with a conditional

       

      <h:outputText value="#{GestionCatalogos.empleadoGC.flag ? empleado.apaterno empleado.amaterno : empleado.cargos[0].unidadesOrgs[0].nombre}"></h:outputText>


      i have this error: contain invalid expressions: javax.el.ELException: Error Parsing:

      how can i concat empleado.apaterno and empleado.amaterno?
      if i use only empleado.apaterno it's all ok, but i need empleado.apaterno and empleado.amaterno plz :(

      btw i'm using a datatable:
       <rich:dataTable id="tabla"
       rendered="#{!empty GestionCatalogos.currentServicio}"
       onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
       onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
       cellpadding="0" cellspacing="0"
       width="800" border="0" var="empleado" value="#{GestionCatalogos.empleadoGC.empleados}">


      Thx for advance