5 Replies Latest reply on Mar 8, 2007 6:51 AM by Carsten Hoehne

    s:selectDate not properly rendered inside a rich:panel

    Ricardo Memoria Novice

      Hi,

      I've posted this question in the SEAM forum... it seens to be a Rich faces bug...

      I've included richFaces 3 in my not so old app using SEAM 1.2patch1.

      I have a page with the following code

      Code:

      <rich:panel>
      ..
      ..
       <h:inputText id="dtini" value="" required="true">
       <s:convertDateTime pattern="dd/MM/yyyy"/>
       </h:inputText>
       <s:selectDate for="dtini">
       <h:graphicImage url="../resources/dtpick.gif" style="margin-left:5px"/>
       </s:selectDate>
      ..
      ..
      </rich:panel>



      But the content inside the s:selectDate is not rendered. If I remove the rich:panel tag it is rendered correctly.

      bellow is a piece of the HTML rendered (where the reference to dtpick.gif should be inside the span tag but it's empty).

      Code:
      //--></script><span onclick="__selectDate('main:dtend', 'main:dtend');"></span>



      I may remove the rich:panel tags but the page looks pretty better with them :)

      Any tip?

      Best,
      Ricardo