1 Reply Latest reply on Oct 22, 2007 5:00 AM by nseb

    Tag File and richfaces component

    nseb

      Hi,

      I have a very big problem.
      I want use your RichFaces component in my big application and in my application a lot of tag file.
      If a put a RichFaces component in a tag file with param , the param is always ull for the RichFaces component , but not for jsf standard component ??

      here a example tag file :

      <%@tag body-content="empty" description=""%>
      <%@attribute name="person"
       deferredValue="true"
       deferredValueType="fr.gpsa.orias.domainmodel.party.PhysicalPerson"
       required="true"%>
      
      <%@taglib uri="http://richfaces.org/rich" prefix="rich"%>
      <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      
      <rich:calendar popup="true" style="height: 20" verticalOffset="-10"
       mode="client" value="#{person.birth.birthDate}"/>
      
      


      and caller in jsp :

      <oi:physicalPersonPanelGroup person="#{accountController.intermediary.person}" />
      


      the error returned is :

      javax.faces.el.PropertyNotFoundException: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'person' resolved to null
      


      Why ??
      For example if a replace in my tag file , the person param in calendar by a "managed bean" directly , it's works.

      It's very a constraint for us and use your library.

      Thansk for your reply