Hello,
I'm sure i'm missing something basic here.  I have a servlet that puts an
ArrayList into session say "EmployeeList" and this is my JSF snippet..
    <c:forEach var='item' items='${EmployeeList}'>
    <tr>
      <td><h:commandLink action='#{empInfo.getEmployeeInfo}'>
              <f:verbatim>${item.name}</f:verbatim>
              <f:param name="empId" value="${item.id}"/>
      </h:commandLink>
      </td>
      </c:forEach>

The EmployeeList has beans with id and name parameters.  I'm trying to post
an Id to the empInfo's getEmployeeInfo action method(empInfo is one of the
managed beans).  All i get is the "According to TLD or attribute directive
in tag file, attribute value does not accept any expressions" exception.  If
i however substitue the value to some static value, then it works just like
i need.  
FYI my tag libs include 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t" %>
and i'm using 1.1 implementation in Tomcat 5.5
Pls let me know if I'm missnig something here!?




-- 
View this message in context: 
http://www.nabble.com/According-to-TLD-or-attribute-directive-in-tag-file%2C-attribute-value-does-not-accept-any-expressions-tf3642026.html#a10171285
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to