1 Reply Latest reply on Apr 11, 2007 3:01 PM by Joseph Hu

    selectDate with no textfield

    James Hays Novice

      I have a situation where I would like to have a selectDate component, but not a textfield to manually enter a date. I've tried a few approaches and non have had the desired result. The main issue is that without a textfield, this component appears to not know where to place itself and just places itself in the upper left corner.

      My initial thought was that I would have a hidden field that is updated by the selectDate component. When that hidden field fires an onchange, a4j's support would fire off updating my model. It would then, reRender my <h:outputText field showing the appropriate date.

      Any other suggestions?