1 Reply Latest reply on Mar 9, 2007 2:27 AM by isabelle.mathieu

    <s:selectDate> in Portlet for="startDate" object is not an i

    isabelle.mathieu

      Trying to use modify the registery portle example by adding
      <h:inputText id="startDate"
      value="{insurabilityRequest.startDate}" style="width:100">
      <s:convertDateTime pattern="MM/dd/yyyy"/>
      </h:inputText>
      <s:selectDate for="startDate">
      <h:graphicImage url="./img/dtpick.gif" />
      </s:selectDate>

      <h:message for="startDate" />
      in a xhtml.
      I got :

      2007-03-08 11:13:08,898 ERROR [org.jboss.portal.portlet.container.be_cin_mycarenet_portlet_FixedMyFacesGenericPortlet] The portlet threw an exception
      com.sun.facelets.tag.TagAttributeException: /insurability.xhtml @36,51 for="startDate" object is not an instance of declaring class
      at com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:53)

      2007-03-08 11:13:09,740 ERROR [org.jboss.portal.core.command.ControllerCommand] Rendering portlet window default.default.Assurabilité triggered the following error :
      com.sun.facelets.tag.TagAttributeException: /insurability.xhtml @36,51 for="startDate" object is not an instance of declaring class
      at com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:53)
      ================================================
      Could somebody help me! Thanks a lot isabelle