2 Replies Latest reply on Dec 10, 2008 10:24 AM by Vicente Rossello

    Begginer question

    Vicente Rossello Newbie


      I'm evaluating some library tags for my next project. So far rich faces is the one that best fits my needs.

      I need to build a reduced set of richfaces tags for my users (other developers) adapted to our needs.

      I'll do it with tag files (at least the simplest ones). I want my users the possibility to introduce an id, so i have this code:

      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

      <%@tag pageEncoding="UTF-8"%>
      <%@attribute name="id" rtexprvalue="false"%>
      <%@attribute name="value" required="true" deferredValue="true"%>

      <rich:calendar id="${id}" showFooter="false" value="#{value}" showApplyButton="false" showWeeksBar="false" datePattern="dd/MM/yyyy"/>


      But according to rich TLD, i cannot use an expression (altough it's static)-

      How can i solve this?

      Thx a lot.