6 Replies Latest reply on Feb 3, 2007 11:14 PM by gavin.king

    Fully Qualifed Names in EL

    swd847

      I was wondering if it was possible to do something like this:

      @DataModel("com.test.messages.messageList")
       List<Message> messageList;
      

      And then reference the resulting component in the EL something like:
      <h:outputText value="No Importers Found" rendered="#{com.test.messages.messageList.rowCount==0}"/>
       <h:dataTable id="messages" value="#{com.test.messages.messageList}" var="msg" >
      


      But it does not seem to work for me (it works fine if I do not use a fully qualified name for the messageList component).

      I am assuming there is some easy way to do this, I just don't know what it is. Could someone point me in the right direction?

      Stuart